{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"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":"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":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"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":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"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":"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":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"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":"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":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X31","name":"Test-only surface in a production module","shortDescription":{"text":"Test-only surface in a production module"},"helpUri":"https://codehealth.canine.dev/dimensions/X31"},{"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":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"retrace::gui::panels::show_panels (cyclomatic 117): retrace::gui::panels::show_panels has cyclomatic complexity 117 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/panels.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"918f6cf7d4746e9d0515a1b9d9f75b310b09af9b600835c9c84e76f033542399"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::export::export (cyclomatic 105): retrace::export::export has cyclomatic complexity 105 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/export.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"b281ddcab2b1563b02f471b2e63059fca3fcbb067fb84b062f91b8360685c482"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::ingest::scan::scan_input_with_details_cancellable (cyclomatic 103): retrace::ingest::scan::scan_input_with_details_cancellable has cyclomatic complexity 103 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/scan.rs"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9c8d68e451b9c4b1769e658511d19531d936c52d1d1d09bc37ba3e1c0f0a40"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::ingest::emit::action_event (cyclomatic 102): retrace::ingest::emit::action_event has cyclomatic complexity 102 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/emit.rs"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edcf8aae205b786af03eb7c7487463eca3c20788c3483f074db1bc32a2efc81"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::gui::canvas::show_canvas (cyclomatic 96): retrace::gui::canvas::show_canvas has cyclomatic complexity 96 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/canvas.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6d7a04aeecb0fd57bf3509eb575a717ddde200c19a61b2c91f48c217fce06e"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::gui::detail_ui::show_cp_walker (cyclomatic 89): retrace::gui::detail_ui::show_cp_walker has cyclomatic complexity 89 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ed0b78249ebe0d7d34d01a57bd0858f17547c807ebe320377558620cb5e68e"}},{"ruleId":"D1","level":"warning","message":{"text":"starlark::values::types::string::methods::string_methods (cyclomatic 83): starlark::values::types::string::methods::string_methods has cyclomatic complexity 83 (threshold 15). Most of this is not in the body itself: 1 of the 83 points is its own statement and the rest belongs to 28 function items inside it that branch (split, rsplit, splitlines, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/string/methods.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"53de42cc033450c365b2430377a80e6d0329c5eb37a278911fac975614c49532"}},{"ruleId":"D1","level":"warning","message":{"text":"FirMetadataSanitizerStage.cleanupFirMetadataSources (cyclomatic 80): FirMetadataSanitizerStage.cleanupFirMetadataSources has cyclomatic complexity 80 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"057ad047561ff0b5a8c36bc00324f23c6e401fb43d1fb0a86d42f0c6d3599620"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildHistorySidebar.BuildHistorySidebar (cyclomatic 79): BuildHistorySidebar.BuildHistorySidebar has cyclomatic complexity 79 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 52 belong to 11 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/BuildHistorySidebar.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0cf283daabbeee51c008e8ee5bd619bfae00f9228551ce17139ccbeb1f354b"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::main (cyclomatic 75): retrace::main has cyclomatic complexity 75 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/main.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32a98c543a6068f127ea2337a7e0969cf57a719a6e990268c02b29d0972f168"}},{"ruleId":"D1","level":"warning","message":{"text":"EventLogProvider.EventLogProvider (cyclomatic 74): EventLogProvider.EventLogProvider has cyclomatic complexity 74 (threshold 15). Most of this is not in the body itself: 1 of the 74 points is its own statement and the rest belongs to 15 function literals inside it that branch (lines 385, 600, 724, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/EventLogProvider.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25843da09dfcb135cb054acc97bf0e6898f76cee9989cdeebd128e64a18b9bc"}},{"ruleId":"D1","level":"warning","message":{"text":"dist_lto_planner_gnu.main (cyclomatic 68): dist_lto_planner_gnu.main has cyclomatic complexity 68 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/cxx/dist_lto/tools/dist_lto_planner_gnu.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f3cc0b1323795c17b45322611f7fb7000be3acd5fe412fadff81de7739583e"}},{"ruleId":"D1","level":"warning","message":{"text":"InvocationRecorder::handle_snapshot (cyclomatic 58): InvocationRecorder::handle_snapshot has cyclomatic complexity 58 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/recorder.rs"},"region":{"startLine":2206}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d338d003525afca4179a7928110108ef8cb125f3e866355cca64faacfd17b2b"}},{"ruleId":"D1","level":"warning","message":{"text":"Game::ensure_safe (cyclomatic 55): Game::ensure_safe has cyclomatic complexity 55 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/minesweeper.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a7572ed4dd33e55e23742dd1cd19fba3e5270d1b89b0fbb1bc4f13ccd66f49"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_event_observer::display::display_event (cyclomatic 54): buck2_event_observer::display::display_event has cyclomatic complexity 54 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_observer/src/display.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6c8a500bb83af0a062d54aa1191d5d1a679e013df99c325929508e410d8353"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionResultsTab.ActionsView (cyclomatic 51): ActionResultsTab.ActionsView has cyclomatic complexity 51 (threshold 15). Most of this is not in the body itself: 13 of the 51 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 221, a function literal at line 212, a function literal at line 139, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ed232cd890ba408265f30eea9a5b35877281f8449ed1b7fa359f4369a4db82"}},{"ruleId":"D1","level":"warning","message":{"text":"ChromeTraceWriter::handle_event (cyclomatic 50): ChromeTraceWriter::handle_event has cyclomatic complexity 50 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_log_common/src/chrome_trace.rs"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe47e6ec23fe5f1f3cb831047b228e834a83558a4d5d357f18914e6872b7db42"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer::next (cyclomatic 50): Lexer::next has cyclomatic complexity 50 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Token::fmt (cyclomatic 85) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"f633866949cb145626970e84f442f69417ada6df9e4c0f1f30276b78ed1e9778"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::detail::stage_lines (cyclomatic 50): retrace::detail::stage_lines has cyclomatic complexity 50 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/detail.rs"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"723e38bbfd58b549caf4963dc8d2f5430a4ca210619a0a03a159731f91257523"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::gui::command_ui::chart (cyclomatic 49): retrace::gui::command_ui::chart has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/command_ui.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f11be54ce5302826bae6f797d52ea3c8208d1ba40d6d9b45aef36f74c581ed4"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::ingest::emit::write_full_graph (cyclomatic 49): retrace::ingest::emit::write_full_graph has cyclomatic complexity 49 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/emit.rs"},"region":{"startLine":3262}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadf7b6a23c62d56dda5a361d86be3c0fbd381cf5b03343620d66683acf1c513"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::gui::widgets::act_table (cyclomatic 48): retrace::gui::widgets::act_table has cyclomatic complexity 48 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/widgets.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"accb464c60a18fce19b6926f3c190e58e12fd23806bfa3415f819c944f0cf5c0"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::ingest::emit::emit_with_options_and_execution (cyclomatic 47): retrace::ingest::emit::emit_with_options_and_execution has cyclomatic complexity 47 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/emit.rs"},"region":{"startLine":2457}}}],"partialFingerprints":{"codehealthFindingId/v1":"551157a817bf034c2fc62112e6ef4ad7edaa01a3258ebfe0c611fa361a0190a7"}},{"ruleId":"D1","level":"warning","message":{"text":"IrSpanned::write_bc (cyclomatic 46): IrSpanned::write_bc has cyclomatic complexity 46 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/bc/compiler/expr.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95b798c41a9960803c397df9310987c062070f623dcaf6292bb826933e6f378"}},{"ruleId":"D1","level":"warning","message":{"text":"Collector::event (cyclomatic 46): Collector::event has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/profile.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db1b472de8669b3b2843180ebf206cb55b97e8b10f8c2bb55b9357a7a76db5c"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::analyses::load_extras_impl (cyclomatic 46): retrace::analyses::load_extras_impl has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/analyses.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb40ab26a926cac9dea62ed5dcc8e4511bb029c535cc818c110a86abee650f5"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::sim::standard_whatifs_cancellable (cyclomatic 46): retrace::sim::standard_whatifs_cancellable has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/sim.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fbbaaa6d6da7ae90b971f5a610ba832f414cdce67a70734194e2a9ba7cb9ef"}},{"ruleId":"D1","level":"warning","message":{"text":"games::bin::sokoban_gen::generate_room (cyclomatic 45): games::bin::sokoban_gen::generate_room has cyclomatic complexity 45 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/bin/sokoban_gen.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"859c483093da41b6a66381c0e042074407641293f748742e007a8ca6bb89b5d6"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::detail::popup_rows (cyclomatic 45): retrace::detail::popup_rows has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/detail.rs"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ecd4d8546b7aa49a66092adc232c4bdf2fff9bd61432d596c9a2b012b4d566"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaSourceInfoKt.scanJavaTextual (cyclomatic 45): JavaSourceInfoKt.scanJavaTextual has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/JavaSourceInfo.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec689a84585318f83b1afdcb39ca06a4c87c307dc3ba7d1651c04bc0ea577c4f"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_action_impl::context::run::analysis_actions_methods_run::run (cyclomatic 44): buck2_action_impl::context::run::analysis_actions_methods_run::run has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/context/run.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"58778f9dd9bea6b67c8714530dbd41f599509fecdfcd7911c83d170ba16b4b31"}},{"ruleId":"D1","level":"warning","message":{"text":"Compiler::expr (cyclomatic 44): Compiler::expr has cyclomatic complexity 44 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/compiler/expr.rs"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"10518137af9a83db35f4a885d14cc58f393d49654e56745776868b2773a20216"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::gui::update_ready (cyclomatic 44): retrace::gui::update_ready has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"0052fa4d5fd0aece51c7e9a9d06d54f1a50967b69f6b92740b4fa29e5d097d42"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::parse::parse_opts_with_threads_cancellable (cyclomatic 44): retrace::parse::parse_opts_with_threads_cancellable has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/parse.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef195cb8468a421bb7b0784c73dfe2ac7c7608781ada23c873bcba9e8d3fb86"}},{"ruleId":"D1","level":"warning","message":{"text":"CrashAnalyzer.extractSignalCode (cyclomatic 44): CrashAnalyzer.extractSignalCode has cyclomatic complexity 44 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/testrunner/CrashAnalyzer.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0805a488f9f5947c41bcfcaa2e17d9ee34652a2d5dc0b4de80fb03f1078455"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandKind::exec_no_daemon (cyclomatic 43): CommandKind::exec_no_daemon has cyclomatic complexity 43 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2/src/lib.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2dd4748f6720fe2429d8613a0ebff4faa7bcf7230eaeb5b487320e20507644b"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_wrapper_common::kill::stop_and_kill_tree (cyclomatic 43): buck2_wrapper_common::kill::stop_and_kill_tree has cyclomatic complexity 43 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_wrapper_common/src/kill.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb6ae1c2ecb6ba6ebb0b91d1d0f1b06572c55ab2e45e0820e190113e453b6fd"}},{"ruleId":"D1","level":"warning","message":{"text":"AstModule::get_auto_complete_type::walk_and_find_completion_type (cyclomatic 42): AstModule::get_auto_complete_type::walk_and_find_completion_type has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/inspect.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d48b0059014b950976eca461d810164936e9a2a1ed1166a92c8ff1e86a3adeb"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::gui::menu_bar (cyclomatic 42): retrace::gui::menu_bar has cyclomatic complexity 42 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":2455}}}],"partialFingerprints":{"codehealthFindingId/v1":"528a7688eb230ac00e6eee8bf5282a1d40c5c61943ff9277c13342e533345d37"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::parse::repair_optional_args (cyclomatic 42): retrace::parse::repair_optional_args has cyclomatic complexity 42 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/parse.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"3131cf08d52264fdaf01f4c6a7bbd517e0b6b73fefdac4cd31055f2f9ef6c74c"}},{"ruleId":"D1","level":"warning","message":{"text":"Expr::render (cyclomatic 42): Expr::render has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/fuzz_starlark.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9b0a678d6ff6d31fbaa571fdd44f2e1b0a7f72e8546ac6b5f45b04022efa78"}},{"ruleId":"D1","level":"warning","message":{"text":"PostEnterCanonicalizer.getCanonicalType (cyclomatic 42): PostEnterCanonicalizer.getCanonicalType has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/PostEnterCanonicalizer.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"29beff942665a22f1481611d857506aa4ff4550d787204971c5a5b9db79dadec"}},{"ruleId":"D1","level":"warning","message":{"text":"LoadTreemap.LoadTreemap (cyclomatic 41): LoadTreemap.LoadTreemap has cyclomatic complexity 41 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 21 belong to 9 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/LoadTreemap.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"f843191c2712427d435fa63863e36e62d5bf1730c7d2a230b25e11ea761d3118"}},{"ruleId":"D1","level":"warning","message":{"text":"Game::solve_constraints (cyclomatic 40): Game::solve_constraints has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/minesweeper.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"99206bdcfb781b09b5c97d0ac20f6cba2581455abdf70abbff6cd255d8dd3b1b"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionUi::show (cyclomatic 40): ExecutionUi::show has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/execution_ui.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfa8632727f6b913b6e4df2da706e3d6135c060d399252a5dfa225b7720aeaf"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::graph::load_graph_with_workers (cyclomatic 40): retrace::graph::load_graph_with_workers has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/graph.rs"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9941997f817c41d7971f2ec17a7b58c62b9a17689a1c5beed584f282765132"}},{"ruleId":"D1","level":"warning","message":{"text":"rustc_action.main (cyclomatic 40): rustc_action.main has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/rust/tools/rustc_action.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"272edcbaa057db6a5beb183834c4ae3e6df3b61651b8882c2055e88e6a8d8490"}},{"ruleId":"D1","level":"warning","message":{"text":"Activity::read_spans (cyclomatic 39): Activity::read_spans has cyclomatic complexity 39 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/activity.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc32aba97b2623f5a8ffcf186efac5e45ec7be389d20dd680fd1ecb5aa951a2e"}},{"ruleId":"D1","level":"warning","message":{"text":"StatefulSuperConsoleImpl::handle_console_interaction (cyclomatic 36): StatefulSuperConsoleImpl::handle_console_interaction has cyclomatic complexity 36 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole.rs"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"296f133760870d5ab5e11db5907823abc5d1b93aece49e20a526fce76ebe0c3f"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::gui::detail_ui::show_detail_ui (cyclomatic 36): retrace::gui::detail_ui::show_detail_ui has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"122e021251f9060f17046b4d54858d9f45289719403a5c27c7549f70c09f74fc"}},{"ruleId":"D1","level":"warning","message":{"text":"ProgressHeader::draw_unchecked (cyclomatic 35): ProgressHeader::draw_unchecked has cyclomatic complexity 35 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole/header.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8c169d98d62156712fec55e785c3443c5db558c2b493927d78695c998d2160"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::analyses::overview_rows (cyclomatic 35): retrace::analyses::overview_rows has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/analyses.rs"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"5009202f99d1fbd746ecbef8194895df47da6aa9d21070d911fe886371224646"}},{"ruleId":"D1","level":"warning","message":{"text":"D8ExecutableMain.run (cyclomatic 35): D8ExecutableMain.run has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/dex/D8ExecutableMain.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcc1d33be07cda6a5c2a50544f635afbd6fc11f83b752c7fe062fd9053dfc68"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphImpl2.GraphImpl2 (cyclomatic 35): GraphImpl2.GraphImpl2 has cyclomatic complexity 35 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/output_format_js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7285c602b0e5c4b9b109b17064d0852d7ae93a500154ec77079ad553a49a5cb9"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteEventSink::should_send_event (cyclomatic 34): RemoteEventSink::should_send_event has cyclomatic complexity 34 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_events/src/sink/scribe.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7867ec74ec1248fef89f7dd6dfd2fb55a9ea6d6d888b98918e74c79137851832"}},{"ruleId":"D1","level":"warning","message":{"text":"Game::draw_unchecked (cyclomatic 34): Game::draw_unchecked has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/breakout.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"56dd67c6b49dee4a0c62a2bcdb37e65c13be3b3fde48e5f101c4b439611fc415"}},{"ruleId":"D1","level":"warning","message":{"text":"CriticalPathEntryDisplay::from_entry (cyclomatic 33): CriticalPathEntryDisplay::from_entry has cyclomatic complexity 33 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_observer/src/display.rs"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe3e3fb0f7ba24c2b506e5be9907990e8d9ded17fed55dcc71d7bcf5909b6fb"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_event_observer::display::display_executor_stage (cyclomatic 33): buck2_event_observer::display::display_executor_stage has cyclomatic complexity 33 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_observer/src/display.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"c142a17882f823f551584bf1383f68d0e2e7896b9a9576a9ca1016260f2594f0"}},{"ruleId":"D1","level":"warning","message":{"text":"HybridExecutor::exec_cmd (cyclomatic 33): HybridExecutor::exec_cmd has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/hybrid.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a51352d8374532827b1e576bd0152d64e36e013c77e4d2298ddfc5a0cbc018"}},{"ruleId":"D1","level":"warning","message":{"text":"AttrType::coerce_item (cyclomatic 33): AttrType::coerce_item has cyclomatic complexity 33 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/anon_target_attr_coerce.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a020331ead68257cbb628d259babd5421a589b81859a2347f3ea5664d72152e1"}},{"ruleId":"D1","level":"warning","message":{"text":"fat_jar.main (cyclomatic 33): fat_jar.main has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/java/tools/fat_jar.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c18d599d6959038eab5ad66b9bc4d905e352eb2153108361b6a3cecdd973ee3"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphImpl2.GraphImpl2 (cyclomatic 33): GraphImpl2.GraphImpl2 has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"29658a284c548803772d861919614802524900fd92c1efeb5f47ccd3f56bc3b9"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_interpreter_for_build::rule::validate_execution_groups (cyclomatic 32): buck2_interpreter_for_build::rule::validate_execution_groups has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/rule.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"907f0d13cb7a45d3bd84f37502cca74db0cb16599cccd79adce634585086a956"}},{"ruleId":"D1","level":"warning","message":{"text":"Game::update (cyclomatic 32): Game::update has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/breakout.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d5426e9847ccb10ed88e783835864c47d337f53871e930357eb2d70a2d66a5"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::graph::scan_object (cyclomatic 31): retrace::graph::scan_object has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/graph.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"25669f6036d2863f216cc1d82a566a3122279e2e989bd1e6f277ce6cf8f81917"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::ingest::scan::validate_graph_identity (cyclomatic 31): retrace::ingest::scan::validate_graph_identity has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: retrace::ingest::scan::executor_stage_name (cyclomatic 35) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/scan.rs"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6663a13ee3c375ccba8c165de05e788e4200e8db6387988ad56990c946f5ea"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::parse::parse_chunk (cyclomatic 31): retrace::parse::parse_chunk has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/parse.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4d77e9d743e362fca94a1bdfd0c14e3037078c44b427a926ece3013b65d6ae"}},{"ruleId":"D1","level":"warning","message":{"text":"MissingConstantDeclarationGenerationExtension.getCallableNamesForClass (cyclomatic 31): MissingConstantDeclarationGenerationExtension.getCallableNamesForClass has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6d89da688ff9007d5efdd656a010c25c96c7a558a768c53200b8e2b2a6c4ce"}},{"ruleId":"D1","level":"warning","message":{"text":"ConsoleInteractionStream::interaction (cyclomatic 30): ConsoleInteractionStream::interaction has cyclomatic complexity 30 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/console_interaction_stream.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f718fbf8e4bce316f129d74cd6d9c167154adb44360080ad6d09ae3d71ba41e"}},{"ruleId":"D1","level":"warning","message":{"text":"Game::input (cyclomatic 30): Game::input has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/minesweeper.rs"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebc14b6d6ec946c3fd0ef126fbfba5e0c8ca4c15b609587ef0b0de1ff01997c"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::dag::build_full_with_cancel (cyclomatic 30): retrace::dag::build_full_with_cancel has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/dag.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e730e9458c7ac30ba88a6012b6ebadb6102117bd24e506727e6c592b86e7cf0"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_error::starlark_error::from_starlark_impl (cyclomatic 29): buck2_error::starlark_error::from_starlark_impl has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_error/src/starlark_error.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee5952c3cece52e686716bfeb3ccef88378b2579ea3a01194e30815a158a5b0"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteExecutionClientImpl::new (cyclomatic 29): RemoteExecutionClientImpl::new has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2643b4fe86c540c8b1258b0e70102429d7f209884ab58c93aafcc62772fa8dc"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_execute_impl::materializers::deferred::clean_stale::create_clean_fut (cyclomatic 29): buck2_execute_impl::materializers::deferred::clean_stale::create_clean_fut has cyclomatic complexity 29 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9227a7c18d4fa696e77ec28dc16efb81873165809831edb99a39da670a2bca4"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfiguredAttr::traverse (cyclomatic 29): ConfiguredAttr::traverse has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/configured_attr.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b582b40177f920e6a09f57a5c7cfc0320f8b400c4a22fed8444a7e0003fd7c1"}},{"ruleId":"D1","level":"warning","message":{"text":"starlark::values::types::string::interpolation::percent (cyclomatic 29): starlark::values::types::string::interpolation::percent has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/string/interpolation.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40db7b767c2239e89a37b658becef88874947d2863f058e870b6bd603c3ac32"}},{"ruleId":"D1","level":"warning","message":{"text":"DefParams::unpack (cyclomatic 29): DefParams::unpack has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/def.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"501c57e9cf6f29f8c6c14e24bdd35ff571fc2098f29853094ff9560c4c47aaff"}},{"ruleId":"D1","level":"warning","message":{"text":"Activity::explain (cyclomatic 29): Activity::explain has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/activity.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"909ccf030f1ac423773f178f0a834b49a81bcb587146823023cbf48f1b703b0e"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::findings::serialization_windows (cyclomatic 29): retrace::findings::serialization_windows has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/findings.rs"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1a5f136f49f597733b81cbf7dc35d1b98e549014dddcbc27fbcb660261cdf4"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_analysis::attrs::resolve::configured_attr::configured_attr_to_value (cyclomatic 28): buck2_analysis::attrs::resolve::configured_attr::configured_attr_to_value has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_analysis/src/attrs/resolve/configured_attr.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a217ecb273778a952d9a60d0bbe54c5293808ee797a69a7b772307066a1dbb"}},{"ruleId":"D1","level":"warning","message":{"text":"SerializeValue::serialize (cyclomatic 28): SerializeValue::serialize has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/impls/json.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"659490f1833b809559686ed7956e6ed22be737c83c4d15416accca50216a6313"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_client_ctx::subscribers::superconsole::io::do_render (cyclomatic 28): buck2_client_ctx::subscribers::superconsole::io::do_render has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole/io.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db80f88bdcd53f15b77d4cd36b19e6e802dabe0be12f82970d617d0036965b5"}},{"ruleId":"D1","level":"warning","message":{"text":"Cleaner::run_inner (cyclomatic 28): Cleaner::run_inner has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/v2/clean_stale.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d7cdc7f91b4906057858215a207da01394686d960fd91fed0e83a604c80f31"}},{"ruleId":"D1","level":"warning","message":{"text":"Expr::fmt (cyclomatic 28): Expr::fmt has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/ast.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27a22eb31b565b51ce7eb163569c7bc310e542da41901094a992f7c934cf4d4"}},{"ruleId":"D1","level":"warning","message":{"text":"games::games::run_game (cyclomatic 28): games::games::run_game has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d1b9718a76b011c5b3cd0ddaf1c795eb47167b4acb126c53f3c329bc9f5260"}},{"ruleId":"D1","level":"warning","message":{"text":"starlark::values::types::int::globals::register_int::int (cyclomatic 28): starlark::values::types::int::globals::register_int::int has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/int/globals.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b0e11768deff3b8ddc2e667eaf7331a09710edbb9ca02355b142e5594a89fb"}},{"ruleId":"D1","level":"warning","message":{"text":"starlark_derive::module::parse::fun::parse_fun (cyclomatic 28): starlark_derive::module::parse::fun::parse_fun has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/module/parse/fun.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb6073e711cfe7f9282e72e3354967e1374c260d3f929c3f5f619be9fc7be1d"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::detail::cache_diagnostic_lines (cyclomatic 28): retrace::detail::cache_diagnostic_lines has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/detail.rs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"10593f1491f4c6cbb03c12d540a5260871e35ab76397f45b78f9c6b6c6fca1fc"}},{"ruleId":"D1","level":"warning","message":{"text":"StubJar.writeTo (cyclomatic 28): StubJar.writeTo has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/StubJar.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c19b20f7dc3e528fc7cf6de44ee882ecb46438ea1acb301afd8cc4f40254385"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_common::argv::parse_config_flags (cyclomatic 27): buck2_common::argv::parse_config_flags has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/argv.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"592d4e0d39c98bb665c0b2267201d0a3d1a313fad47934ed85b32fe9b5a29586"}},{"ruleId":"D1","level":"warning","message":{"text":"SettingsReport::render (cyclomatic 27): SettingsReport::render has cyclomatic complexity 27 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_settings/src/report.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b69b8d7a4e5e36a2b70de90f6d1513d1cb5ca6ccb91a2fdf805322b1b8bc0ce"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::ingest::run_with_cache (cyclomatic 27): retrace::ingest::run_with_cache has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d087dcf3f04b6cd35a1b754c3b1b60be5cf99bc5654ad934429e4f6da52403"}},{"ruleId":"D1","level":"warning","message":{"text":"BuckTarget.Normalise (cyclomatic 27): BuckTarget.Normalise has cyclomatic complexity 27 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/go/tools/gobuckify/lib/buck.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca1ebea2bd694210babb111dad8e18bb830bbe9e7ed8cc44ed926e647a7ee5a"}},{"ruleId":"D1","level":"warning","message":{"text":"FileChanges.FileChangesSection (cyclomatic 27): FileChanges.FileChangesSection has cyclomatic complexity 27 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/FileChanges.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdf7e92c39b556f3dd968a5d7a5b2bc57325dde1870099b26271eae57742fce"}},{"ruleId":"D1","level":"warning","message":{"text":"InvocationBar.InvocationBar (cyclomatic 27): InvocationBar.InvocationBar has cyclomatic complexity 27 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 12 belong to 8 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/InvocationBar.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa09909d2d70b27fcc8d2cf9f2303a9d5e13e0c6ccb4b744ad388235bd93f51"}},{"ruleId":"D1","level":"warning","message":{"text":"EscapeState::feed (cyclomatic 26): EscapeState::feed has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f0ee0c2bb3870183c67d87e9dcca7a0161572ab37ea563792a5015f1c8ff4e"}},{"ruleId":"D1","level":"warning","message":{"text":"CleanStaleArtifactsCommand::scan_and_create_clean_fut (cyclomatic 26): CleanStaleArtifactsCommand::scan_and_create_clean_fut has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bf912bdd82200fcaacdedc0bba93251f52ae871af3d2a41dd26e676160433a"}},{"ruleId":"D1","level":"warning","message":{"text":"ChromeTraceFirstPass::handle_event (cyclomatic 26): ChromeTraceFirstPass::handle_event has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_log_common/src/chrome_trace.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59ef733d4a90ce1c96d890badfaa7d9a910cbf1387ae6550d7ae479db3448a9"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandExecutorFactory::get_command_executor (cyclomatic 26): CommandExecutorFactory::get_command_executor has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/common.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"811608b15c9086d91e85b3ffa4756d4c285c9f93ae4dd9b96f290edf92532691"}},{"ruleId":"D1","level":"warning","message":{"text":"Game::tick (cyclomatic 26): Game::tick has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Piece::grid (cyclomatic 28) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/blocks.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"f364bac2770bd7382c801fd2a503ea52cbf83f99209f58b7aa450f72c6646403"}},{"ruleId":"D1","level":"warning","message":{"text":"TypingContext::expression_type (cyclomatic 26): TypingContext::expression_type has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/ctx.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e414b717b6946013c0c6ff5234118aa1101cf99238c378ce78216f0551562b3"}},{"ruleId":"D1","level":"warning","message":{"text":"starlark_syntax::syntax::validate::validate_module (cyclomatic 26): starlark_syntax::syntax::validate::validate_module has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 3 function items inside it that branch (f, validate_params, expr). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/validate.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4056495f3868c19723ef6d8da2ab5ca24f873061e46ad7db26eaa5dda9f49d28"}},{"ruleId":"D1","level":"warning","message":{"text":"Quality::graph_limitations (cyclomatic 26): Quality::graph_limitations has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/quality.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed4ef7b4ec00173493b75bc643d07446dd638925eba75b45485e0b9db42790a"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::gui::command_ui::contents (cyclomatic 26): retrace::gui::command_ui::contents has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/command_ui.rs"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7f14039a58213f1713e2caa06b447344100c16cb19cde6bf94137f2f03d83e"}},{"ruleId":"D1","level":"warning","message":{"text":"Stmt::render (cyclomatic 26): Stmt::render has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/fuzz_starlark.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8a2e20121dad2768a52edcf9d240beac84b885fd6b47b3fa9ada268f4ca31f"}},{"ruleId":"D1","level":"warning","message":{"text":"K2JvmAbiFirAnalysisHandlerExtension.findClassIdForImportWithProperty (cyclomatic 26): K2JvmAbiFirAnalysisHandlerExtension.findClassIdForImportWithProperty has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3af9d52161ecad48da006e2e5cb75b0e8fde9f47b269081867d353aaa18eff"}},{"ruleId":"D1","level":"warning","message":{"text":"swift_exec.main (cyclomatic 26): swift_exec.main has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/swift_exec.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"758a511e0ba66331153ae7057c892a1bf4df58e9f908832c59ee8cfc96672f6e"}},{"ruleId":"D1","level":"warning","message":{"text":"extract_link_action.process_link_args (cyclomatic 26): extract_link_action.process_link_args has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/rust/tools/extract_link_action.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"27058656cfeccdf862ec3811dbdf9aca6d2345a2a460a28eb16d7d0aac6ef7de"}},{"ruleId":"D1","level":"warning","message":{"text":"streaming-decode-worker.processLargeLog (cyclomatic 26): streaming-decode-worker.processLargeLog has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to 6 function items inside it that branch (processMessage, flushChunk, flushSummaries, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ec8bbbcbf402d41513c36fd5ae22a933c7a8d3c4bc3e271e3886cbce768e56"}},{"ruleId":"D1","level":"warning","message":{"text":"CliArgType::parse_clap (cyclomatic 25): CliArgType::parse_clap has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aec69ebd742ceb681b77a485513e90791a22543642240aa6e6883bdbf3c4919"}},{"ruleId":"D1","level":"warning","message":{"text":"BindingsCollect::visit (cyclomatic 25): BindingsCollect::visit has cyclomatic complexity 25 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/bindings.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"a720b777c853c8b0d8d5ff982c826cef4665eabf11e8f593bcb223f8b67aa3cb"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionUi::fetch_ui (cyclomatic 25): ExecutionUi::fetch_ui has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/execution_ui.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fda6c5ba2dd561ff86276e804fe1b1a9dc7725c0df486c15b6574580b16a5cc"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::dag::cp_chain (cyclomatic 25): retrace::dag::cp_chain has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/dag.rs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"895a8075c676cf9dd529ee6ef8f788ca586f912ec721c112ce6dbb488dbdbfdb"}},{"ruleId":"D1","level":"warning","message":{"text":"StructuralListArgSorter::visit_expr (cyclomatic 25): StructuralListArgSorter::visit_expr has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/autofixes/sort_list_args/structural.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"034747f89fdddb9e281a9b18829cf9cffb2956112f135b9c0c92b966f3ff2b11"}},{"ruleId":"D1","level":"warning","message":{"text":"KotlinClasspathDeclarations.readMetadataD2 (cyclomatic 25): KotlinClasspathDeclarations.readMetadataD2 has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/KotlinClasspathDeclarations.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9977ce4c91a92db691d6c580df1f8d9730af0bde4890675506d806098ffb4bb6"}},{"ruleId":"D1","level":"warning","message":{"text":"critical-path.parseEntry (cyclomatic 25): critical-path.parseEntry has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/critical-path.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f411f687297707686752be096ae651196f62d5273c31e19b20d40f79e64607d0"}},{"ruleId":"D1","level":"warning","message":{"text":"RunAction::execute (cyclomatic 24): RunAction::execute has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run.rs"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73c8c3abe5ea89b453c78cd79e1da68eca348408fdbf44d8430803653de9ce4"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildReportCollector::convert (cyclomatic 24): BuildReportCollector::convert has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/build/build_report.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be7bc28c3b2e6d155ec3fee847b45c5e0cdd66b26d90297ce27c4fac91a8be4"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalExecutor::exec_request (cyclomatic 24): LocalExecutor::exec_request has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/local.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f3095a749f5bf374bb2db135fd1b6ed331926188a469d23dc55a4ca3e3da58"}},{"ruleId":"D1","level":"warning","message":{"text":"games::console::control_reader (cyclomatic 24): games::console::control_reader has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/console.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b786c4e7ba65afa26a32b3d7e7fd08cd88ee8013f764995f2ea9080496bb7c"}},{"ruleId":"D1","level":"warning","message":{"text":"starlark_derive::module::parse::fun::parse_arg (cyclomatic 24): starlark_derive::module::parse::fun::parse_arg has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/module/parse/fun.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"02be4dacbfa1c3cd3df30c523ae0d0c184b8a728f08459a69ebe14bce02d609e"}},{"ruleId":"D1","level":"warning","message":{"text":"PrivateMetadataStripper.transform (cyclomatic 24): PrivateMetadataStripper.transform has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/BytecodeTransformer.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98b91cb2bc4dfe76f50ad0a2561a060c1b4ac305f563bf86959dc9ae1d78735"}},{"ruleId":"D1","level":"warning","message":{"text":"FirSanitizingVisitor.hasErrorExpression (cyclomatic 24): FirSanitizingVisitor.hasErrorExpression has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbebafc6a76d7c76ba1dc2d6c08b283a3712ea869cd8b671f20c06d07e2e2192"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiDexExecutableMain.run (cyclomatic 24): MultiDexExecutableMain.run has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/dex/MultiDexExecutableMain.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bed02b1a93bcb11176222e4615c1e0d5427c1d534cd186787291d5a3b4ce40"}},{"ruleId":"D1","level":"warning","message":{"text":"JUnitRunner.run (cyclomatic 24): JUnitRunner.run has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3109923bc15ffc932f45d752b287f1dfa95a14f4de3ca6bce5091181ba9c133"}},{"ruleId":"D1","level":"warning","message":{"text":"GenericTreemapView.GenericTreemapView (cyclomatic 24): GenericTreemapView.GenericTreemapView has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 271, 343, 178, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae8fd8dda890f8d3a543d24cb556b3d55d7bfc75c4cec07b2b992ab2c23cd15"}},{"ruleId":"D1","level":"warning","message":{"text":"decoder-worker.onmessage (cyclomatic 24): decoder-worker.onmessage has cyclomatic complexity 24 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 10 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a74c1f22dd853e1796f2f131cf3b297327337ecf2a4469a97db899db9e2684"}},{"ruleId":"D1","level":"warning","message":{"text":"StatefulSuperConsoleImpl::handle_games_control (cyclomatic 23): StatefulSuperConsoleImpl::handle_games_control has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole.rs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"a377e878449fecd66a758a817cfd1dcb8b0f3f2839595d3768663fc51acbc769"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_client_ctx::agent_detection::classify (cyclomatic 23): buck2_client_ctx::agent_detection::classify has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/agent_detection.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a18ea90953e385310ab4527ed5c599a851f5189d59158f704964bca8ac99cca"}},{"ruleId":"D1","level":"warning","message":{"text":"Uploader::upload (cyclomatic 23): Uploader::upload has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/uploader.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1eeb576a76fb0b54c2a0de9087e66f557e5b7ff48d9eeec6f5984a264d38e91"}},{"ruleId":"D1","level":"warning","message":{"text":"DiceExecutionOrder::execute_once (cyclomatic 23): DiceExecutionOrder::execute_once has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/fuzzy_dice/src/execution.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b572116273dcaf5b5c8bd957874de6535da4b3495dfafc54b5f4c03dad8ea25"}},{"ruleId":"D1","level":"warning","message":{"text":"games::bin::sokoban_gen::expand_box_lines (cyclomatic 23): games::bin::sokoban_gen::expand_box_lines has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/bin/sokoban_gen.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be5a03e5c2bf31b628fa27e1ad06e36669f70f1eb5349eaa88dcdc5fbff175a"}},{"ruleId":"D1","level":"warning","message":{"text":"IsSafeToInlineExpr::is_safe_to_inline_expr (cyclomatic 23): IsSafeToInlineExpr::is_safe_to_inline_expr has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/compiler/def_inline.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86fc40efd24035929b1fd79493402c9b871a615aa9d92a28da21d884e8e22f4"}},{"ruleId":"D1","level":"warning","message":{"text":"TypingContext::expression_bind_type (cyclomatic 23): TypingContext::expression_bind_type has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/ctx.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b13b2ccba663db73b67679a32e29c9e0fab2e9e77984ebd64bcab37b4b8f027"}},{"ruleId":"D1","level":"warning","message":{"text":"GlobalTypesBuilder::from_type_expr_impl (cyclomatic 23): GlobalTypesBuilder::from_type_expr_impl has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/fill_types_for_lint.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"21664ada39901af9d7582bf1f4ee86dbc9a37a9845c76a3f1c4db5b99a125093"}},{"ruleId":"D1","level":"warning","message":{"text":"TypingOracleCtx::expr_bin_op_ty_basic_lhs (cyclomatic 23): TypingOracleCtx::expr_bin_op_ty_basic_lhs has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: TypingOracleCtx::intersects_one_side (cyclomatic 25) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/oracle/ctx.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50caefc26805914c4baa3f9bee455cd7ea50165de5df0036e26b5dbcba10191"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::gui::command_ui::inspector (cyclomatic 23): retrace::gui::command_ui::inspector has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: retrace::gui::command_ui::label (cyclomatic 25) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/command_ui.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c2eb36fd9147546c82c483144f00ca26c4fed0e98a436b2e701d109fc84864"}},{"ruleId":"D1","level":"warning","message":{"text":"ValidationStage.validate (cyclomatic 23): ValidationStage.validate has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada6b145b4fc24ece9a79c7bfeb2182b797d16d4ad2676cb1b57839ccaf96a48"}},{"ruleId":"D1","level":"warning","message":{"text":"D8Utils.runD8Command (cyclomatic 23): D8Utils.runD8Command has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/dex/D8Utils.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5671f6cabd58688726e280e0bcb97349f8e2dd052a921b0f2e68ef42cc0d46"}},{"ruleId":"D1","level":"warning","message":{"text":"compile_kotlin.main (cyclomatic 23): compile_kotlin.main has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/kotlin/tools/compile_kotlin/compile_kotlin.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f60192ebc466f76f588499f07a2d7d5b20fb5a1c0706ee4279668c114ff3bc"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_action_impl::context::write::analysis_actions_methods_write (cyclomatic 22): buck2_action_impl::context::write::analysis_actions_methods_write has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 3 function items inside it that branch (write, write_json, write::count_write_to_file_macros). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/context/write.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"133124e6ab2800d7074f2fe4b792b5fc2b1d1d67949d1774b0ef8a2f8338fd22"}},{"ruleId":"D1","level":"warning","message":{"text":"AnonTargetAttr::resolve_single (cyclomatic 22): AnonTargetAttr::resolve_single has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/anon_target_attr_resolve.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"190292bc3b8e0e4ed8d612cf44d0af26c70e5bf279b1bf22b265be7beef4346e"}},{"ruleId":"D1","level":"warning","message":{"text":"BootstrapBuckdClient::connect (cyclomatic 22): BootstrapBuckdClient::connect has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/daemon/client/connect.rs"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2ee4024ac33505e8280cc0a602d7a5f75e8a5aa042625cf4aa778faf4b3da4"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_client_ctx::subscribers::classify_server_stderr::classify_server_stderr (cyclomatic 22): buck2_client_ctx::subscribers::classify_server_stderr::classify_server_stderr has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/classify_server_stderr.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac02b2c3a22e8defa5d9667f07ce5fc1586b9ad60566a774474d3da2d5587dd"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfiguredAttr::concat (cyclomatic 22): ConfiguredAttr::concat has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This is NOT this file\u0027s highest cyclomatic complexity: ConfiguredAttr::strong_hash_without_config (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/configured_attr.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ceb99cdc607cbf2de89b87fc6602f4dc8f1340ba625ae5d9a13961ea4b2e32"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_server::host_info::get_host_info (cyclomatic 22): buck2_server::host_info::get_host_info has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/host_info.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7c66e8f556fa7c4eb5a907dc7e1460696c852d3c3c31e571df1b960425f9e9"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_server_commands::debug_anon_targets::debug_anon_targets_command (cyclomatic 22): buck2_server_commands::debug_anon_targets::debug_anon_targets_command has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_commands/src/debug_anon_targets.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d9b63920950bf4f91c4f3074078f66d1a8c1a622d6147919e104c820a171dd"}},{"ruleId":"D1","level":"warning","message":{"text":"Game::cell_color (cyclomatic 22): Game::cell_color has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/life.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53f46626c6d1ebb4effe7ce91349f159ccd761db5d3cbe6b194f743e5336930"}},{"ruleId":"D1","level":"warning","message":{"text":"TypingOracleCtx::validate_args (cyclomatic 22): TypingOracleCtx::validate_args has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: TypingOracleCtx::intersects_one_side (cyclomatic 25) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/oracle/ctx.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"418bb860ef1750ac3de5e246f770809397b88131d57e3f18e7dc3606d16db249"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer::string (cyclomatic 22): Lexer::string has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Token::fmt (cyclomatic 85) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"9477ac8a5a074c9ca4063c063b66e9b984b9c8a60b36938705e5140ecd0899a4"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandProfile::validate (cyclomatic 22): CommandProfile::validate has cyclomatic complexity 22 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/command_profile.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"77243ede30e146e21119f32a72ff2637acb0e5ad31176c2354914a4e1c2efacd"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::gui::detail_ui::det_activity (cyclomatic 22): retrace::gui::detail_ui::det_activity has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"26421ce6da0d7ae5dd8d3ba49f9e471faa00efd01f593825af02efd491f65029"}},{"ruleId":"D1","level":"warning","message":{"text":"KwargSorter::process_call (cyclomatic 22): KwargSorter::process_call has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/autofixes/sort_kwargs.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b81bbde4495974e4b42f7b7b6c45b413f39d3c4fedbd403c526616d0d33c53b"}},{"ruleId":"D1","level":"warning","message":{"text":"NodeKey::into_critical_path_entry_data (cyclomatic 21): NodeKey::into_critical_path_entry_data has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_signals_impl/src/lib.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc65cb0cfd01eaf2acc2dd72745486138ca4b428008a38e5986c5629996fb5e3"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_cmd_log_client::snoop::snoop_one (cyclomatic 21): buck2_cmd_log_client::snoop::snoop_one has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/snoop.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fbfe709628bfe5a96e4e03f9e01b1bb5c1f58a6307e33395d3a221401009ee"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionErrorDisplay::simple_format_inner (cyclomatic 21): ActionErrorDisplay::simple_format_inner has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_observer/src/display.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"990e0c6e427d7930ffddb4cc9f0bd4939a3931374a0ad4bdcb167e63f68a7f68"}},{"ruleId":"D1","level":"warning","message":{"text":"ResultReporter::collect_result (cyclomatic 21): ResultReporter::collect_result has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_commands/src/build/result_report.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"23244d5efabe2beda24a951c876bdd7adbb36edefae7434f1a9efc867d9279f3"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_settings_derive::parse_setting_args (cyclomatic 21): buck2_settings_derive::parse_setting_args has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_settings_derive/src/lib.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a029b8acaad6a0abee3791971315d2f6f6875196a15ae15c08ca84f697c6761"}},{"ruleId":"D1","level":"warning","message":{"text":"remote_execution::client::upload_impl (cyclomatic 21): remote_execution::client::upload_impl has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"929e6016ef3d049b090d94203b94a7c5f906126ab58d96b151111c71506359e7"}},{"ruleId":"D1","level":"warning","message":{"text":"ExprCompiled::mark_definitely_assigned_after (cyclomatic 21): ExprCompiled::mark_definitely_assigned_after has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/bc/compiler/expr.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"322f249726850dc9bebde479ad084036eaa3107b5e48c80f085a5e5871add4b2"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer::bytes_string (cyclomatic 21): Lexer::bytes_string has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Token::fmt (cyclomatic 85) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"151d61efc62fbaf08f6731e0aa21cb417cac21c20dae1ffb5cb299a12b9f1caf"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidBundleBuilderExecutableMain.run (cyclomatic 21): AndroidBundleBuilderExecutableMain.run has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/bundle/AndroidBundleBuilderExecutableMain.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a165e3de34f7437a4486bc258c4451c60e6068da04d0885625f8a4215914059e"}},{"ruleId":"D1","level":"warning","message":{"text":"compile_and_package.main (cyclomatic 21): compile_and_package.main has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/java/tools/compile_and_package.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"1841ce541f32fc754a7cc57a485db0d7674f1915fec0e959d0c52bbe16bbccee"}},{"ruleId":"D1","level":"warning","message":{"text":"DecodeStatsPanel.DecodeStatsPanel (cyclomatic 21): DecodeStatsPanel.DecodeStatsPanel has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/DecodeStatsPanel.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da09dd4e68adc81fa0f87154252d429b7e5510ee32f76d788d62d84f0fafed5"}},{"ruleId":"D1","level":"warning","message":{"text":"EventLogDetailPanel.EventLogDetailPanel (cyclomatic 21): EventLogDetailPanel.EventLogDetailPanel has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/event-log/EventLogDetailPanel.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb26041cb5c7865ee9f2655eb20cda988d919b96ce0f488bd96cbf2c1ab26bf2"}},{"ruleId":"D1","level":"warning","message":{"text":"HealthCheckSubscriber::handle_event (cyclomatic 20): HealthCheckSubscriber::handle_event has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/health_check_subscriber.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb64983cc0eb0742885ca78e3a2a7dad71ac7770b8bb9c2fcd44fd631524a13a"}},{"ruleId":"D1","level":"warning","message":{"text":"Stats::update_with_event (cyclomatic 20): Stats::update_with_event has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/summary.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff534f42f1b47d0c5e18feffbf73fbe481af31b0875c26380b9c251d316d27d"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryResultPrinter::print_single_output (cyclomatic 20): QueryResultPrinter::print_single_output has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_query_server/src/query/printer.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f75ed80d0d07f437a9152fe0adb65c38af267a59e2101911b088fa01343eb6d"}},{"ruleId":"D1","level":"warning","message":{"text":"AdmissionCoordinatorTask::run_with_branch_ownership (cyclomatic 20): AdmissionCoordinatorTask::run_with_branch_ownership has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_concurrency/src/lib.rs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffa7c1ade45d9a0d9d4334d8a4825b6b4c408bd0277cfd887dbb5da3f74fd8e"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_execute_impl::materializers::deferred::clean_stale::apply_adaptive_low_disk (cyclomatic 20): buck2_execute_impl::materializers::deferred::clean_stale::apply_adaptive_low_disk has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":2104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2040cf08c4d08c4c0ec43b8a2b38547e94a037716257317861124cd9718f356"}},{"ruleId":"D1","level":"warning","message":{"text":"TenantState::create (cyclomatic 20): TenantState::create has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/state.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab88a8ec70ffa49b4e3b50b1d5d41ab36a7399d7a8ae2fee3848b30c90799129"}},{"ruleId":"D1","level":"warning","message":{"text":"CoreState::fork (cyclomatic 20): CoreState::fork has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice_core/src/fork.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7702932750ba370b52162c2dd124ac327887ebaf3e76455479695216de544732"}},{"ruleId":"D1","level":"warning","message":{"text":"Solver::solve (cyclomatic 20): Solver::solve has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/sokoban.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2bff94630d5d4395dbddd1b8b24e91bed3526830e23466897a23f7433270be"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer::lex_fstring_content (cyclomatic 20): Lexer::lex_fstring_content has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Token::fmt (cyclomatic 85) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efd0b4180cd09f1516a1b656963369028cbbc459aa93014de280eafd15f0b72"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::dag::finish (cyclomatic 20): retrace::dag::finish has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/dag.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d4cc97549b77ac54001e28883fc7e48f616133d48799276a41601599db0496"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::gui::show_find (cyclomatic 20): retrace::gui::show_find has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":2101}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e274ee4dbf10a9cea84a5b8b3b4f7b938b419ea515666d67f95de1011217e0"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::gui::cascade::contents (cyclomatic 20): retrace::gui::cascade::contents has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/cascade.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd417de44331396b67a6bd30964a2831d1a0e7bfd6e44c47b4b84b3d2c9287a5"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::gui::command_ui::snapshot_context (cyclomatic 20): retrace::gui::command_ui::snapshot_context has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: retrace::gui::command_ui::label (cyclomatic 25) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/command_ui.rs"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbc34e1ebe73320bc323c80da489c359dba1572861dc1e107fd4a92c79060a0"}},{"ruleId":"D1","level":"warning","message":{"text":"starlark_fmt_lib::lib::autofixes::sort_list_args::collect_sorted_elements_with_keys (cyclomatic 20): starlark_fmt_lib::lib::autofixes::sort_list_args::collect_sorted_elements_with_keys has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/autofixes/sort_list_args.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cfbe9b6453e37dd1f2ca593967f9ee719c0c0f3008e946b52f4ae13ac399fe"}},{"ruleId":"D1","level":"warning","message":{"text":"MissingTypeCollectorVisitor.checkTypeResolvableRecursively (cyclomatic 20): MissingTypeCollectorVisitor.checkTypeResolvableRecursively has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fd639ed55c445c19f9f853ed076dc497f38242e9f6e57c92ce4f0558be5a64"}},{"ruleId":"D1","level":"warning","message":{"text":"NonAbiDeclarationsStrippingIrVisitor.removeNonPublicApi (cyclomatic 20): NonAbiDeclarationsStrippingIrVisitor.removeNonPublicApi has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e0f72245b189fe7ef27bcac013c94fa644ebdaca55959f400ee1ee5a52b3de"}},{"ruleId":"D1","level":"warning","message":{"text":"NonAbiDeclarationsStrippingIrVisitor.removeNonPublicApi (cyclomatic 20): NonAbiDeclarationsStrippingIrVisitor.removeNonPublicApi has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc68f8b5701e7f9e1112de0fff9c06bc6e300eccbea189a9e9d8b0f1b5a0e5e"}},{"ruleId":"D1","level":"warning","message":{"text":"NonAbiDeclarationsStrippingIrVisitor.removeNonPublicApi (cyclomatic 20): NonAbiDeclarationsStrippingIrVisitor.removeNonPublicApi has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d8fd91e32bfa9c43cf829d6dbdec9f09d017f32f57f3fc0554757b218429b6"}},{"ruleId":"D1","level":"warning","message":{"text":"MiniAapt.addStyleItemReference (cyclomatic 20): MiniAapt.addStyleItemReference has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/aapt/MiniAapt.java"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9567f5b8a3e9f02a6886ce4467406f31fb344be41ae1cd943d7b992caea85b1c"}},{"ruleId":"D1","level":"warning","message":{"text":"CompilerWorker.runCompilerTask (cyclomatic 20): CompilerWorker.runCompilerTask has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/Jsr199JavacInvocation.java"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"360f11d8d674e5d35956c2afa93571bcec421dbb353cbcd870e146cbd8b943d3"}},{"ruleId":"D1","level":"warning","message":{"text":"typechecker._run (cyclomatic 20): typechecker._run has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/kotlin/tools/typechecker/typechecker.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c62b5c08ed11a08f23694a8d6044214db37712c6811df7016ac82dc63b9aee6"}},{"ruleId":"D1","level":"warning","message":{"text":"make_py_package_modules.create_modules_dir (cyclomatic 20): make_py_package_modules.create_modules_dir has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/python/tools/make_py_package_modules.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f31566936d67aa3b8cf0b3069a02d73d8ceeeebfcd8e7d99228b121f176dbb"}},{"ruleId":"D1","level":"warning","message":{"text":"rustc_action.handle_output (cyclomatic 20): rustc_action.handle_output has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/rust/tools/rustc_action.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc951efc2c233f2938e1b4245abc05f80105d68a95eb0ac8fd56cb7d1e6dca69"}},{"ruleId":"D1","level":"warning","message":{"text":"dependency_analyzer.extract_dependencies (cyclomatic 20): dependency_analyzer.extract_dependencies has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/erlang/toolchain/dependency_analyzer.erl"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"71de5d93c96811ded4c2f6ad47068519c74507f7867ad5179b02f4e3cf412e8d"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionTreemap.ActionTreemap (cyclomatic 20): ActionTreemap.ActionTreemap has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/ActionTreemap.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4022235e8acdf4eab947c14769afb2827d5e3e947758e2b686ef9d08375bb228"}},{"ruleId":"D1","level":"warning","message":{"text":"useEventLogState.useEventLogState.filteredEvents (cyclomatic 20): useEventLogState.useEventLogState.filteredEvents has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/event-log/useEventLogState.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1b4c5254ab1461b45ed32833e6e715353f297a45936d68472b0b203d2d5b9a"}},{"ruleId":"D1","level":"warning","message":{"text":"dispatch-worker.handleMessage (cyclomatic 20): dispatch-worker.handleMessage has cyclomatic complexity 20 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/parallel-decode/dispatch-worker.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba7e479cb137d91d240e31e842e5d54a37290905144e527e2deaf0619b8e4ea"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_client_ctx::daemon::client::connect::establish_connection_inner (cyclomatic 19): buck2_client_ctx::daemon::client::connect::establish_connection_inner has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/daemon/client/connect.rs"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c06a308070e134d86c41ba597fda90c83ff7231db874a1b667dcc366d94eac"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_client_ctx::daemon::daemon_windows::spawn_background_process_on_windows (cyclomatic 19): buck2_client_ctx::daemon::daemon_windows::spawn_background_process_on_windows has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 4 function items inside it that branch (append_quoted, make_envp, make_command_line, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/daemon/daemon_windows.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7797294cc6113e189d7d968e5e8f5585f6176a88f63cdd2b4f899dd3234d601"}},{"ruleId":"D1","level":"warning","message":{"text":"OutputFormatWithWriter::emit_command (cyclomatic 19): OutputFormatWithWriter::emit_command has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/what_ran.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4197fe50e7638e6c210be979a68bc4cabd22c69a3864d1bac2bb9138821d857"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_configured::nodes::compute_configured_target_node_no_transition (cyclomatic 19): buck2_configured::nodes::compute_configured_target_node_no_transition has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/nodes.rs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3170588bf0e9e5f618929cb93cc31a86886555673eac9bd4a877bf948c071883"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_interpreter_for_build::interpreter::functions::xml::parse_xml (cyclomatic 19): buck2_interpreter_for_build::interpreter::functions::xml::parse_xml has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/interpreter/functions/xml.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a1682ccf9f430bb7dd5b7649a8a0ab720744ce29c633b1686c1135f33a0c83"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_node::attrs::attr_type::arg::parser::read_literal_opt_slow (cyclomatic 19): buck2_node::attrs::attr_type::arg::parser::read_literal_opt_slow has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/attr_type/arg/parser.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"1729d75a3ff17fe2907ede2819df11018d77e8eb6fce23e9b705e3659a9053de"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_query_impls::dice::aquery::compute_tset_node (cyclomatic 19): buck2_query_impls::dice::aquery::compute_tset_node has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/dice/aquery.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0839c0ccad699a9e4503d70bfb8f7fc971b2e36eb7031b97813b11629f3e4b"}},{"ruleId":"D1","level":"warning","message":{"text":"pagable_derive::typetag::pagable_typetag_impl (cyclomatic 19): pagable_derive::typetag::pagable_typetag_impl has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pagable_derive/src/typetag.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"115ea1c032d99e8a1dec6502c37251e0ce647260f5284c510c4be14bae77d10b"}},{"ruleId":"D1","level":"warning","message":{"text":"remote_execution::client::download_impl (cyclomatic 19): remote_execution::client::download_impl has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9aef0eefeefbd4dcd0b5d9026d85c280934156b24308f45c5774c96b3d0f21a"}},{"ruleId":"D1","level":"warning","message":{"text":"TypingOracleCtx::expr_bin_op (cyclomatic 19): TypingOracleCtx::expr_bin_op has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: TypingOracleCtx::intersects_one_side (cyclomatic 25) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/oracle/ctx.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe26992ee785d803d124a448bf2e01f2309025e30e295eea087bfd1580439b4c"}},{"ruleId":"D1","level":"warning","message":{"text":"starlark::values::types::set::methods::set_methods (cyclomatic 19): starlark::values::types::set::methods::set_methods has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 7 function items inside it that branch (issuperset, issubset, intersection, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/set/methods.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59cbf6db7d368cfb92eff015cca3d5460a737162b1737e911934015c1885d5d"}},{"ruleId":"D1","level":"warning","message":{"text":"BazelContext::get_string_completion_options (cyclomatic 19): BazelContext::get_string_completion_options has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_bin/bin/bazel.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"867fb8446bfca41bb964339e2bcf9a9afc3e1f2bfc51782085bf594af1cbb182"}},{"ruleId":"D1","level":"warning","message":{"text":"ParserRd::parse_atom (cyclomatic 19): ParserRd::parse_atom has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: ParserRd::infix_binding_power (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58d59e040d5e37beb1d7d098369c1ad91109a75a29a0a338638c52de445ca49"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::graph::unescape (cyclomatic 19): retrace::graph::unescape has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/graph.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a36cab32f62563ecafce2db6061a665bf69d70ee8531c3691c6459544eeda35"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::graph::find_cycles (cyclomatic 19): retrace::graph::find_cycles has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/graph.rs"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"b508cdf7044738be8df31a4c0b4e9138a477b7ef9c0b8f5a33b66b997a6d7aa3"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::graph::scan_rows_serial (cyclomatic 19): retrace::graph::scan_rows_serial has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/graph.rs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"3417e77326853310c9804d8dc4c51f0ad3e26688032040c768af962a3717b1a6"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassStabilityTransformer.computeStability (cyclomatic 19): ClassStabilityTransformer.computeStability has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compose/ClassStabilityTransformer.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"166a4216f52b50ab03467542a51a69986ed51edff8bfc0c221535fe0b82aaf98"}},{"ruleId":"D1","level":"warning","message":{"text":"PostEnterCanonicalizer.getInferredType (cyclomatic 19): PostEnterCanonicalizer.getInferredType has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/PostEnterCanonicalizer.java"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6021894fb849c23b7eaa090b4de579b2928e779dca692c9c55361a71c9f6111"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseRunner.parseArgs (cyclomatic 19): BaseRunner.parseArgs has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/testrunner/BaseRunner.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b55baa4915a4918fc37e091f6c9d75fbc141f9a632ba092702ce0222f5666b"}},{"ruleId":"D1","level":"warning","message":{"text":"sokoban_pipeline.parse_levels_from_file (cyclomatic 19): sokoban_pipeline.parse_levels_from_file has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/bin/sokoban_pipeline.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fc58883986d997c5f2972d142863d463a2b9f217d1938e2499b4bacc7c5fa3"}},{"ruleId":"D1","level":"warning","message":{"text":"buildscript_run.main (cyclomatic 19): buildscript_run.main has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/rust/tools/buildscript_run.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fc2adf4ababf97d9f08ce3e6bc6d2c18745b2421cdf92b38d2526b640a0dff"}},{"ruleId":"D1","level":"warning","message":{"text":"testFuncs.load (cyclomatic 19): testFuncs.load has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/go/tools/testmaingen.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef80dd9937307da97775d9dda1e27200ae053fe0d543be87b27c1d8ff961fc52"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionResultsTab.ExpandedRow (cyclomatic 19): ActionResultsTab.ExpandedRow has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bf3962cf31d6fc4bfc6363db158d6b42d1e65a7f16d64586e8eb7fb46cb465"}},{"ruleId":"D1","level":"warning","message":{"text":"CriticalPathChart.CriticalPathChart (cyclomatic 19): CriticalPathChart.CriticalPathChart has cyclomatic complexity 19 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/CriticalPathChart.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd19a69c7e5f9c33444b9dfca0e58469aa2f0919f694a5261d8a5ee9f78764c"}},{"ruleId":"D1","level":"warning","message":{"text":"PerfettoEmbed.PerfettoEmbed (cyclomatic 19): PerfettoEmbed.PerfettoEmbed has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 37, 76, 101, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/PerfettoEmbed.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bde49f166306133e4cedca93740a51f804bdbd97fc40581d6ddb9d0bb839fa"}},{"ruleId":"D1","level":"warning","message":{"text":"CliArgType::coerce_value (cyclomatic 18): CliArgType::coerce_value has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0d5ef510ffe293854dd590923ea63df720801f91684fb2ac839ae211bd2671"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_bxl::bxl::starlark_defs::context::methods::bxl_context_methods (cyclomatic 18): buck2_bxl::bxl::starlark_defs::context::methods::bxl_context_methods has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 7 function items inside it that branch (bxl_actions, configured_targets, unconfigured_targets, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/methods.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1240dd7a489f85b15602095be43220a6c63b62180a42184a786f5ffa5c23480"}},{"ruleId":"D1","level":"warning","message":{"text":"SimpleConsole::handle_event_inner (cyclomatic 18): SimpleConsole::handle_event_inner has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/simpleconsole.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"b666bef71a64d221bac49ba03986f883a49031b3f3c27ecfc4ac54bdee41fc8d"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_critical_path::potential::compute_critical_path_potentials (cyclomatic 18): buck2_critical_path::potential::compute_critical_path_potentials has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_critical_path/src/potential.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21b7b56fbb4ee2ded206bf0b47821614add5a58a69cdda420692e42055a5821"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteExecutionClientImpl::execute (cyclomatic 18): RemoteExecutionClientImpl::execute has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":1605}}}],"partialFingerprints":{"codehealthFindingId/v1":"8261e0725cac3fa2fc884eb97e0fb8bb31ceead7700c28674f854aa914ed7d2c"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_tenant_proxy::process::run (cyclomatic 18): buck2_tenant_proxy::process::run has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_tenant_proxy/src/process.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6cfa8dff6995e74daa881a1fa0bfc5d8cc12d45e631d64dec7e32a548cda1e"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_test::command::generate_config_entry_args (cyclomatic 18): buck2_test::command::generate_config_entry_args has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/command.rs"},"region":{"startLine":1963}}}],"partialFingerprints":{"codehealthFindingId/v1":"423eb77397b0888f44468e50f50581e4b1d8465309347b7706b80435cccdf33e"}},{"ruleId":"D1","level":"warning","message":{"text":"State::stmt (cyclomatic 18): State::stmt has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/analysis/names.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"640784df2ee69d5a98af5af509da635e5757df62fdcc45593b27301385c15dea"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer::calculate_indent (cyclomatic 18): Lexer::calculate_indent has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This is NOT this file\u0027s highest cyclomatic complexity: Token::fmt (cyclomatic 85) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"13aa5298c10b1aa5f07a2cc1c9e7debe5079970f9ba68b72f6a5baa12e45e368"}},{"ruleId":"D1","level":"warning","message":{"text":"ColoredStringParser::apply_sgr (cyclomatic 18): ColoredStringParser::apply_sgr has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"superconsole/src/content/lines.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6da3771e5089f2d5a797cecd62d95e6e4b87c0df1aff207b3282a673d791da"}},{"ruleId":"D1","level":"warning","message":{"text":"Activity::from_record (cyclomatic 18): Activity::from_record has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/activity.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e53349bfe3c6852d940df65f3d7e27c0c82241a242ddb49fb8aee61fad860a"}},{"ruleId":"D1","level":"warning","message":{"text":"Ready::respawn_cp_sim (cyclomatic 18): Ready::respawn_cp_sim has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9c8697e71cb586f5b9a16753c2111ed94af473a737c5ef2e20708bf2672d02"}},{"ruleId":"D1","level":"warning","message":{"text":"Quality::seal (cyclomatic 18): Quality::seal has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/quality.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a259b2b62a5eb5b0a55cb7da444c65b961d3bae267bdd2fd85d5fc9274c3027"}},{"ruleId":"D1","level":"warning","message":{"text":"Stmt::fmt_with_tab (cyclomatic 18): Stmt::fmt_with_tab has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: BinOp::fmt (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/ast.rs"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb70b81e15e1170dd87c49de1b935bc44db7b5558f53ab173ba33dcd2f5db661"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineBodyKeepabilityKt.constInitializerHasErrors (cyclomatic 18): InlineBodyKeepabilityKt.constInitializerHasErrors has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/common/InlineBodyKeepability.kt"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a21c1bff9a2bf9d43b80862f45503fb50240aac3a68ac39f6871ef312a9878"}},{"ruleId":"D1","level":"warning","message":{"text":"GenericStubsGenerator.generateStubs (cyclomatic 18): GenericStubsGenerator.generateStubs has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/GenericStubsGenerator.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"489c248e605a85e931f268ba8585991bff88462b1b7a99e4418f7f2883908adb"}},{"ruleId":"D1","level":"warning","message":{"text":"ApkBuilderExecutableMain.run (cyclomatic 18): ApkBuilderExecutableMain.run has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/apk/ApkBuilderExecutableMain.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"04546981106f92e24dac0d388fb2e55a3a3ef0e46e6105620aeac8f0241b7cb3"}},{"ruleId":"D1","level":"warning","message":{"text":"prepare_code_signing_entitlements.postprocess_entitlements (cyclomatic 18): prepare_code_signing_entitlements.postprocess_entitlements has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/prepare_code_signing_entitlements.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"347a087146872f9276f5be5871d00bd4a8c19a6cde925f3d76acd566f871bf6a"}},{"ruleId":"D1","level":"warning","message":{"text":"DecodeTimeline.DecodeTimeline (cyclomatic 18): DecodeTimeline.DecodeTimeline has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/DecodeTimeline.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e770b9d15e474d20cc69ac3d7295911d99f2ae8d33587655d203424b6920634"}},{"ruleId":"D1","level":"warning","message":{"text":"FileChanges.FileChanges (cyclomatic 18): FileChanges.FileChanges has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/FileChanges.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3cb596cf0218149cc1b050bf7144762e7843242582e89542e6ad92107fe8ca"}},{"ruleId":"D1","level":"warning","message":{"text":"dispatch-worker.ingestChunk (cyclomatic 18): dispatch-worker.ingestChunk has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/parallel-decode/dispatch-worker.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34e3833af77e2945932f7ea26f7c1ab2fd5e419033b158e39ba5bd1e08f6379"}},{"ruleId":"D1","level":"warning","message":{"text":"RunAction::execute_inner (cyclomatic 17): RunAction::execute_inner has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run.rs"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4d613bd4ee66b8a4d3a4b04d00e0d826a2938a538a2aa34eebdc46a2069798"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildReportCollector::collect_results_for_configured (cyclomatic 17): BuildReportCollector::collect_results_for_configured has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/build/build_report.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09a03e9c808ef0c69b929e717a0d1a561456ec49c5cbb7b21144964fc40a663"}},{"ruleId":"D1","level":"warning","message":{"text":"TransitiveSet::new (cyclomatic 17): TransitiveSet::new has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0296ad2227f3b920e6dc5f1ddb00da46aa69d4982996350937b0c39d7da242d"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_build_api::actions::impls::json::visit_json_artifacts (cyclomatic 17): buck2_build_api::actions::impls::json::visit_json_artifacts has cyclomatic complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/impls/json.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"179b7896aac7f29ee4746694bf77c4dc9dcb41fe46f51ec43311da251517ed49"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_client::commands::clean::clean_buck_out_pass (cyclomatic 17): buck2_client::commands::clean::clean_buck_out_pass has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client/src/commands/clean.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c02e2b5b25c8b5ab2648eb0e2e5021a4ed4ad5d4e207aefb09c0a417f7d467e"}},{"ruleId":"D1","level":"warning","message":{"text":"InvocationRecorder::handle_action_execution_end (cyclomatic 17): InvocationRecorder::handle_action_execution_end has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: InvocationRecorder::handle_event (cyclomatic 50) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/recorder.rs"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b4eaf51aa637c3b7326503340ac89d2d00660a69717231ce910e551cc788bd"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_cmd_starlark_server::util::paths::starlark_file (cyclomatic 17): buck2_cmd_starlark_server::util::paths::starlark_file has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_starlark_server/src/util/paths.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c54f7ac553043a387129efe8e1c2d935d932f58b98e7d87ba187f7e033c0192"}},{"ruleId":"D1","level":"warning","message":{"text":"LegacyConfigFileParser::parse_lines (cyclomatic 17): LegacyConfigFileParser::parse_lines has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/legacy_configs/parser.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b409fe3b2656e0d704d71a6ef6354433fce3187484d3553b1f9386ac886fc9b"}},{"ruleId":"D1","level":"warning","message":{"text":"ScribeProducer::send_impl (cyclomatic 17): ScribeProducer::send_impl has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shed/scribe_client/src/producer.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3300ad505c01da43cab3d5b902b933d4d02c13a56c50f31c9af6e777574d5fd"}},{"ruleId":"D1","level":"warning","message":{"text":"StaleFinder::visit (cyclomatic 17): StaleFinder::visit has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":1869}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cc9f380ce4bee936ffbe9f2f9c84dcff95b54b7f1e198552d88897d208e859"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_node::attrs::coerced::select::validate_concat (cyclomatic 17): buck2_node::attrs::coerced::select::validate_concat has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/coerced/select.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a2c1e5240a554f095e2f1fb37877d33e4b054bae6d28650b2d5d455762d6bf"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_wrapper_common::killall (cyclomatic 17): buck2_wrapper_common::killall has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_wrapper_common/src/lib.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fb43cb84581eb72002e788707fcdeb3390a6abc3e4aa47e89ae6d8cacfcb75"}},{"ruleId":"D1","level":"warning","message":{"text":"DiceStorage::page_out (cyclomatic 17): DiceStorage::page_out has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/storage.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef675e02fc28747fd0c0e3dc212a8fab151e96e7a6c0a7d3244ccf422092f8fd"}},{"ruleId":"D1","level":"warning","message":{"text":"MathAnswerKey::permit_recompute (cyclomatic 17): MathAnswerKey::permit_recompute has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/fuzzy_dice/src/execution.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5f3bd068f008b356783f46bc561d0e80dabffb27ce4beca99cd008b172cee8"}},{"ruleId":"D1","level":"warning","message":{"text":"PercentFormatParser::next (cyclomatic 17): PercentFormatParser::next has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/string/interpolation.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbed5e324d7e64639f6c6c11df38ff84cd086b004f79510655531e5cdaec618"}},{"ruleId":"D1","level":"warning","message":{"text":"starlark_bin::bin::main (cyclomatic 17): starlark_bin::bin::main has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_bin/bin/main.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"836719828036ad0a9acd36d814ef6865479bce0ae7d18f24ddda0dc0f1e2a56e"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionUi::poll (cyclomatic 17): ExecutionUi::poll has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/execution_ui.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f594b9808f29f4dc09b1931939f2899e2586966f38ae29d181bc3740c24d5c98"}},{"ruleId":"D1","level":"warning","message":{"text":"GreedyCascade::next_with_cancel (cyclomatic 17): GreedyCascade::next_with_cancel has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/sim.rs"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc52a23efac6e57dab58c30ce52028c13b91e93ccc99356c30c3339457aadfbb"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::findings::cp_wait_share (cyclomatic 17): retrace::findings::cp_wait_share has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/findings.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba0f03d59a8e129d736223a9872c8e627efad77c5bbdcef677762629c9327b0"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::findings::retry_tax (cyclomatic 17): retrace::findings::retry_tax has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/findings.rs"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"256faef9301e3352d9bfd2ee31d9104ce2af74a89d71d42ff6d6513a07111169"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::upload::upload_report (cyclomatic 17): retrace::upload::upload_report has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/upload.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd72032ffd88ece7fc6850864654b4c48d83e110d0d3abb65c6a538e552bb59"}},{"ruleId":"D1","level":"warning","message":{"text":"K2JvmAbiFirAnalysisHandlerExtension.forAllFiles (cyclomatic 17): K2JvmAbiFirAnalysisHandlerExtension.forAllFiles has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"005e3a6245df776fc9bb286a8b495cc805f7e630e848158777d69fb4252c5849"}},{"ruleId":"D1","level":"warning","message":{"text":"Ksp2Step.executeKsp2 (cyclomatic 17): Ksp2Step.executeKsp2 has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/ksp/Ksp2Step.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f022f9f4d19c4f1f07125efc2d2417fdd9b5cb623f4260b9c4d932d3a0a44b8c"}},{"ruleId":"D1","level":"warning","message":{"text":"MergeAndroidResources.sortSymbols (cyclomatic 17): MergeAndroidResources.sortSymbols has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/resources/MergeAndroidResources.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc8ddf1acb5edbd345a17f358bcfa3af53798a6d94e83ddeccde0b515d2079b"}},{"ruleId":"D1","level":"warning","message":{"text":"1.missingImportedMemberSupertypes (cyclomatic 17): 1.missingImportedMemberSupertypes has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/CompilerTypeResolutionSimulator.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a676bae6bdf93351db097854c36de8fa4875e273dd3a3da727fc1bd047cc22be"}},{"ruleId":"D1","level":"warning","message":{"text":"CentralDirectoryFileHeader.read (cyclomatic 17): CentralDirectoryFileHeader.read has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/util/zip/CentralDirectoryFileHeader.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3460358bcf853c67a9d1db5c24cc0eae851859609625adbf6e66ca80469eebdc"}},{"ruleId":"D1","level":"warning","message":{"text":"merge_sequence.get_native_linkables_by_merge_sequence (cyclomatic 17): merge_sequence.get_native_linkables_by_merge_sequence has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/android/tools/merge_sequence.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"8195008efd4fcaa2bba5de5d581c49c35c07eeb2da82bcbfc7340c715820e50c"}},{"ruleId":"D1","level":"warning","message":{"text":"load-events.extractLoadPackageSpans (cyclomatic 17): load-events.extractLoadPackageSpans has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/load-events.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c130aafabedfff812cda2908e5b9dae2507aede99208c393276f6fb2a00e541"}},{"ruleId":"D1","level":"warning","message":{"text":"RunCommand::exec_impl (cyclomatic 16): RunCommand::exec_impl has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client/src/commands/run.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d23e88ded5b01ee063b28f42011129dc57b5abc7cad4d379733347bbf43fcc"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_client::commands::clean::clean (cyclomatic 16): buck2_client::commands::clean::clean has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client/src/commands/clean.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4c7333ae4057536bc7271d5c6228be8618dc13a3e356e76bdf564da1673499"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_client_ctx::subscribers::superconsole::lines_for_command_details (cyclomatic 16): buck2_client_ctx::subscribers::superconsole::lines_for_command_details has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole.rs"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"922249c4b002f5e82ea009deeee1d77ea7922ae5836d1e95b477f8cc58de6b9b"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_cmd_audit_server::providers::server_execute_with_dice (cyclomatic 16): buck2_cmd_audit_server::providers::server_execute_with_dice has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_audit_server/src/providers.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb6fa7b2b6a3826dd7f57661718ed3b5847a7c4e372237eeb418ea402270973"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_cmd_targets_server::targets::streaming::targets_streaming (cyclomatic 16): buck2_cmd_targets_server::targets::streaming::targets_streaming has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_targets_server/src/targets/streaming.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"13884f34badfcaa0d0f0681607b9c6dfa7dc389a1e8681c405f31fa8a4710f37"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_events::metadata::collect (cyclomatic 16): buck2_events::metadata::collect has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_events/src/metadata.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"76223580bea7955cf1c95c2d6a841a9f8426f0fbf9e5c2a9596e36727a826f7a"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteExecutionClientImpl::execute_impl::wait_for_response_or_stage_change (cyclomatic 16): RemoteExecutionClientImpl::execute_impl::wait_for_response_or_stage_change has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dac0c9071dba5992446e0b85fd075332043385923bf235a4519e2f2ed0322d0"}},{"ruleId":"D1","level":"warning","message":{"text":"ReExecutor::re_execute (cyclomatic 16): ReExecutor::re_execute has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/re.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a7167617d546e4d3aecf1c599714dd15bb346f1a8d89fc420105369388d417"}},{"ruleId":"D1","level":"warning","message":{"text":"Processor::handle (cyclomatic 16): Processor::handle has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/v2/core.rs"},"region":{"startLine":2097}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba3e8f9bd8703391738cc5d8cbf3f36b5c208eeeaef71c586ab9c147e97b20d"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryExprRef::reprint (cyclomatic 16): QueryExprRef::reprint has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/attr_type/query.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"737eaf3ef17b4b33782f4371105bff4a5c208e0addb42d55e195e54f7c127f9d"}},{"ruleId":"D1","level":"warning","message":{"text":"Arg::traverse (cyclomatic 16): Arg::traverse has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/attr_type/arg.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85b4147f3a50daf07c0cc379aefc611b566a4109e07c3f620229154514745f4"}},{"ruleId":"D1","level":"warning","message":{"text":"Expr::fmt (cyclomatic 16): Expr::fmt has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_parser/src/lib.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce70309288f22b8aa1bd8ba7d4a14561c8b8760182181dd4d183fb64352abb29"}},{"ruleId":"D1","level":"warning","message":{"text":"Scheduler::update (cyclomatic 16): Scheduler::update has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_resource_control/src/scheduler.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e73ab18041c2c5382736ef70ebf00dd8771a896026b403ad68cec25404c53c"}},{"ruleId":"D1","level":"warning","message":{"text":"buck2_server_commands::explain_code::explain (cyclomatic 16): buck2_server_commands::explain_code::explain has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_commands/src/explain_code.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"832c3580c2a2653c4d1191afcbc47e51981aa3579967e43c83ce3d63936d80b6"}},{"ruleId":"D1","level":"warning","message":{"text":"BuckTestOrchestrator::execute_request (cyclomatic 16): BuckTestOrchestrator::execute_request has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/orchestrator.rs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"3191e046b06085d7d5de8b7296b16cd6eb712bd89dbf1d24e59d44739cbfa80b"}},{"ruleId":"D1","level":"warning","message":{"text":"MathAnswerKey::new (cyclomatic 16): MathAnswerKey::new has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/fuzzy_dice/src/execution.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c3e7f4d32acb956943b065972f29debb47a97970358d1693fb746ae96695b1"}},{"ruleId":"D1","level":"warning","message":{"text":"Game::check_for_matches (cyclomatic 16): Game::check_for_matches has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This is NOT this file\u0027s highest cyclomatic complexity: Piece::grid (cyclomatic 28) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/blocks.rs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31d0a6ad44aefda3f49c54211fb077fd34284af64107cd1108288a2c690169c"}},{"ruleId":"D1","level":"warning","message":{"text":"Game::check_for_floaters (cyclomatic 16): Game::check_for_floaters has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Piece::grid (cyclomatic 28) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/blocks.rs"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"8003c8e11c68e35f6f395403a9ce3447c7a3f5e61e848db51e943f0b44c2ced3"}},{"ruleId":"D1","level":"warning","message":{"text":"games::bin::sokoban_gen::find_farthest (cyclomatic 16): games::bin::sokoban_gen::find_farthest has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/bin/sokoban_gen.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cc45ffb0989fe82071f21320e524581d3ee3af11c02559a6533164296254aa"}},{"ruleId":"D1","level":"warning","message":{"text":"State::exit_scope (cyclomatic 16): State::exit_scope has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/analysis/names.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f115c1d91956af3a235f343d0f49df073bac71c378ddaeed3b0347ecbbb812d"}},{"ruleId":"D1","level":"warning","message":{"text":"starlark::stdlib::funcs::other::register_other (cyclomatic 16): starlark::stdlib::funcs::other::register_other has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 6 function items inside it that branch (sorted, hash, fail, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/stdlib/funcs/other.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba351f86583e65ccb95f17b5b61306568c2d4b5a45727c9ec98060123f95cc3a"}},{"ruleId":"D1","level":"warning","message":{"text":"Backend::resolve_definition_location (cyclomatic 16): Backend::resolve_definition_location has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/server.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a09bd238c68dbdd6a31040e04ca3d17505239f6bae44195adf7da123ad9d5d"}},{"ruleId":"D1","level":"warning","message":{"text":"FormatParser::next (cyclomatic 16): FormatParser::next has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/dot_format_parser.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b440aea55a6e0e64ffbea3ac65ba7d25de180230cbaff2a10878fb6f93679291"}},{"ruleId":"D1","level":"warning","message":{"text":"App::ui (cyclomatic 16): App::ui has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":1988}}}],"partialFingerprints":{"codehealthFindingId/v1":"789887914952fc5ca60323004fd85f04f94c9def864b7891300e6492107adcf7"}},{"ruleId":"D1","level":"warning","message":{"text":"Collector::result (cyclomatic 16): Collector::result has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: retrace::ingest::profile::command_kind (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/profile.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"4658a67a60cbbac40e1ab66cbdf6ef526314295ed8122ba1aef8431b250a242d"}},{"ruleId":"D1","level":"warning","message":{"text":"retrace::graph::parallel::merge_batch (cyclomatic 16): retrace::graph::parallel::merge_batch has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/graph/parallel.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6dcb8ffbfcfaf7e0734e73bc507aa42e97fd2ad51709ea6790590539dfa347c"}},{"ruleId":"D1","level":"warning","message":{"text":"StubRenderKt.renderFunction (cyclomatic 16): StubRenderKt.renderFunction has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/common/stub/render/StubRender.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9a0f383086d5627432435d91fa52748ffc228acc8daa6da07914fb77265043"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationContext.\u003Cinit\u003E (cyclomatic 16): GenerationContext.\u003Cinit\u003E has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/GenerationContext.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e8c7cd472b2c27e4cc33db7562f556fb217fbb137d8e1b29287055483e6323"}},{"ruleId":"D1","level":"warning","message":{"text":"APKModuleGraph.generateSharedModules (cyclomatic 16): APKModuleGraph.generateSharedModules has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/apkmodule/APKModuleGraph.java"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d54907d99f7c3960f142e58199a26967371a5ed8b66f52e6e91da18a4cf7c7"}},{"ruleId":"D1","level":"warning","message":{"text":"AdbHelper.adbCall (cyclomatic 16): AdbHelper.adbCall has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/AdbHelper.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"4820472a43acc4d8083f08a04345cc91a68611db5a37aadc8f26f1874879c5bf"}},{"ruleId":"D1","level":"warning","message":{"text":"WindowsFS.createSymbolicLink (cyclomatic 16): WindowsFS.createSymbolicLink has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/io/windowsfs/WindowsFS.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"10959b8e70bd513b8b0a0681ba12d98dc081aac488a4c121df6b7788de8c479d"}},{"ruleId":"D1","level":"warning","message":{"text":"AbiFilteringClassVisitor.visitMethod (cyclomatic 16): AbiFilteringClassVisitor.visitMethod has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/AbiFilteringClassVisitor.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"650ba91bd5dc90f0a4bc8c65b660d0fd59825f82097df4a785ccc4515df64e51"}},{"ruleId":"D1","level":"warning","message":{"text":"StubJarClassEntry.of (cyclomatic 16): StubJarClassEntry.of has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/StubJarClassEntry.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53a159904b3b0437a3ee80cb48d761192084b2e79856dcc1c67207fd63a5607"}},{"ruleId":"D1","level":"warning","message":{"text":"TestListener.testFinished (cyclomatic 16): TestListener.testFinished has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea2565a2b82ea7001a9d0f68039af995f030b6537495ea33cfc616b3762bbcb"}},{"ruleId":"D1","level":"warning","message":{"text":"main._main (cyclomatic 16): main._main has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/bundling/main.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"730c251770e2505c0067afe2e5e1c9a36784564c40b188b610419e86dd5a9106"}},{"ruleId":"D1","level":"warning","message":{"text":"provisioning_profile_selection.select_best_provisioning_profile_core (cyclomatic 16): provisioning_profile_selection.select_best_provisioning_profile_core has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/provisioning_profile_selection.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"253a9f7f8a6ed89debcb989711751fda3608d82ea7a532d58cefe83d2e6a4a4e"}},{"ruleId":"D1","level":"warning","message":{"text":"streaming-decode-worker.labelFromValue (cyclomatic 16): streaming-decode-worker.labelFromValue has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"26298ede8acddbd66dcc11da6a1671e6721b052aab72bb693fe4b4fb8f586d38"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalysisTreemap.AnalysisTreemap (cyclomatic 16): AnalysisTreemap.AnalysisTreemap has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/AnalysisTreemap.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc0c12dd7d8eafade5eabfa74426d0fb459a17c9ec4e222784f3dcca205fddd"}},{"ruleId":"D1","level":"warning","message":{"text":"CriticalPathView.CriticalPathView (cyclomatic 16): CriticalPathView.CriticalPathView has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/CriticalPathView.tsx"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d29d62d89330957965ed51ea14522de8184e48d8978e66cb4c5a85dfb62bdf"}},{"ruleId":"D1","level":"warning","message":{"text":"decoder-worker.labelFromValue (cyclomatic 16): decoder-worker.labelFromValue has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2dbe5be511678d95801b0702be7df0ced82185895142969926d3beb293c20d"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::panels::show_panels (cognitive 316): retrace::gui::panels::show_panels has cognitive complexity 316 (threshold 15). Drivers by points: if/else 68 (180 pts), loops 20 (67 pts), match/switch 25 (64 pts), boolean chains 5 (nesting depth added 198). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/panels.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5bd978bc3b306bbddb797b320bf5b4f1197971d3f379a954bb7263af53feff"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::ingest::scan::scan_input_with_details_cancellable (cognitive 310): retrace::ingest::scan::scan_input_with_details_cancellable has cognitive complexity 310 (threshold 15). Drivers by points: if/else 53 (231 pts), match/switch 14 (61 pts), boolean chains 9, loops 3 (9 pts) (nesting depth added 231). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/scan.rs"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06acea5054d8bcc6b33f5cff08d12fb170fb2052bc53fa4f531fc4f00d11e87"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::export::export (cognitive 256): retrace::export::export has cognitive complexity 256 (threshold 15). Drivers by points: if/else 92 (180 pts), match/switch 21 (59 pts), boolean chains 14, loops 2 (3 pts) (nesting depth added 127). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/export.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbb811cfa3805ceffa2f148504eb9091df7a27cdeed5179778b934bed977f06"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::analyses::load_extras_impl (cognitive 168): retrace::analyses::load_extras_impl has cognitive complexity 168 (threshold 15). Drivers by points: if/else 22 (106 pts), match/switch 8 (43 pts), boolean chains 10, loops 5 (9 pts) (nesting depth added 123). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/analyses.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"673b0564d3e55497b33f2c55342d9a13631b40ae72fadf59068c8d2499c328c4"}},{"ruleId":"D2","level":"warning","message":{"text":"Game::ensure_safe (cognitive 156): Game::ensure_safe has cognitive complexity 156 (threshold 15). Drivers by points: if/else 29 (102 pts), loops 23 (49 pts), boolean chains 5 (nesting depth added 99). Of this number, 130 points are the body\u0027s own statements and 26 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/minesweeper.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"660e5e36d2628af67e8932e96576e5cf12051aaf3e7cefd9f0c4a3f4f528839a"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::canvas::show_canvas (cognitive 150): retrace::gui::canvas::show_canvas has cognitive complexity 150 (threshold 15). Drivers by points: if/else 80 (118 pts), boolean chains 20, loops 6 (9 pts), match/switch 1 (3 pts) (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/canvas.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb53a29364d105e86fa544740bddc694a7b181d3c343fedaf0d347caae56b442"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::detail_ui::show_cp_walker (cognitive 149): retrace::gui::detail_ui::show_cp_walker has cognitive complexity 149 (threshold 15). Drivers by points: if/else 70 (118 pts), loops 9 (15 pts), boolean chains 9, match/switch 4 (7 pts) (nesting depth added 57). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0469fe57d2d3d2e95cdd6f42d4694df46925b074ca682ce3aff2fe1b6e2b03"}},{"ruleId":"D2","level":"warning","message":{"text":"dist_lto_planner_gnu.main (cognitive 146): dist_lto_planner_gnu.main has cognitive complexity 146 (threshold 15). Drivers by points: if/else 42 (104 pts), loops 17 (32 pts), boolean chains 10 (nesting depth added 77). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/cxx/dist_lto/tools/dist_lto_planner_gnu.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61ef6498e29255a7b4ba55319c6e2d5199952e5b3ccee374c81c9f345b0147f"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::command_ui::chart (cognitive 139): retrace::gui::command_ui::chart has cognitive complexity 139 (threshold 15). Drivers by points: if/else 38 (105 pts), loops 7 (19 pts), match/switch 3 (10 pts), boolean chains 5 (nesting depth added 86). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/command_ui.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9bf312f5b820764f8e028850b933a05ceba08e4c1ce6c25b9ab95c0038fd60"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::ingest::emit::action_event (cognitive 139): retrace::ingest::emit::action_event has cognitive complexity 139 (threshold 15). Drivers by points: if/else 75 (104 pts), loops 12 (21 pts), boolean chains 12, match/switch 2 (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/emit.rs"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"914e8387cc75063c1d123c0ce23289bb1ace296cecb008a5f027f4be69f069f7"}},{"ruleId":"D2","level":"warning","message":{"text":"Game::solve_constraints (cognitive 136): Game::solve_constraints has cognitive complexity 136 (threshold 15). Drivers by points: if/else 21 (79 pts), loops 16 (54 pts), match/switch 1 (3 pts) (nesting depth added 98). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/minesweeper.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9884f621b45ea909b582e2a51e54c13dc36ed905d9f8deb78e618be28b88cd"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer::next (cognitive 120): Lexer::next has cognitive complexity 120 (threshold 15). Drivers by points: if/else 21 (100 pts), match/switch 3 (11 pts), loops 2 (6 pts), boolean chains 3 (nesting depth added 91). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acda0932bf905d2b37344826cba336a446da0a81e0006651b1336db77e0faf1"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::parse::parse_chunk (cognitive 108): retrace::parse::parse_chunk has cognitive complexity 108 (threshold 15). Drivers by points: if/else 23 (80 pts), match/switch 5 (22 pts), boolean chains 5, loops 1 (nesting depth added 74). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/parse.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3c98a3aaee58f7b49d4fabd6a0723eee377dae90d9af968f0b4594b55ba058"}},{"ruleId":"D2","level":"warning","message":{"text":"FirMetadataSanitizerStage.cleanupFirMetadataSources (cognitive 107): FirMetadataSanitizerStage.cleanupFirMetadataSources has cognitive complexity 107 (threshold 15). Drivers by points: if/else 45 (62 pts), error handling 11 (18 pts), loops 9 (13 pts), boolean chains 11, match/switch 3 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe0585bf42199d32cd1d011ddca340120309388f3c19cc396d7487ca5965863"}},{"ruleId":"D2","level":"warning","message":{"text":"MissingConstantDeclarationGenerationExtension.getCallableNamesForClass (cognitive 100): MissingConstantDeclarationGenerationExtension.getCallableNamesForClass has cognitive complexity 100 (threshold 15). Drivers by points: if/else 14 (63 pts), loops 6 (25 pts), boolean chains 12 (nesting depth added 68). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf99831f7ee527218308767461e635b3985ef4226021532372d513f9fd9b734"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::ingest::emit::write_full_graph (cognitive 98): retrace::ingest::emit::write_full_graph has cognitive complexity 98 (threshold 15). Drivers by points: if/else 35 (62 pts), loops 15 (23 pts), match/switch 4 (10 pts), boolean chains 3 (nesting depth added 41). Of this number, 95 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/emit.rs"},"region":{"startLine":3262}}}],"partialFingerprints":{"codehealthFindingId/v1":"949e582df56cffcd1c3d2349d97f0c7db01f1c111316bf0443e9c85f7794f6cb"}},{"ruleId":"D2","level":"warning","message":{"text":"Game::draw_unchecked (cognitive 97): Game::draw_unchecked has cognitive complexity 97 (threshold 15). Drivers by points: if/else 21 (62 pts), loops 8 (23 pts), boolean chains 6, match/switch 2 (6 pts) (nesting depth added 60). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/breakout.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fee9c880167e5db10322545ed26e43ba772c0788732e902aa55c7bfb745f573"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_wrapper_common::kill::stop_and_kill_tree (cognitive 94): buck2_wrapper_common::kill::stop_and_kill_tree has cognitive complexity 94 (threshold 15). Drivers by points: if/else 25 (68 pts), loops 9 (17 pts), boolean chains 9 (nesting depth added 51). Of this number, 83 points are the body\u0027s own statements and 11 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_wrapper_common/src/kill.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f78d7dfc0cec70a109a06d5055c6a783cb952454fb96f9a1e1f754ccadd5223"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildHistorySidebar.BuildHistorySidebar (cognitive 93): BuildHistorySidebar.BuildHistorySidebar has cognitive complexity 93 (threshold 15). Drivers by points: if/else 31 (39 pts), boolean chains 29, ternaries 12 (23 pts), error handling 1, loops 1 (nesting depth added 19). Of this number, 25 points are the body\u0027s own statements and 68 belong to 11 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/BuildHistorySidebar.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf535664c09341020b32d6b04116fe61df6d01591f782b9ac05073e06f1e7cf0"}},{"ruleId":"D2","level":"warning","message":{"text":"EventLogProvider.EventLogProvider (cognitive 92): EventLogProvider.EventLogProvider has cognitive complexity 92 (threshold 15). Drivers by points: if/else 39 (60 pts), ternaries 9 (14 pts), error handling 5 (8 pts), boolean chains 5, loops 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 32). None of this is in the body itself: all 92 points belong to 15 function literals inside it that branch (lines 385, 600, 250, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/EventLogProvider.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"df24745edcb5d7fe6e3297eaef1cd6f45fd705a370c539970664c66587e484d3"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::parse::repair_optional_args (cognitive 90): retrace::parse::repair_optional_args has cognitive complexity 90 (threshold 15). Drivers by points: if/else 27 (64 pts), loops 4 (11 pts), boolean chains 10, match/switch 1 (5 pts) (nesting depth added 48). Of this number, 84 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/parse.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20e1898c58d6463df801a274e445cfabae927a4c85a9df71eea1621fdb2b1fe"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::detail::stage_lines (cognitive 89): retrace::detail::stage_lines has cognitive complexity 89 (threshold 15). Drivers by points: if/else 34 (65 pts), boolean chains 16, match/switch 2 (5 pts), loops 2 (3 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/detail.rs"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5962bb1c24aa6670cbcaca52ca2f63bac0a02273dab7b80fd3cf1c788d9700"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::main (cognitive 87): retrace::main has cognitive complexity 87 (threshold 15). Drivers by points: if/else 35 (42 pts), boolean chains 24, match/switch 11 (17 pts), loops 3 (4 pts) (nesting depth added 14). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/main.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bba2cd61b0fc78576e8f4b98857b1cda36feae3cb97ef60325825c65384161"}},{"ruleId":"D2","level":"warning","message":{"text":"Collector::event (cognitive 86): Collector::event has cognitive complexity 86 (threshold 15). Drivers by points: if/else 38 (76 pts), match/switch 4 (6 pts), boolean chains 4 (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/profile.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd8409d459c0e917eadfaa5afd0d6efa0728a594b713517101957718a96995e"}},{"ruleId":"D2","level":"warning","message":{"text":"games::bin::sokoban_gen::generate_room (cognitive 85): games::bin::sokoban_gen::generate_room has cognitive complexity 85 (threshold 15). Drivers by points: if/else 13 (39 pts), loops 19 (36 pts), boolean chains 7, match/switch 1 (3 pts) (nesting depth added 45). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/bin/sokoban_gen.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba65d05fc46fd409abce82d2a23a6b7ad8354097dee5a341de6ebec0bfea55a1"}},{"ruleId":"D2","level":"warning","message":{"text":"games::games::run_game (cognitive 85): games::games::run_game has cognitive complexity 85 (threshold 15). Drivers by points: if/else 16 (53 pts), match/switch 7 (26 pts), loops 2 (6 pts) (nesting depth added 60). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9098c33281f0660cb38a8a6a5cbb4cc6f3fea624b28185e4558eaa5285139ca"}},{"ruleId":"D2","level":"warning","message":{"text":"AstModule::get_auto_complete_type::walk_and_find_completion_type (cognitive 82): AstModule::get_auto_complete_type::walk_and_find_completion_type has cognitive complexity 82 (threshold 15). Drivers by points: if/else 25 (62 pts), match/switch 6 (14 pts), loops 3 (6 pts) (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/inspect.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce32fcd4c43ade0c501d1065c625691d22cfd0456b1dced4c71abca9d90a66ec"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::parse::parse_opts_with_threads_cancellable (cognitive 81): retrace::parse::parse_opts_with_threads_cancellable has cognitive complexity 81 (threshold 15). Drivers by points: if/else 34 (58 pts), loops 9 (14 pts), boolean chains 6, match/switch 1 (3 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/parse.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dccdf5629d6ac9e13698a3768ba4ab58a5bdbca10d6e7604a3eca20424501f"}},{"ruleId":"D2","level":"warning","message":{"text":"ProgressHeader::draw_unchecked (cognitive 80): ProgressHeader::draw_unchecked has cognitive complexity 80 (threshold 15). Drivers by points: if/else 39 (69 pts), match/switch 4 (8 pts), boolean chains 2, loops 1 (nesting depth added 34). Of this number, 78 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole/header.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"9908795b562f9fa47b4aab8226b1f23e91ae18d28f8d65ed8c8f451bc1667157"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaSourceInfoKt.scanJavaTextual (cognitive 80): JavaSourceInfoKt.scanJavaTextual has cognitive complexity 80 (threshold 15). Drivers by points: if/else 28 (55 pts), loops 6 (10 pts), boolean chains 9, match/switch 3 (6 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/JavaSourceInfo.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"19813029043b5fe5b10807680737d9a24ac12e851cb48f7ea3e19251a9edc5ec"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::detail::popup_rows (cognitive 79): retrace::detail::popup_rows has cognitive complexity 79 (threshold 15). Drivers by points: if/else 34 (59 pts), loops 4 (9 pts), match/switch 2 (6 pts), boolean chains 5 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/detail.rs"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d145a0c637c31920d9f48df2c42a8e61d5177f92a400d3ba5037cbc49f3ed2"}},{"ruleId":"D2","level":"warning","message":{"text":"ChromeTraceWriter::handle_event (cognitive 78): ChromeTraceWriter::handle_event has cognitive complexity 78 (threshold 15). Drivers by points: if/else 25 (55 pts), match/switch 9 (16 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 41). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_log_common/src/chrome_trace.rs"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c1fc81d99641b792a8da986a48746dc250bf4c9e5f2cc112edaf5aa7f15918"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::widgets::act_table (cognitive 78): retrace::gui::widgets::act_table has cognitive complexity 78 (threshold 15). Drivers by points: if/else 43 (56 pts), loops 6 (11 pts), match/switch 3 (6 pts), boolean chains 5 (nesting depth added 21). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/widgets.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf34d74d63b1da1af49ccaeac069aade0e41cf1311438337dd2fc7c01af6b025"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphImpl2.GraphImpl2 (cognitive 76): GraphImpl2.GraphImpl2 has cognitive complexity 76 (threshold 15). Drivers by points: if/else 20 (46 pts), loops 14 (26 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 39). Of this number, 74 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/output_format_js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9a9124f935b18da6a2909093afd6fef5e03fe3fe6c3550ea451bd64467412c"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphImpl2.GraphImpl2 (cognitive 75): GraphImpl2.GraphImpl2 has cognitive complexity 75 (threshold 15). Drivers by points: if/else 19 (45 pts), loops 13 (26 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfedf233699472cc65666cf8855f8a2bb8a6ae06225ab5612f33d285f59347a7"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::dag::build_full_with_cancel (cognitive 73): retrace::dag::build_full_with_cancel has cognitive complexity 73 (threshold 15). Drivers by points: if/else 17 (46 pts), loops 6 (14 pts), match/switch 3 (9 pts), boolean chains 4 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/dag.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8845e084a42433e5a35dbbdb13bdaee51070abe0b00cd622a563c8e826a5e10"}},{"ruleId":"D2","level":"warning","message":{"text":"Expr::render (cognitive 66): Expr::render has cognitive complexity 66 (threshold 15). Drivers by points: if/else 17 (39 pts), loops 9 (22 pts), match/switch 3 (5 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/fuzz_starlark.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"696706c906e1d46cf8d3ef6a7abdf62a4c5f039f46afa14d9eb63a93e2ab5f01"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::sim::standard_whatifs_cancellable (cognitive 65): retrace::sim::standard_whatifs_cancellable has cognitive complexity 65 (threshold 15). Drivers by points: if/else 28 (43 pts), boolean chains 11, loops 8 (11 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/sim.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1467283d08457841c1aaafd8cdf00d45b7ca91456f353bddc0aaefc6b66141"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionUi::show (cognitive 63): ExecutionUi::show has cognitive complexity 63 (threshold 15). Drivers by points: if/else 36 (52 pts), boolean chains 5, match/switch 2 (5 pts), loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/execution_ui.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ef99e7c5e963811e49a41aded6c443673a53f37129ebfee950f24816c790f0"}},{"ruleId":"D2","level":"warning","message":{"text":"K2JvmAbiFirAnalysisHandlerExtension.findClassIdForImportWithProperty (cognitive 63): K2JvmAbiFirAnalysisHandlerExtension.findClassIdForImportWithProperty has cognitive complexity 63 (threshold 15). Drivers by points: if/else 19 (55 pts), boolean chains 7, loops 1 (nesting depth added 36). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecad3948e24f04b69f7a6db93a5f227a69f3b7809038e5ecc348d00c2667751"}},{"ruleId":"D2","level":"warning","message":{"text":"Game::tick (cognitive 62): Game::tick has cognitive complexity 62 (threshold 15). Drivers by points: if/else 15 (37 pts), loops 6 (18 pts), match/switch 2 (5 pts), boolean chains 2 (nesting depth added 37). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/blocks.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b1dc165a7b8eacb9526022e9c5c688153568242f30ccbe519d281dc6052d9c"}},{"ruleId":"D2","level":"warning","message":{"text":"BuckTarget.Normalise (cognitive 62): BuckTarget.Normalise has cognitive complexity 62 (threshold 15). Drivers by points: loops 16 (38 pts), if/else 8 (22 pts), boolean chains 2 (nesting depth added 36). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/go/tools/gobuckify/lib/buck.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ec388d0c742437ec96eee576510a41ec3859121c68883496eacb71e97fd75c"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::detail_ui::show_detail_ui (cognitive 61): retrace::gui::detail_ui::show_detail_ui has cognitive complexity 61 (threshold 15). Drivers by points: if/else 30 (52 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bfd4307bb8f946c0e6abaf280689f2e071bafce2d6804efed49b2b8c6b5a76"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_action_impl::context::run::analysis_actions_methods_run::run (cognitive 60): buck2_action_impl::context::run::analysis_actions_methods_run::run has cognitive complexity 60 (threshold 15). Drivers by points: if/else 22 (35 pts), loops 8 (14 pts), match/switch 8 (10 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/context/run.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe791cba204d6f68ce66d445c12013d1a144128166a5be3831d9438b31be39c1"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::graph::load_graph_with_workers (cognitive 60): retrace::graph::load_graph_with_workers has cognitive complexity 60 (threshold 15). Drivers by points: if/else 22 (38 pts), loops 12 (15 pts), boolean chains 7 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/graph.rs"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1a19aaef040cd1d4065bf2bf005d64bdb2d451c3d17638e5a366f49e2464db"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::ingest::emit::emit_with_options_and_execution (cognitive 60): retrace::ingest::emit::emit_with_options_and_execution has cognitive complexity 60 (threshold 15). Drivers by points: if/else 29 (37 pts), match/switch 5 (10 pts), boolean chains 7, loops 5 (6 pts) (nesting depth added 14). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/emit.rs"},"region":{"startLine":2457}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad81026e1bd20983f76a000add74ad5901c9f92c2dcc8ba10edc1a20ee8f6d2"}},{"ruleId":"D2","level":"warning","message":{"text":"InvocationRecorder::handle_snapshot (cognitive 59): InvocationRecorder::handle_snapshot has cognitive complexity 59 (threshold 15). Drivers by points: if/else 54 (55 pts), loops 3, boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/recorder.rs"},"region":{"startLine":2206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce73d023eda73a700ab08bfe0e945920668d5f2f34b2c2e387b6322e6ba4a5c8"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildReportCollector::convert (cognitive 58): BuildReportCollector::convert has cognitive complexity 58 (threshold 15). Drivers by points: if/else 15 (41 pts), loops 7 (15 pts), match/switch 1 (2 pts) (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/build/build_report.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e82ef22c98049b1ac31af810a8fef0b4e22191e51c552c8a36d79812294cc5a"}},{"ruleId":"D2","level":"warning","message":{"text":"BindingsCollect::visit (cognitive 58): BindingsCollect::visit has cognitive complexity 58 (threshold 15). Drivers by points: if/else 9 (41 pts), match/switch 5 (14 pts), loops 1 (3 pts) (nesting depth added 43). Of this number, 55 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/bindings.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c19ffa2bf222376252eb51c828fe8df9bd3b1d5b900fb6a2f619b531d516582"}},{"ruleId":"D2","level":"warning","message":{"text":"DefParams::unpack (cognitive 58): DefParams::unpack has cognitive complexity 58 (threshold 15). Drivers by points: if/else 19 (46 pts), match/switch 5 (10 pts), boolean chains 1, loops 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/def.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"02914f061fac0f33120639d801b2aef82249069fcb6ead0b6dae25da295e8035"}},{"ruleId":"D2","level":"warning","message":{"text":"rustc_action.main (cognitive 58): rustc_action.main has cognitive complexity 58 (threshold 15). Drivers by points: if/else 25 (39 pts), boolean chains 9, loops 3 (6 pts), ternaries 2 (4 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/rust/tools/rustc_action.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe699ec445c7c3235e26c9c0c742346136a760009db00bb748bbe75f4a891630"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::dag::cp_chain (cognitive 56): retrace::dag::cp_chain has cognitive complexity 56 (threshold 15). Drivers by points: if/else 9 (29 pts), loops 10 (16 pts), match/switch 3 (9 pts), boolean chains 2 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/dag.rs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1399d51a81feb1c2ff0ee88255338770d49646466c8b8a2047f811874a4089c"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::update_ready (cognitive 56): retrace::gui::update_ready has cognitive complexity 56 (threshold 15). Drivers by points: if/else 22 (31 pts), loops 6 (12 pts), match/switch 3 (8 pts), boolean chains 5 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ff9b249f0fef88407ee7edc6c535980ac1d9f22d0c188282d57c775a77dfc6"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::ingest::scan::validate_graph_identity (cognitive 56): retrace::ingest::scan::validate_graph_identity has cognitive complexity 56 (threshold 15). Drivers by points: if/else 20 (41 pts), loops 8 (10 pts), boolean chains 5 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/scan.rs"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"754986be9dac17d7f74612f1d4a88b14a951eef8ff7c2e647ab7d9db91fd91a9"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfiguredAttr::concat (cognitive 55): ConfiguredAttr::concat has cognitive complexity 55 (threshold 15). Drivers by points: match/switch 7 (25 pts), loops 5 (18 pts), if/else 4 (11 pts), boolean chains 1 (nesting depth added 38). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/configured_attr.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46bd643e339cdd7f6160807308812153f2f6c9b3f464d662da202193fd88177"}},{"ruleId":"D2","level":"warning","message":{"text":"games::bin::sokoban_gen::expand_box_lines (cognitive 55): games::bin::sokoban_gen::expand_box_lines has cognitive complexity 55 (threshold 15). Drivers by points: if/else 9 (33 pts), loops 6 (15 pts), boolean chains 7 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/bin/sokoban_gen.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"77695118cff5b7cf161df4e5894cd3c2b3eab598f1932f0a79d27a18983ec148"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionUi::fetch_ui (cognitive 55): ExecutionUi::fetch_ui has cognitive complexity 55 (threshold 15). Drivers by points: if/else 21 (50 pts), boolean chains 5 (nesting depth added 29). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/execution_ui.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dca025e6f28e903111037419746fcd0fa940ba75a344ec376f4280e39e897b0"}},{"ruleId":"D2","level":"warning","message":{"text":"StructuralListArgSorter::visit_expr (cognitive 53): StructuralListArgSorter::visit_expr has cognitive complexity 53 (threshold 15). Drivers by points: if/else 14 (38 pts), match/switch 3 (8 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/autofixes/sort_list_args/structural.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6981d510e6addfa70de4888f6e483ecf31ddd76eac2bc19fba1f62e3ec51054"}},{"ruleId":"D2","level":"warning","message":{"text":"BootstrapBuckdClient::connect (cognitive 52): BootstrapBuckdClient::connect has cognitive complexity 52 (threshold 15). Drivers by points: if/else 14 (37 pts), match/switch 5 (12 pts), boolean chains 3 (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/daemon/client/connect.rs"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2ea50ff2d558389af7842f21d132c774408963734a5e2e850dc254fdce2a28"}},{"ruleId":"D2","level":"warning","message":{"text":"StubJar.writeTo (cognitive 52): StubJar.writeTo has cognitive complexity 52 (threshold 15). Drivers by points: if/else 13 (28 pts), loops 7 (15 pts), boolean chains 7, ternaries 2 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/StubJar.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb91c0fb656a65926004855a87ef642f568ee0c595bd3d60e6ba0b2a66e6b1a7"}},{"ruleId":"D2","level":"warning","message":{"text":"Game::update (cognitive 51): Game::update has cognitive complexity 51 (threshold 15). Drivers by points: if/else 21 (38 pts), boolean chains 6, loops 3 (5 pts), match/switch 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/breakout.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8625824b110cdf256c6b776562ef2fe2ac66088c8eb93056af2b83fcdd945e"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer::string (cognitive 51): Lexer::string has cognitive complexity 51 (threshold 15). Drivers by points: if/else 15 (38 pts), match/switch 3 (8 pts), boolean chains 3, loops 2 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79f9021dd8bd6e38f9544cfb3603554bd158e526dd8a631e6f2ddbfc1e3e22a"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::analyses::overview_rows (cognitive 51): retrace::analyses::overview_rows has cognitive complexity 51 (threshold 15). Drivers by points: if/else 26 (33 pts), match/switch 9 (16 pts), loops 1 (2 pts) (nesting depth added 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/analyses.rs"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8994f2b3028749cbc7ff07b46591be41405a27b42b86c0ea4491b3b40a34255"}},{"ruleId":"D2","level":"warning","message":{"text":"D8ExecutableMain.run (cognitive 51): D8ExecutableMain.run has cognitive complexity 51 (threshold 15). Drivers by points: if/else 23 (35 pts), boolean chains 8, ternaries 4 (5 pts), loops 1 (2 pts), error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/dex/D8ExecutableMain.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c415b6dc0528c0b97b1f75ef467e24bee28fd1f7062bfff968f87f259e6297d"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_interpreter_for_build::rule::validate_execution_groups (cognitive 50): buck2_interpreter_for_build::rule::validate_execution_groups has cognitive complexity 50 (threshold 15). Drivers by points: if/else 16 (26 pts), match/switch 8 (17 pts), loops 4 (5 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/rule.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c6ab6e4bbd1b1d89aac4980666433de2c26b92e777b85d7ef88bda51aafe0f"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::menu_bar (cognitive 50): retrace::gui::menu_bar has cognitive complexity 50 (threshold 15). Drivers by points: if/else 29 (38 pts), match/switch 4 (6 pts), boolean chains 3, loops 3 (nesting depth added 11). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":2455}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86bd16207e34d7941b514034c818ded439076ee85fc7ebf0a83cdcb695ea507"}},{"ruleId":"D2","level":"warning","message":{"text":"JUnitRunner.run (cognitive 50): JUnitRunner.run has cognitive complexity 50 (threshold 15). Drivers by points: if/else 18 (39 pts), loops 2 (5 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35e0e7345ef2ba027c3e6fbaee02e4d3d30f8a8a0d4e94933c8be07e7371f86"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionResultsTab.ActionsView (cognitive 50): ActionResultsTab.ActionsView has cognitive complexity 50 (threshold 15). Drivers by points: boolean chains 17, if/else 14 (16 pts), ternaries 7 (11 pts), loops 4, match/switch 2 (nesting depth added 6). Most of this is not in the body itself: 11 of the 50 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 139, a function literal at line 212, a function literal at line 221, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ea4949b2baecb69f1bd06229efe3f02b8de3ef96bdb4ebb9822f160d7517a4"}},{"ruleId":"D2","level":"warning","message":{"text":"CleanStaleArtifactsCommand::scan_and_create_clean_fut (cognitive 49): CleanStaleArtifactsCommand::scan_and_create_clean_fut has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (26 pts), match/switch 8 (18 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0e7565c120338cdfef9362210e2d01b9f1984d67db71b0ac58bcbd0d27ae91"}},{"ruleId":"D2","level":"warning","message":{"text":"GlobalTypesBuilder::from_type_expr_impl (cognitive 48): GlobalTypesBuilder::from_type_expr_impl has cognitive complexity 48 (threshold 15). Drivers by points: match/switch 10 (27 pts), if/else 10 (21 pts) (nesting depth added 28). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/fill_types_for_lint.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e0c204857da10a350a150fee802941c48c5686ba030650fd794436b07c28c8"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::graph::scan_object (cognitive 48): retrace::graph::scan_object has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (30 pts), match/switch 4 (11 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/graph.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5be70ef523023df4ebcb017e39ecbf40d835bd5c00ff5769de93bd086bca14c"}},{"ruleId":"D2","level":"warning","message":{"text":"CrashAnalyzer.extractSignalCode (cognitive 48): CrashAnalyzer.extractSignalCode has cognitive complexity 48 (threshold 15). Drivers by points: if/else 25 (30 pts), boolean chains 18 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/testrunner/CrashAnalyzer.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ba7acbb3ad1e236f1ff27e8f9261ac54d507cb041047e204b71678bb3f0bfe"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryPagableStorage::page_out_pending (cognitive 47): InMemoryPagableStorage::page_out_pending has cognitive complexity 47 (threshold 15). Drivers by points: if/else 7 (27 pts), loops 5 (16 pts), match/switch 1 (4 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pagable/src/storage/in_memory.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b336bdcc3b1efff055e39784629ae6c9914e9ce6231e98061c6395e6b26bab1"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer::bytes_string (cognitive 47): Lexer::bytes_string has cognitive complexity 47 (threshold 15). Drivers by points: if/else 13 (34 pts), match/switch 3 (8 pts), boolean chains 3, loops 2 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d140ad6eb6bf2d21daff5b34267adb2256c59584b6c3d0f42ebfb0117cd57c"}},{"ruleId":"D2","level":"warning","message":{"text":"HybridExecutor::exec_cmd (cognitive 46): HybridExecutor::exec_cmd has cognitive complexity 46 (threshold 15). Drivers by points: if/else 24 (36 pts), boolean chains 6, match/switch 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/hybrid.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8f9a0e88034fdfa2bee22233d40370aea62342b19967bfcb63a9e10124d1fa"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark_derive::module::parse::fun::parse_fun (cognitive 46): starlark_derive::module::parse::fun::parse_fun has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (30 pts), match/switch 4 (10 pts), boolean chains 5, loops 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/module/parse/fun.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"39960c6abb322127dd4e02e1c1c9ea68149e2a00947e338748f7a79dccf8aecb"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::findings::serialization_windows (cognitive 46): retrace::findings::serialization_windows has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (30 pts), boolean chains 7, loops 5 (7 pts), match/switch 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/findings.rs"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b75603263a5cf27a949a707bc7fe2972386693963cfc50c444c2cbbd4314b8e"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiDexExecutableMain.run (cognitive 46): MultiDexExecutableMain.run has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (19 pts), ternaries 4 (10 pts), error handling 3 (9 pts), boolean chains 4, loops 1 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/dex/MultiDexExecutableMain.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"db712fe1b0799b812261d06df45964e48cb6ac393e1e94a8d087fe87126cc312"}},{"ruleId":"D2","level":"warning","message":{"text":"swift_exec.main (cognitive 46): swift_exec.main has cognitive complexity 46 (threshold 15). Drivers by points: if/else 18 (29 pts), loops 6 (13 pts), boolean chains 4 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/swift_exec.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e51b553f8172dceea23198cd33ff25d4e654e4ca9cf570b59451f57ffa3adb1"}},{"ruleId":"D2","level":"warning","message":{"text":"StatefulSuperConsoleImpl::handle_games_control (cognitive 45): StatefulSuperConsoleImpl::handle_games_control has cognitive complexity 45 (threshold 15). Drivers by points: if/else 17 (40 pts), match/switch 3 (5 pts) (nesting depth added 25). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole.rs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d63616d90e89e7872c6f3b07cab35df852bf6ebe05dc765e3043e3282c37816"}},{"ruleId":"D2","level":"warning","message":{"text":"AttrType::coerce_item (cognitive 45): AttrType::coerce_item has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (24 pts), match/switch 9 (21 pts) (nesting depth added 22). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/anon_target_attr_coerce.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed48ff6fd1851e34cb1757af515267abd565818f53bb0a8a9d626030322cd85"}},{"ruleId":"D2","level":"warning","message":{"text":"Solver::solve (cognitive 45): Solver::solve has cognitive complexity 45 (threshold 15). Drivers by points: if/else 9 (27 pts), loops 6 (14 pts), boolean chains 4 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/sokoban.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b780b3572114a974105751ea9813124d02f99de938f63ec881e01057768e92e"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::detail_ui::det_activity (cognitive 45): retrace::gui::detail_ui::det_activity has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (30 pts), loops 5 (9 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"362ec782de82c77e5d7b44ba39bb6234546aedd0f097b90987b9500506bd9c74"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_cmd_targets_server::targets::streaming::targets_streaming (cognitive 44): buck2_cmd_targets_server::targets::streaming::targets_streaming has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (30 pts), match/switch 2 (9 pts), loops 3 (5 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_targets_server/src/targets/streaming.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb22643bd666203eca3dbc739b07d8f805104b89b7ed3eb5b10ce03de68b8a7"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_query_impls::dice::aquery::compute_tset_node (cognitive 44): buck2_query_impls::dice::aquery::compute_tset_node has cognitive complexity 44 (threshold 15). Drivers by points: if/else 8 (25 pts), loops 5 (11 pts), match/switch 2 (5 pts), boolean chains 3 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/dice/aquery.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6901a2db24e38f37721f770a52927750f20267fa8a15d71099b21737de418fd"}},{"ruleId":"D2","level":"warning","message":{"text":"LspModule::find_exported_symbol_and_member (cognitive 44): LspModule::find_exported_symbol_and_member has cognitive complexity 44 (threshold 15). Drivers by points: if/else 7 (31 pts), match/switch 3 (8 pts), loops 2 (5 pts) (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/definition.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"f007087fb32c1daaf19962ac3b11caee2291505d8bb63637ecb669522dc94244"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_client_ctx::daemon::client::connect::establish_connection_inner (cognitive 43): buck2_client_ctx::daemon::client::connect::establish_connection_inner has cognitive complexity 43 (threshold 15). Drivers by points: if/else 9 (23 pts), match/switch 6 (17 pts), boolean chains 3 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/daemon/client/connect.rs"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e8317ea481a452bee32f2f4c2570c933dbe7a8dd4dcef0cacee6d1505a55ef"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseDeferredKey::make_hashed_path (cognitive 43): BaseDeferredKey::make_hashed_path has cognitive complexity 43 (threshold 15). Drivers by points: if/else 18 (38 pts), match/switch 2 (3 pts), loops 1 (2 pts) (nesting depth added 22). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/deferred/base_deferred_key.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61c380e0cdcb776179396ef54c88f012174826fd0f85f81da71c17c6d6c9b41"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_execute_impl::materializers::deferred::clean_stale::create_clean_fut (cognitive 43): buck2_execute_impl::materializers::deferred::clean_stale::create_clean_fut has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (21 pts), match/switch 8 (15 pts), loops 5 (6 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"2590bcc57ec3a3ff99eb726a834f3db1a136d77745f67a630350638d5d751c82"}},{"ruleId":"D2","level":"warning","message":{"text":"SettingsReport::render (cognitive 43): SettingsReport::render has cognitive complexity 43 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 6 (13 pts), match/switch 4 (11 pts), boolean chains 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_settings/src/report.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd73cdd5d2a5f6f4bc0be18fe23eea7a5012cc6c7cf7e5f18cc32147d6e70e2"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::detail::cache_diagnostic_lines (cognitive 43): retrace::detail::cache_diagnostic_lines has cognitive complexity 43 (threshold 15). Drivers by points: if/else 16 (27 pts), match/switch 5 (12 pts), loops 2 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/detail.rs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a1f2e7f474408f4cf2a765de5d1f8f41c20f9f29a979ad615c557facf7c5eb"}},{"ruleId":"D2","level":"warning","message":{"text":"CentralDirectoryFileHeader.read (cognitive 43): CentralDirectoryFileHeader.read has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (37 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/util/zip/CentralDirectoryFileHeader.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5c37e3437e4ee21da52608ec50cf9d2b562a479aad53f22ace379cd015f139"}},{"ruleId":"D2","level":"warning","message":{"text":"merge_sequence.get_native_linkables_by_merge_sequence (cognitive 43): merge_sequence.get_native_linkables_by_merge_sequence has cognitive complexity 43 (threshold 15). Drivers by points: if/else 5 (21 pts), loops 8 (19 pts), boolean chains 3 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/android/tools/merge_sequence.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"5101f86bd619c22abc94750cad85ed1cde022e764d3c84690428af38c0c9f617"}},{"ruleId":"D2","level":"warning","message":{"text":"rustc_action.handle_output (cognitive 43): rustc_action.handle_output has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (35 pts), loops 2 (5 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/rust/tools/rustc_action.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"17da3e5ea6f3411970081a4e9c5c4bd0400df26d663916210affbc143c9bbdb9"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_client::commands::clean::clean_buck_out_pass (cognitive 42): buck2_client::commands::clean::clean_buck_out_pass has cognitive complexity 42 (threshold 15). Drivers by points: match/switch 7 (17 pts), if/else 6 (16 pts), loops 5 (9 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client/src/commands/clean.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdb11e6abab5ed885d98eb1c0084c2ce4f8822ca30235fa7da893f9f1f0779b"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandExecutorFactory::get_command_executor (cognitive 42): CommandExecutorFactory::get_command_executor has cognitive complexity 42 (threshold 15). Drivers by points: if/else 21 (31 pts), boolean chains 6, match/switch 3 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/common.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f56c094d28b754a42f79428bfdd060700b0c652e6adef39fd14e20686c8fb0"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_server_commands::explain_code::explain (cognitive 42): buck2_server_commands::explain_code::explain has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (31 pts), loops 4 (9 pts), boolean chains 2 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_commands/src/explain_code.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1202278e842cf58ead3e006d0ecfb14d76e17c98469bc9e706751a4c03225707"}},{"ruleId":"D2","level":"warning","message":{"text":"Game::check_for_matches (cognitive 42): Game::check_for_matches has cognitive complexity 42 (threshold 15). Drivers by points: loops 8 (24 pts), if/else 4 (10 pts), match/switch 2 (6 pts), boolean chains 2 (nesting depth added 26). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/blocks.rs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ea05d36337817546c6cd4b86829d657acfb384c87a51b819fb10ff5d29716c"}},{"ruleId":"D2","level":"warning","message":{"text":"TypingOracleCtx::validate_args (cognitive 42): TypingOracleCtx::validate_args has cognitive complexity 42 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 7 (13 pts), match/switch 3 (8 pts), boolean chains 2 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/oracle/ctx.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8b8d7219b6a1e00a5f3034c2acd95235adde901c72af40cb1d29669296fd4c"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::graph::find_cycles (cognitive 42): retrace::graph::find_cycles has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (32 pts), loops 4 (8 pts), boolean chains 2 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/graph.rs"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4108c90a2cfa6d8c2bfc6e9a67c44422fb16b1f8a6b25f5731f462c045cf2a"}},{"ruleId":"D2","level":"warning","message":{"text":"KwargSorter::process_call (cognitive 42): KwargSorter::process_call has cognitive complexity 42 (threshold 15). Drivers by points: if/else 20 (33 pts), loops 5 (8 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/autofixes/sort_kwargs.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37e3c8638a9a871e941a9f32e19eff03f4ccd9ef45bf6d98177f0d67051cd26"}},{"ruleId":"D2","level":"warning","message":{"text":"MissingTypeCollectorVisitor.checkTypeResolvableRecursively (cognitive 42): MissingTypeCollectorVisitor.checkTypeResolvableRecursively has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 2 (9 pts), match/switch 3 (8 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 23). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1551ead02dbfc411f4ab647243a364aaee8a687353a6325a5faec913bd6afe1"}},{"ruleId":"D2","level":"warning","message":{"text":"make_py_package_modules.create_modules_dir (cognitive 42): make_py_package_modules.create_modules_dir has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 10 (17 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/python/tools/make_py_package_modules.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21be6feebec26df7d0521ce4fbc3cf194bbbfc1acb75eee698e4be061449868"}},{"ruleId":"D2","level":"warning","message":{"text":"useEventLogState.useEventLogState.filteredEvents (cognitive 42): useEventLogState.useEventLogState.filteredEvents has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (33 pts), loops 2 (5 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 25). Of this number, 38 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/event-log/useEventLogState.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd21c99736f096dd722cf0fcd201752ac6d309c08a7b86b6770da10e9273cebd"}},{"ruleId":"D2","level":"warning","message":{"text":"Uploader::upload (cognitive 41): Uploader::upload has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 4 (7 pts), match/switch 3 (7 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/uploader.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e043c920adc5e95a4758d097d6f88aed4e3de16c34d56a371c6c7e1cf0d30c31"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_settings_derive::parse_setting_args (cognitive 41): buck2_settings_derive::parse_setting_args has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (30 pts), loops 3 (7 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_settings_derive/src/lib.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b81bf89045f7fcbb36fbc6bb91577e5c500f9cf383c90850928be0ef6e5785"}},{"ruleId":"D2","level":"warning","message":{"text":"DiceExecutionOrder::execute_once (cognitive 41): DiceExecutionOrder::execute_once has cognitive complexity 41 (threshold 15). Drivers by points: if/else 5 (23 pts), match/switch 4 (12 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/fuzzy_dice/src/execution.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b9425d7d5c8502a6dff5b85d9011a4de9438128a1b0b8d7d0fa40f2e8ca439"}},{"ruleId":"D2","level":"warning","message":{"text":"fat_jar.main (cognitive 41): fat_jar.main has cognitive complexity 41 (threshold 15). Drivers by points: if/else 21 (27 pts), boolean chains 8, loops 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/java/tools/fat_jar.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0084bc42bedbaac8a148b42ace88642e72e217197d818fe2f81aac17a5320b"}},{"ruleId":"D2","level":"warning","message":{"text":"dispatch-worker.handleMessage (cognitive 41): dispatch-worker.handleMessage has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 5 (15 pts), if/else 8 (14 pts), error handling 4 (9 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 22). Of this number, 31 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/parallel-decode/dispatch-worker.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4c9f98a45a1a2752445cb49ffc8fdd3dab04327d1dffd0f052f4dcf4ca1ecb"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_cmd_log_client::snoop::snoop_one (cognitive 40): buck2_cmd_log_client::snoop::snoop_one has cognitive complexity 40 (threshold 15). Drivers by points: match/switch 10 (24 pts), if/else 7 (15 pts), loops 1 (nesting depth added 22). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/snoop.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cb8123222839c3580dc9abcc43f592ce305a4aac183399abf7e69cac580a35"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionErrorDisplay::simple_format_inner (cognitive 40): ActionErrorDisplay::simple_format_inner has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (31 pts), match/switch 3 (5 pts), loops 1 (4 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_observer/src/display.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1e0f694e009ea4726b5ff6661e9637c142c4e82c50d30d3e424f79aaa5f66a"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteExecutionClientImpl::new (cognitive 40): RemoteExecutionClientImpl::new has cognitive complexity 40 (threshold 15). Drivers by points: if/else 24 (29 pts), match/switch 3 (7 pts), boolean chains 4 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2823d9b3306a5a692634637a00a9a836ecb43e916b5635da393c96e96a02fd"}},{"ruleId":"D2","level":"warning","message":{"text":"Cleaner::run_inner (cognitive 40): Cleaner::run_inner has cognitive complexity 40 (threshold 15). Drivers by points: match/switch 10 (17 pts), if/else 13 (15 pts), loops 5 (7 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/v2/clean_stale.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"de33ee3864f9c004c9a101420180eb2ba8220d0e0153aaf93d2ad85d958f3c2b"}},{"ruleId":"D2","level":"warning","message":{"text":"pagable_derive::typetag::pagable_typetag_impl (cognitive 40): pagable_derive::typetag::pagable_typetag_impl has cognitive complexity 40 (threshold 15). Drivers by points: match/switch 8 (21 pts), if/else 11 (16 pts), loops 1 (3 pts) (nesting depth added 20). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pagable_derive/src/typetag.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62e4e309cd9318c3f6e196610c0121dc366bf55f9d1ee5500d03c60344d6251"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::command_ui::inspector (cognitive 40): retrace::gui::command_ui::inspector has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (35 pts), match/switch 2 (3 pts), loops 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/command_ui.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"b233dc94c6fcfff7597349596aa1950e13e870213aaf611212794cc86f823cf5"}},{"ruleId":"D2","level":"warning","message":{"text":"ApkBuilder.addNativeLibraries (cognitive 40): ApkBuilder.addNativeLibraries has cognitive complexity 40 (threshold 15). Drivers by points: if/else 8 (19 pts), error handling 2 (14 pts), loops 2 (7 pts) (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/apk/sdk/ApkBuilder.java"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb27c44a102e6d3f2d83340cf64a98e3557dd982664f85adb33b4bc988e0047c"}},{"ruleId":"D2","level":"warning","message":{"text":"PostEnterCanonicalizer.getCanonicalType (cognitive 40): PostEnterCanonicalizer.getCanonicalType has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (22 pts), ternaries 4 (8 pts), boolean chains 4, error handling 2 (4 pts), loops 1, match/switch 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/PostEnterCanonicalizer.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2885a02fed06b490a5ec848128dbf5005d119143cd6ffbd1901ba161084f880"}},{"ruleId":"D2","level":"warning","message":{"text":"merge_sequence.post_order_traversal_by (cognitive 40): merge_sequence.post_order_traversal_by has cognitive complexity 40 (threshold 15). Drivers by points: if/else 5 (16 pts), ternaries 2 (13 pts), loops 3 (11 pts) (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/android/tools/merge_sequence.py"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4d9ceb58deb6b871fdfcecd0f5993365d0d5260fc0cd31c651ee35a8b19424"}},{"ruleId":"D2","level":"warning","message":{"text":"LoadTreemap.LoadTreemap (cognitive 40): LoadTreemap.LoadTreemap has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 12 (16 pts), boolean chains 11, if/else 10 (11 pts), loops 2 (nesting depth added 5). Of this number, 21 points are the body\u0027s own statements and 19 belong to 9 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/LoadTreemap.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c155b48dfc9343127742699d31f160a690aee44ad8d6090a839ae1d1fb0b662b"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_cmd_audit_server::providers::server_execute_with_dice (cognitive 39): buck2_cmd_audit_server::providers::server_execute_with_dice has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 5 (9 pts), match/switch 2 (7 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_audit_server/src/providers.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4301b4d9ebd0a877d217accb416cc6c27c78edacb10fb4fbe6d152b4750f033a"}},{"ruleId":"D2","level":"warning","message":{"text":"LegacyConfigFileParser::parse_lines (cognitive 39): LegacyConfigFileParser::parse_lines has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (29 pts), match/switch 1 (5 pts), boolean chains 4, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/legacy_configs/parser.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"f793ed0b1d1a0f0c827adec8fa0cc092647f9a86f582c97bbf439e6996a396ec"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_interpreter_for_build::attrs::coerce::coerced_attr::coerce_inner (cognitive 39): buck2_interpreter_for_build::attrs::coerce::coerced_attr::coerce_inner has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (25 pts), match/switch 3 (11 pts), loops 1 (3 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/attrs/coerce/coerced_attr.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d33cfd4a173c7bdd42619121086a785ce56b41f7a1b04b116c7185107bcde0"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_query::query::graph::async_bfs::async_bfs_find_path (cognitive 39): buck2_query::query::graph::async_bfs::async_bfs_find_path has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (27 pts), match/switch 3 (7 pts), loops 3 (5 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query/src/query/graph/async_bfs.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ffb22d90dd2a539dc87118afa3a595812a0cefec6ee5652621d987d269be19"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreState::fork (cognitive 39): CoreState::fork has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 8 (11 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice_core/src/fork.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc2b46c23cb815fe710dcab2be1d40a06fa219ea9a4395ae1d6ff30933efc77"}},{"ruleId":"D2","level":"warning","message":{"text":"TypingOracleCtx::expr_bin_op_ty_basic_lhs (cognitive 39): TypingOracleCtx::expr_bin_op_ty_basic_lhs has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (32 pts), match/switch 4 (7 pts) (nesting depth added 19). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/oracle/ctx.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"035f5bf7f2b5dd4df90d2e698e598e08ee6b7d27186a55f91b8f888947a9ddc1"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_interpreter_for_build::interpreter::functions::xml::parse_xml (cognitive 38): buck2_interpreter_for_build::interpreter::functions::xml::parse_xml has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (26 pts), match/switch 3 (8 pts), loops 2 (4 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/interpreter/functions/xml.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbbd5ee4173444154569a047a090df2425fa961265db2db0a6041c683a39182"}},{"ruleId":"D2","level":"warning","message":{"text":"Game::input (cognitive 38): Game::input has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (30 pts), match/switch 3 (5 pts), boolean chains 3 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/minesweeper.rs"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"90441db654e9b79d228afb0266701972d74564efef4875105f33a30881015ec6"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark::values::types::int::globals::register_int::int (cognitive 38): starlark::values::types::int::globals::register_int::int has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (24 pts), match/switch 5 (9 pts), boolean chains 5 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/int/globals.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83e37e5004378c5600f636d2ff6cc5d191b70d518b697a17177c2db92deac12"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark_bin::bin::main (cognitive 38): starlark_bin::bin::main has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (26 pts), loops 2 (6 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_bin/bin/main.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78afdcf5cadd3254903e4f876fe1ed001e00a22d67a8ab9cce85f7ef8760b64"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildReportCollector::collect_results_for_configured (cognitive 37): BuildReportCollector::collect_results_for_configured has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 2 (5 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/build/build_report.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd332b7a68de325b0b3b309969e8090e836e68d3d85090167dba144c511ff1b"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_cmd_audit_server::subtargets::server_execute_with_dice (cognitive 37): buck2_cmd_audit_server::subtargets::server_execute_with_dice has cognitive complexity 37 (threshold 15). Drivers by points: loops 7 (22 pts), if/else 8 (13 pts), match/switch 1 (2 pts) (nesting depth added 21). Of this number, 27 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_audit_server/src/subtargets.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7018f991d617a29f994186f5a28bbf80361230d84270064469ecb91e264a7007"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryResultPrinter::print_single_output (cognitive 37): QueryResultPrinter::print_single_output has cognitive complexity 37 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 4 (13 pts), match/switch 4 (10 pts) (nesting depth added 25). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_query_server/src/query/printer.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"742080538452bf0e9e1e2e789dd11b3ab937c59ed87fa091ee2bfd6a28e6cf0e"}},{"ruleId":"D2","level":"warning","message":{"text":"ScribeProducer::send_impl (cognitive 37): ScribeProducer::send_impl has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (26 pts), match/switch 4 (9 pts), loops 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shed/scribe_client/src/producer.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ab5d2ba821aaf53baa534c79f06cd33129406993c2e577214d694ce5aec23a"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_event_observer::display::display_event (cognitive 37): buck2_event_observer::display::display_event has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (21 pts), match/switch 8 (15 pts), boolean chains 1 (nesting depth added 16). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_observer/src/display.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"33550f38e0f79b2d8157154a4d042963e775efec4adce0133ab4dfe4482d7b0a"}},{"ruleId":"D2","level":"warning","message":{"text":"Game::draw_unchecked (cognitive 37): Game::draw_unchecked has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (26 pts), match/switch 2 (6 pts), loops 2 (5 pts) (nesting depth added 23). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/sokoban.rs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b72159cc765911866bd45ad5580d8df23a5b50f978c34fa895eccdcf7439781"}},{"ruleId":"D2","level":"warning","message":{"text":"K2JvmAbiFirAnalysisHandlerExtension.forAllFiles (cognitive 37): K2JvmAbiFirAnalysisHandlerExtension.forAllFiles has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (29 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"b884a99fbeec44fa9eef254ceb424585a476b57acbb83b9172a4cb775af0e672"}},{"ruleId":"D2","level":"warning","message":{"text":"FirSanitizingVisitor.hasErrorExpression (cognitive 37): FirSanitizingVisitor.hasErrorExpression has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (25 pts), error handling 4 (8 pts), boolean chains 3, match/switch 1 (nesting depth added 20). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e947f90d3f000b584d346910f7ad91ff57709dd98e1d0c220ceb149f5eb277a0"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalExecutor::exec_request (cognitive 36): LocalExecutor::exec_request has cognitive complexity 36 (threshold 15). Drivers by points: if/else 18 (28 pts), match/switch 7 (8 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/local.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b408344e98507fe327e3c7c24b6afb97302f70fc2b12c42c44a7fe2a10a6db8"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_test::command::generate_config_entry_args (cognitive 36): buck2_test::command::generate_config_entry_args has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (32 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/command.rs"},"region":{"startLine":1963}}}],"partialFingerprints":{"codehealthFindingId/v1":"1600dcae7854fce0a1648579673228d0dc51e04d5550add64e8ab2e39d8974f9"}},{"ruleId":"D2","level":"warning","message":{"text":"games::bin::sokoban_gen::generate_level (cognitive 36): games::bin::sokoban_gen::generate_level has cognitive complexity 36 (threshold 15). Drivers by points: if/else 6 (22 pts), loops 4 (10 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/bin/sokoban_gen.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"84706abed5bb94c225c51d1a88e41888a661c5d50f9e157de30df5a7886906c4"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer::lex_fstring_content (cognitive 36): Lexer::lex_fstring_content has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (24 pts), match/switch 4 (11 pts), loops 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed6d90678240e87561045cc08c067c2336e58b15020f0dac86b171f292ed594"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandProfile::validate (cognitive 36): CommandProfile::validate has cognitive complexity 36 (threshold 15). Drivers by points: loops 12 (18 pts), if/else 7 (16 pts), boolean chains 2 (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/command_profile.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2a4d324f8b3e8ddbf85800a997f1e3265e6775d315cfaaddb1ee1be45aa4ea"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::dag::finish (cognitive 36): retrace::dag::finish has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 10 (15 pts), match/switch 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/dag.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"79785b55f78da0ad7e9a4c132b6097e216f1ffbf857c208ff91ea865a58d4f41"}},{"ruleId":"D2","level":"warning","message":{"text":"1.missingImportedMemberSupertypes (cognitive 36): 1.missingImportedMemberSupertypes has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 5 (12 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/CompilerTypeResolutionSimulator.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f89d85bee90bee1505447d75a54b3ed845cca60b12c85ad8211dfc651939a0"}},{"ruleId":"D2","level":"warning","message":{"text":"prepare_code_signing_entitlements.postprocess_entitlements (cognitive 36): prepare_code_signing_entitlements.postprocess_entitlements has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 4 (11 pts), boolean chains 1 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/prepare_code_signing_entitlements.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0bd3d57a21af100f3b305d5d6dfc843f191e58dbce89bdc13f7925c83fe037"}},{"ruleId":"D2","level":"warning","message":{"text":"streaming-decode-worker.processLargeLog (cognitive 36): streaming-decode-worker.processLargeLog has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (23 pts), loops 5 (9 pts), boolean chains 2, error handling 1, ternaries 1 (nesting depth added 10). Most of this is not in the body itself: 14 of the 36 points are its own statements and the rest belongs to 6 function items inside it that branch (processMessage, flushChunk, flushSummaries, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fa5d4aaf34b5bd5473b1a354d27efcabedb30ae4b30a851a4c5654ee243055"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcreteDepFiles::add_path_to_selector (cognitive 35): ConcreteDepFiles::add_path_to_selector has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 4 (10 pts), match/switch 2 (5 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run/dep_files.rs"},"region":{"startLine":2628}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d159e684b253ee4dcfaa7a39f88d17368670b5a34e96da6f72d4cc0e7083093"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_server_commands::debug_anon_targets::debug_anon_targets_command (cognitive 35): buck2_server_commands::debug_anon_targets::debug_anon_targets_command has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 9 (13 pts), boolean chains 2, match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_commands/src/debug_anon_targets.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5859427369c1930ca1c538e9359797086d4caa4a6d2e5b55676b5766ce2a42"}},{"ruleId":"D2","level":"warning","message":{"text":"MathAnswerKey::new (cognitive 35): MathAnswerKey::new has cognitive complexity 35 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 3 (7 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/fuzzy_dice/src/execution.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee1c1efb7a7c82b409b9697af96624f3c0726a8fdff7580038d7cba2bf4f8d7"}},{"ruleId":"D2","level":"warning","message":{"text":"pagable_derive::derive_pagable::extract_attrs (cognitive 35): pagable_derive::derive_pagable::extract_attrs has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (32 pts), loops 2 (3 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pagable_derive/src/derive_pagable.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"e354650c819652d716e597b92ea88f7f01c6e3eecc6773ca0848fbd53b8343fe"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark_derive::starlark_pagable::extract_field_attrs (cognitive 35): starlark_derive::starlark_pagable::extract_field_attrs has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (32 pts), loops 2 (3 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/starlark_pagable.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f941dd12d1d15168a614a27471d48faffbc77f4636b3bfd5eeb35074681d84"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::graph::scan_rows_serial (cognitive 35): retrace::graph::scan_rows_serial has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (21 pts), match/switch 3 (6 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/graph.rs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1c0829ca13a1c5b1f88621d4c18ba286e1c5c4863310b849d4a72c3e020fb0"}},{"ruleId":"D2","level":"warning","message":{"text":"ValidatingListener.onImport (cognitive 35): ValidatingListener.onImport has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (28 pts), match/switch 1 (4 pts), boolean chains 3 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/InterfaceValidator.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa45c3e35c415e8087e4876ac4aced4469a20e2447262fd83027bbce8b371fd"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_client_ctx::agent_detection::classify (cognitive 34): buck2_client_ctx::agent_detection::classify has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (23 pts), match/switch 3 (8 pts), boolean chains 2, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/agent_detection.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"48eb8a398fdd1f66a7a26dca8cd6f3aedf48dbde14447e5b24b2bff24a8a4407"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteExecutionClientImpl::execute_impl::wait_for_response_or_stage_change (cognitive 34): RemoteExecutionClientImpl::execute_impl::wait_for_response_or_stage_change has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (23 pts), match/switch 3 (8 pts), boolean chains 2, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (RemoteExecutionClientImpl::execute_impl) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d2f4abbed7d68990a17e1cbe1fcd9529551924c2435fa2ed16f787e901a8ac"}},{"ruleId":"D2","level":"warning","message":{"text":"ResultReporter::collect_result (cognitive 34): ResultReporter::collect_result has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 4 (9 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_commands/src/build/result_report.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa407cdb86e95195e4e17d39a82ecf4955a468430d042da79a217e8ad63efc3"}},{"ruleId":"D2","level":"warning","message":{"text":"Game::check_for_floaters (cognitive 34): Game::check_for_floaters has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 4 (6 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 15). Of this number, 26 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/blocks.rs"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"9240a5c0d42cdee20810d8668d04f771a3e0dfea572b582d50b11f81e1d18e0a"}},{"ruleId":"D2","level":"warning","message":{"text":"BazelContext::get_filesystem_entries (cognitive 34): BazelContext::get_filesystem_entries has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (26 pts), match/switch 2 (6 pts), boolean chains 1, loops 1 (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_bin/bin/bazel.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"da183f9d3e1e0adc882de0ec4b88074e6ef11f42ba2d266be61cbf0a01361b32"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassStabilityTransformer.computeStability (cognitive 34): ClassStabilityTransformer.computeStability has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compose/ClassStabilityTransformer.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbbd6b7c6440ec20bddfd693fca4ceded6b106b1b42b0883d4e89748dddad76"}},{"ruleId":"D2","level":"warning","message":{"text":"ValidationStage.validate (cognitive 34): ValidationStage.validate has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (23 pts), loops 9, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e3f3ff8a08bc207873cbac56ca12c57f4de70b46affd806d139fda8938540c"}},{"ruleId":"D2","level":"warning","message":{"text":"RunAction::execute (cognitive 33): RunAction::execute has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 5, loops 1 (3 pts), match/switch 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run.rs"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cfd152b5bdc487ad83b4feb74dc18a3207bc9c89ea7b482edc13af1a4d1abc"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_event_observer::display::display_file_watcher_end (cognitive 33): buck2_event_observer::display::display_file_watcher_end has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 2 (4 pts), match/switch 1 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_observer/src/display.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f410acb9f9e0934f4d73537a4535a9d38c8e169bae698a906f354c8eac9226"}},{"ruleId":"D2","level":"warning","message":{"text":"DiceStorage::page_out (cognitive 33): DiceStorage::page_out has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (21 pts), match/switch 3 (7 pts), loops 3 (5 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/storage.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"250d92c2f6dcac406d48bc43b347aefd1e46210098627dbef8e1de7bd9bde015"}},{"ruleId":"D2","level":"warning","message":{"text":"FormatParser::next (cognitive 33): FormatParser::next has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (23 pts), match/switch 2 (6 pts), loops 2 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/dot_format_parser.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5331687ec64966d71a4fa080671dbad1d794b530e01a811c135546d645bf6ecb"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark_syntax::syntax::validate::validate_module (cognitive 33): starlark_syntax::syntax::validate::validate_module has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (25 pts), loops 2 (4 pts), boolean chains 2, match/switch 2 (nesting depth added 13). None of this is in the body itself: all 33 points belong to 3 function items inside it that branch (f, validate_params, expr). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/validate.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"84453b275ecacaff2f4da512d7fb45cb1ea732e96bbc1a5e8b564168fe6813ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Activity::from_record (cognitive 33): Activity::from_record has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (22 pts), match/switch 3 (8 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/activity.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac54d451be206e0b5d06197e6c62d8e142816d24c757863d4fb1d208dcc363bd"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark_fmt_lib::lib::autofixes::sort_list_args::collect_sorted_elements_with_keys (cognitive 33): starlark_fmt_lib::lib::autofixes::sort_list_args::collect_sorted_elements_with_keys has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (26 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/autofixes/sort_list_args.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"19839e2be9d17c2624d2c08770d5d1537a5c12109fffe7166cd5415e5c35bf4d"}},{"ruleId":"D2","level":"warning","message":{"text":"AppendableCentralDirectory.readHeader (cognitive 33): AppendableCentralDirectory.readHeader has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (29 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/util/zip/AppendableCentralDirectory.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b208d59e1f40f531849c9186ef8b22255f1bfdac96869a2f25f867bb228e235"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph::topo_sort (cognitive 32): Graph::topo_sort has cognitive complexity 32 (threshold 15). Drivers by points: if/else 4 (21 pts), loops 3 (8 pts), match/switch 1 (3 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_critical_path/src/graph.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e528423bfa499f6106afd257eae7578322ce69658ad8f5e8a5bffe5392d8aac"}},{"ruleId":"D2","level":"warning","message":{"text":"JoinCore::poll (cognitive 32): JoinCore::poll has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 3 (8 pts), match/switch 2 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice_futures/src/join.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c2dd26bb89565beaf71791b4ed1d9f32ea4b654144d0103fa44adc54d04e79"}},{"ruleId":"D2","level":"warning","message":{"text":"Ready::poll_graph (cognitive 32): Ready::poll_graph has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (20 pts), match/switch 5 (12 pts) (nesting depth added 21). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1d2c7a59b7c8845f9298ed16ce837f67cedba4fdd44889c02dc89d2f9247c7"}},{"ruleId":"D2","level":"warning","message":{"text":"Quality::graph_limitations (cognitive 32): Quality::graph_limitations has cognitive complexity 32 (threshold 15). Drivers by points: if/else 20 (25 pts), boolean chains 4, loops 1 (2 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/quality.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"b672cf085eb84ab17ac6b7600596845e66c36ff85dc092d79f0edfd298df0339"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::command_ui::contents (cognitive 32): retrace::gui::command_ui::contents has cognitive complexity 32 (threshold 15). Drivers by points: if/else 23 (27 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/command_ui.rs"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"927877f4c63fa415693c60679e5736b78289169547165b373fff830d7ddda4c9"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::ingest::run_with_cache (cognitive 32): retrace::ingest::run_with_cache has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (22 pts), match/switch 5 (7 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c189cc8e652489893af3e2d239f7e11baede0575656b2b71f67ae8a2f1258d"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidBundleBuilderExecutableMain.run (cognitive 32): AndroidBundleBuilderExecutableMain.run has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 6 (9 pts), error handling 4 (6 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/bundle/AndroidBundleBuilderExecutableMain.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a5a330c6ad2b9f9c313db97409e4787b3c9e18e43c7df473c6f6a298e531c9"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeAndroidResources.sortSymbols (cognitive 32): MergeAndroidResources.sortSymbols has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 4 (7 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/resources/MergeAndroidResources.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"2421c0e0984aa792c4459fd926fd8edb010b0c516b5a512908b59fc182091bfc"}},{"ruleId":"D2","level":"warning","message":{"text":"StatefulSuperConsoleImpl::handle_action_error (cognitive 31): StatefulSuperConsoleImpl::handle_action_error has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 1 (5 pts), match/switch 2 (4 pts) (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole.rs"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea21994082f494cb746e897f2985551936113c467eb6fcf666e80ccd643916a"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_client_ctx::subscribers::superconsole::io::do_render (cognitive 31): buck2_client_ctx::subscribers::superconsole::io::do_render has cognitive complexity 31 (threshold 15). Drivers by points: if/else 21 (24 pts), boolean chains 6, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole/io.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"639a0f6799b932bfb36d672d7aa9d4c2074a23c60529cd2c9142231bb0157206"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_execute_impl::materializers::deferred::io_handler::create_ttl_refresh (cognitive 31): buck2_execute_impl::materializers::deferred::io_handler::create_ttl_refresh has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 5 (10 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/io_handler.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"8878929fed51222e580b9a01b30b817ac79e10895fef91a1f7dd501ea0314e1c"}},{"ruleId":"D2","level":"warning","message":{"text":"ChromeTraceFirstPass::handle_event (cognitive 31): ChromeTraceFirstPass::handle_event has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (26 pts), match/switch 2 (5 pts) (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_log_common/src/chrome_trace.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b85036b34878c55e8b7bb5a274d33cfb0de7a8522d78d0ff00892850fa4cfc"}},{"ruleId":"D2","level":"warning","message":{"text":"dice::epoch::cycles::strongly_connected_components (cognitive 31): dice::epoch::cycles::strongly_connected_components has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 6 (10 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/epoch/cycles.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ff85cfd9c3b5791d110bc581a55f142e8483ddee22b53055e49a41f8757971"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark::values::types::string::interpolation::percent (cognitive 31): starlark::values::types::string::interpolation::percent has cognitive complexity 31 (threshold 15). Drivers by points: match/switch 11 (28 pts), if/else 2, loops 1 (nesting depth added 17). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/string/interpolation.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77d4c91a3e9196ce5ee7bfad59a11267223cba5ae187c72395ce8e7d23e3a0f"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark_derive::starlark_pagable::gen_serialize_enum (cognitive 31): starlark_derive::starlark_pagable::gen_serialize_enum has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 3 (7 pts), match/switch 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/starlark_pagable.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a05fb5f75b8d072d1a94c51d2300fa3520eb4624d7064a6cf0518b29daea9c"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::widgets::draw_tbl (cognitive 31): retrace::gui::widgets::draw_tbl has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 3 (4 pts), match/switch 1 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/widgets.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"88391af66e1f3ad4567a3ed8577a357ff202f9d00f2a9529dc8e6fdddda4efaa"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::upload::upload_report (cognitive 31): retrace::upload::upload_report has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/upload.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec45e3e124d61764a222b4b606fde5e698bd4165ea0c00a7bd9f3f621e51bcb9"}},{"ruleId":"D2","level":"warning","message":{"text":"K2JvmAbiFirAnalysisHandlerExtension.collectMissingConstantsFromSourceFiles (cognitive 31): K2JvmAbiFirAnalysisHandlerExtension.collectMissingConstantsFromSourceFiles has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 3 (6 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"34df0bd37b906cf3b38490f67558cd435f85fb7d50a84dd4e3672c9d10b81c0b"}},{"ruleId":"D2","level":"warning","message":{"text":"CompilerWorker.runCompilerTask (cognitive 31): CompilerWorker.runCompilerTask has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (18 pts), error handling 4 (6 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/Jsr199JavacInvocation.java"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37ec80b563ea0647f9b3e623748f95b718d9a54f207122e6600d8e1a073b8f5"}},{"ruleId":"D2","level":"warning","message":{"text":"testFuncs.load (cognitive 31): testFuncs.load has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/go/tools/testmaingen.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a706bf8a1db82964fcdec42727e56dc6b0ec0fb6e7c6e466b6b39697da7f0f"}},{"ruleId":"D2","level":"warning","message":{"text":"load-events.extractLoadPackageSpans (cognitive 31): load-events.extractLoadPackageSpans has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (23 pts), ternaries 1 (4 pts), boolean chains 2, loops 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/load-events.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4002d5ac6c13e4e1c622ecad1fa98406df161f558af0ab79ace55178accdece6"}},{"ruleId":"D2","level":"warning","message":{"text":"filters.evaluateFilters (cognitive 31): filters.evaluateFilters has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (26 pts), match/switch 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/event-log/filters.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde8d41b100571b9a23dca1b177cd6c08562225bd27689b0daa9930ad7ea9e8f"}},{"ruleId":"D2","level":"warning","message":{"text":"LongestPathGraphBackend::finish (cognitive 30): LongestPathGraphBackend::finish has cognitive complexity 30 (threshold 15). Drivers by points: match/switch 7 (17 pts), loops 4 (7 pts), if/else 2 (6 pts) (nesting depth added 17). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_signals_impl/src/backend/longest_path_graph.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"576ab444a8ab677e6ff17f0efa65fa2050479702536b3042117de08cbcd689a1"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_client_ctx::subscribers::classify_server_stderr::classify_server_stderr (cognitive 30): buck2_client_ctx::subscribers::classify_server_stderr::classify_server_stderr has cognitive complexity 30 (threshold 15). Drivers by points: if/else 21 (26 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/classify_server_stderr.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa212a23a74225d30c96aba532af79b3fc65f19432accbbb97fb072f741bc8aa"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_configured::nodes::gather_deps (cognitive 30): buck2_configured::nodes::gather_deps has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 6 (12 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/nodes.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf362cc63f36d547c6754d29e9818e6f8f31e01bcc1a591a831af71921dc94f7"}},{"ruleId":"D2","level":"warning","message":{"text":"Game::auto_chord (cognitive 30): Game::auto_chord has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (19 pts), loops 4 (10 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/minesweeper.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"497bbb3f927f5a63e8246e09eb60845ae72786228cc4eb67fa0d2ec321d4a673"}},{"ruleId":"D2","level":"warning","message":{"text":"remote_execution::client::execution_progress_stream (cognitive 30): remote_execution::client::execution_progress_stream has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (15 pts), match/switch 5 (14 pts), loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"939f3831f2511d3d40ead5000770948b75e40d88ef4480aed2c469ccd231c2a7"}},{"ruleId":"D2","level":"warning","message":{"text":"Activity::explain (cognitive 30): Activity::explain has cognitive complexity 30 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 5, match/switch 2 (3 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/activity.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19672986365361e975051579f3b7f7efb330ab9577a0e10d513c9a59b184b37"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::detail_ui::det_stage_bar (cognitive 30): retrace::gui::detail_ui::det_stage_bar has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 2, boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bfc7e47a76219ce74678b02cd81f2118d7f614b054ab4c0958d92324aae229"}},{"ruleId":"D2","level":"warning","message":{"text":"Stmt::render (cognitive 30): Stmt::render has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 4 (9 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 16). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/fuzz_starlark.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78f695a58d52d50017d999ea24ca8bb7b2c6081a6f1c50c3ce36860afbe5388"}},{"ruleId":"D2","level":"warning","message":{"text":"merge_sequence.main (cognitive 30): merge_sequence.main has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 6 (15 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/android/tools/merge_sequence.py"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cbfb0d356b53707bc271b5e2a59fa9cdccd83d15b0ac79283dcf3d913fa418"}},{"ruleId":"D2","level":"warning","message":{"text":"AssembledDirAction::execute (cognitive 29): AssembledDirAction::execute has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 2 (5 pts), match/switch 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/assembled_dir.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef89973ed372f4eb77540ce6efeb45c1dec999461c2405afa6f05092981f7bfc"}},{"ruleId":"D2","level":"warning","message":{"text":"RunAction::execute_inner (cognitive 29): RunAction::execute_inner has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 5, match/switch 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run.rs"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8a8ea219d5e0ff6e4aa9ba36bbf16ba609c7c380ccd32b7b838ec833c781a3"}},{"ruleId":"D2","level":"warning","message":{"text":"CliArgType::parse_clap (cognitive 29): CliArgType::parse_clap has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 6 (11 pts) (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed6e8efe5f5bfba84d785080d555d3f10dcb51e46627f59b2563cbd0360e0fb"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleConsole::tick (cognitive 29): SimpleConsole::tick has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 3 (10 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/simpleconsole.rs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d24ef60adad9b74c2461a5e568c663c8596dda2a9e862efa89e46fe572b5008"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_client_ctx::subscribers::superconsole::lines_for_command_details (cognitive 29): buck2_client_ctx::subscribers::superconsole::lines_for_command_details has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (21 pts), match/switch 4 (8 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole.rs"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"c366c69d7a3e1f8f8acca0f408cac13d89ff489f49028d9bbb29afce0d251279"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalExecutor::exec_with_resource_control (cognitive 29): LocalExecutor::exec_with_resource_control has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (21 pts), match/switch 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/local.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13c9ab2a8b46803cf40f955d0675b572606430f1eed096aaa9afed56ae04cc6"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_test::internal_runner::run_internal_test (cognitive 29): buck2_test::internal_runner::run_internal_test has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 7 (14 pts), if/else 4 (9 pts), loops 3 (6 pts) (nesting depth added 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/internal_runner.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e55fe7df3e9d2b2cda8442007cee7e38cb6b9f00f9c884f5bc4fea7ad53018"}},{"ruleId":"D2","level":"warning","message":{"text":"games::bin::sokoban_gen::find_farthest (cognitive 29): games::bin::sokoban_gen::find_farthest has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 4 (7 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/bin/sokoban_gen.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"110951d8c5e6e5146c54f69e8a34ac488ac225695cc03a0b4a5610b55dbd071e"}},{"ruleId":"D2","level":"warning","message":{"text":"remote_execution::client::upload_impl (cognitive 29): remote_execution::client::upload_impl has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (18 pts), loops 5 (6 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 8). Of this number, 27 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a78054a6bc756e2309fee31cb27fcd71c0089ab17330c0c41fc63a2a08eea0e"}},{"ruleId":"D2","level":"warning","message":{"text":"BcInstrs::fmt_impl (cognitive 29): BcInstrs::fmt_impl has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (27 pts), loops 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/bc/instrs.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"97076c4f4b5b19d0e107b22c1a85acefd543cc4ff65ef0635b3d49c2b1832001"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark_derive::trace::derive_trace_impl (cognitive 29): starlark_derive::trace::derive_trace_impl has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 3 (6 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/trace.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dccc2744c58f1e0956a32651f21e5880c6614dfba90a04d6d7b86cbf6087417"}},{"ruleId":"D2","level":"warning","message":{"text":"CallArgsUnpack::unpack (cognitive 29): CallArgsUnpack::unpack has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (26 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/call.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9cdc276742fcdaa43bbae64d6c01c72899d11ba456733ba741935a0acfd3b6"}},{"ruleId":"D2","level":"warning","message":{"text":"ParserRd::parse_index_or_slice (cognitive 29): ParserRd::parse_index_or_slice has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d62920a7c30345347a946c6f651b3fdafa4a3964e0a0b641d63cb604c81d99e"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::help::render (cognitive 29): retrace::help::render has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 4 (6 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/help.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6ec4e5a8ff059d76cc42e8ad505174ed896f9cfeba3f9ade9fc1ea87a1b44b"}},{"ruleId":"D2","level":"warning","message":{"text":"APKModuleGraph.generateSharedModules (cognitive 29): APKModuleGraph.generateSharedModules has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 7 (10 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/apkmodule/APKModuleGraph.java"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07772efa8e2039775ed5958b0f158b40accaa5b6c4e4a601ae934a79231fa0c"}},{"ruleId":"D2","level":"warning","message":{"text":"FatJarMain.getCommand (cognitive 29): FatJarMain.getCommand has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (24 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/fatjar/FatJarMain.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92ddaeed994fa053f2851bbd0403f2c5589248ad08238c5cd6281c196542fc9"}},{"ruleId":"D2","level":"warning","message":{"text":"critical-path.parseEntry (cognitive 29): critical-path.parseEntry has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 5, ternaries 3 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/critical-path.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f49d1b1fd20acd04b962be6fc20ab7b24f1d11ce194802b076ccf792064e6e"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_client::commands::clean::clean (cognitive 28): buck2_client::commands::clean::clean has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 3, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client/src/commands/clean.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52deef2f763732b50a9f413df5a86b8c06d8005f47a624567a213d34f91e6a2"}},{"ruleId":"D2","level":"warning","message":{"text":"AuditAnalysisQueriesCommand::server_execute (cognitive 28): AuditAnalysisQueriesCommand::server_execute has cognitive complexity 28 (threshold 15). Drivers by points: loops 5 (19 pts), if/else 1 (7 pts), match/switch 1 (2 pts) (nesting depth added 21). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_audit_server/src/analysis_queries.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91c499b8e8d9fe82b797e7033bf5f22c5971369a9fcd0cb801232e1be909489"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_node::attrs::coerced::select::validate_concat (cognitive 28): buck2_node::attrs::coerced::select::validate_concat has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 4 (8 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/coerced/select.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"1063b996df1087639177a6f02d9df5e9d21fd208b51bf4a8dee23e2eb37dbfa8"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_query_impls::analysis::environment::get_from_template_placeholder_info (cognitive 28): buck2_query_impls::analysis::environment::get_from_template_placeholder_info has cognitive complexity 28 (threshold 15). Drivers by points: if/else 4 (16 pts), loops 3 (10 pts), match/switch 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/analysis/environment.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff945953262e85211b054399080a442c998239e021708ef327c26083f1ad313c"}},{"ruleId":"D2","level":"warning","message":{"text":"Game::cell_color (cognitive 28): Game::cell_color has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (25 pts), match/switch 2 (3 pts) (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/life.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15beda8cac07eeb449b8dba0fbe692827a65f93214f5d9cb385889e44306628"}},{"ruleId":"D2","level":"warning","message":{"text":"remote_execution::client::download_impl (cognitive 28): remote_execution::client::download_impl has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (22 pts), loops 4 (5 pts), match/switch 1 (nesting depth added 6). Of this number, 26 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d429b7fc290a67709f2c8c44ebad720482baec05b871ef665818201213174a"}},{"ruleId":"D2","level":"warning","message":{"text":"State::exit_scope (cognitive 28): State::exit_scope has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 4 (7 pts), boolean chains 4, match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/analysis/names.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac070fbafe3b476d3462b68da38e17bc2883f9e6497972a0c46e258e2d5d6ce5"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark_fmt_lib::lib::autofixes::unused_loads::collect_edits (cognitive 28): starlark_fmt_lib::lib::autofixes::unused_loads::collect_edits has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/autofixes/unused_loads.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a214a7d16f4185fa8048b85753f519e05c77e1cb72e1dda614fe20c16d8b8c6a"}},{"ruleId":"D2","level":"warning","message":{"text":"D8Utils.runD8Command (cognitive 28): D8Utils.runD8Command has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 3, loops 2 (3 pts), ternaries 3, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/dex/D8Utils.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d48e59637ecc59d45021dead386f238a2c8b32a8cf0a753dcbb2bbdd18a930"}},{"ruleId":"D2","level":"warning","message":{"text":"signing_context.signing_context_and_selected_identity_from_args (cognitive 28): signing_context.signing_context_and_selected_identity_from_args has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (26 pts), ternaries 1 (2 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/bundling/signing_context.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6469a160b4af3b62186fabed3a51814540a910619088c0c2d2be6da14e644e0"}},{"ruleId":"D2","level":"warning","message":{"text":"compile_and_package.main (cognitive 28): compile_and_package.main has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (22 pts), loops 2 (5 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/java/tools/compile_and_package.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"624a1cc893372a9d9ad17f8328380cceccd4786ee90ae98ffc79fe992348daa2"}},{"ruleId":"D2","level":"warning","message":{"text":"compile_kotlin.main (cognitive 28): compile_kotlin.main has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 7 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/kotlin/tools/compile_kotlin/compile_kotlin.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec902ae6ee5b1374423a5fb4fa3788091d21e42e5668d947ac2e9ad17bb86f9"}},{"ruleId":"D2","level":"warning","message":{"text":"InvocationBar.InvocationBar (cognitive 28): InvocationBar.InvocationBar has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11, ternaries 8 (11 pts), boolean chains 6 (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 11 belong to 8 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/InvocationBar.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9935ed917d733198905e1568b0aec2e58b7779e141a372cb9d83aee99948fa0"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_action_impl::actions::impls::run::dep_files::match_if_identical_action (cognitive 27): buck2_action_impl::actions::impls::run::dep_files::match_if_identical_action has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 4 (11 pts), loops 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run/dep_files.rs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbb070787d54d17f8c01f31b9b0bbdf400f27d8603577108a78bcbf61f3ad33"}},{"ruleId":"D2","level":"warning","message":{"text":"HealthCheckSubscriber::handle_event (cognitive 27): HealthCheckSubscriber::handle_event has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 5 (9 pts), boolean chains 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/health_check_subscriber.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbe613d50eb0dbd91deb420c8266552d61516657edb751d3e40d4850139ef54"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_configured::nodes::compute_configured_target_node_no_transition (cognitive 27): buck2_configured::nodes::compute_configured_target_node_no_transition has cognitive complexity 27 (threshold 15). Drivers by points: loops 6 (12 pts), if/else 9, boolean chains 4, match/switch 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/nodes.rs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec003b6ce5845fa5bab06b38fd2255bdd619e8bcfe3125420fd8ad99d4318aa"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_critical_path::potential::compute_critical_path_potentials (cognitive 27): buck2_critical_path::potential::compute_critical_path_potentials has cognitive complexity 27 (threshold 15). Drivers by points: loops 9 (11 pts), match/switch 5 (10 pts), if/else 2 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_critical_path/src/potential.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a76fe49f7e089600f78c117f0e9e73e94358a8535180982a146e89677ea9c9d"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiLineState::parse_line (cognitive 27): MultiLineState::parse_line has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_errorformat/src/lib.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a76881bfacdfc0a9feba58e2ae9baa39646b1ec014bca9ee6cb1d52ec5747b7"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_execute_impl::executors::local::materialize_inputs (cognitive 27): buck2_execute_impl::executors::local::materialize_inputs has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 2 (4 pts), match/switch 2 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/local.rs"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f31488bf24351a7649fc6318e24d8c4763ec78130f28f7a61258a888052f4f8"}},{"ruleId":"D2","level":"warning","message":{"text":"MathAnswerKey::permit_recompute (cognitive 27): MathAnswerKey::permit_recompute has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 3, loops 3, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/fuzzy_dice/src/execution.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4bfead1e44b36242625b1aa72da3550cd2b61366c4ec7155f27038817ce0241"}},{"ruleId":"D2","level":"warning","message":{"text":"Span::fmt_for_test (cognitive 27): Span::fmt_for_test has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 13). Of this number, 19 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"superconsole/src/content/span.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ada1c09e3ffef4eee4ee52c924d875927eaacec1754e06bac63d470917ffa7b"}},{"ruleId":"D2","level":"warning","message":{"text":"Activity::read_spans (cognitive 27): Activity::read_spans has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/activity.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4a97ef4b02f4e8eb1edde390543d13ef54c709db0aef4a14a4712d5f4d7aba"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::graph::parallel::merge_batch (cognitive 27): retrace::graph::parallel::merge_batch has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 2, match/switch 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/graph/parallel.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedeeab759212f3dc1121c200c767304e7b3cf7c879d4285156caf8bbf59a2df"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::cascade::step_table (cognitive 27): retrace::gui::cascade::step_table has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 3 (4 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/cascade.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"23df088597fe8d6858aec67389392ffc2f9e8bd326337c8530866ca271c6d6e6"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::detail_ui::build_detail (cognitive 27): retrace::gui::detail_ui::build_detail has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":2534}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2d7ce9cdc1c63493517ba7969b2f045d8185a61f2c8d88298918429840ee91"}},{"ruleId":"D2","level":"warning","message":{"text":"ListArgSorter::visit_expr (cognitive 27): ListArgSorter::visit_expr has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/autofixes/sort_list_args.rs"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"e933fdaac7cefb3012f578e6dcc607f3cb1e687a8114e813ff5e10d55f64fe1e"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidInstall.installApk (cognitive 27): AndroidInstall.installApk has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (6 pts), error handling 3 (5 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/installer/android/AndroidInstall.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ac26d7ef1293628868f7bb9dad3697f92206a0b8f3424c1b637f648507615f"}},{"ruleId":"D2","level":"warning","message":{"text":"AbiFilteringClassVisitor.findJvmStaticMemberKeys (cognitive 27): AbiFilteringClassVisitor.findJvmStaticMemberKeys has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (8 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/AbiFilteringClassVisitor.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b27f0cbb0fe64d818d4ccbffa1d6473b3f665acad5c9ea63efd8adf9ab5539"}},{"ruleId":"D2","level":"warning","message":{"text":"sokoban_pipeline.parse_levels_from_file (cognitive 27): sokoban_pipeline.parse_levels_from_file has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 7, ternaries 1 (4 pts), loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/bin/sokoban_pipeline.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2728f39866d7e14779ed94d5f6edd5ab9a7995aa687b9a9db668ce9d3309ca"}},{"ruleId":"D2","level":"warning","message":{"text":"extract_link_action.process_link_args (cognitive 27): extract_link_action.process_link_args has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/rust/tools/extract_link_action.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"524b45659d11aad40a6a1add8c181f6cd3675382bfcbb7ae987c75c5910d55cb"}},{"ruleId":"D2","level":"warning","message":{"text":"event-log-decoder.extractTargetLabel (cognitive 27): event-log-decoder.extractTargetLabel has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"865726a03223890450c11fdeb30e05faddb3896b866085a133b01199fa5a52b3"}},{"ruleId":"D2","level":"warning","message":{"text":"critical-path.groupByPhase (cognitive 27): critical-path.groupByPhase has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 4 (7 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/critical-path.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"597568195bd41b03ace9db1a847e79022f3ce7214a7a1ae3d54f2b774b6d413d"}},{"ruleId":"D2","level":"warning","message":{"text":"SerializeValue::serialize (cognitive 26): SerializeValue::serialize has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 6 (14 pts), if/else 6 (12 pts) (nesting depth added 14). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/impls/json.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"684f7d1628f7f074f91eb55521ef4966d0f43e9318c7971b96849d0b8ef980f8"}},{"ruleId":"D2","level":"warning","message":{"text":"AuditExecutionPlatformResolutionCommand::server_execute (cognitive 26): AuditExecutionPlatformResolutionCommand::server_execute has cognitive complexity 26 (threshold 15). Drivers by points: loops 6 (15 pts), match/switch 5 (11 pts) (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_audit_server/src/execution_platform_resolution.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5986a478f8869b385ff46b31c9b4298fd953c48101c9fddcc9cb8b55e88346"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfiguredTargetsServerCommand::command (cognitive 26): ConfiguredTargetsServerCommand::command has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 2 (4 pts), match/switch 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_targets_server/src/ctargets.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce08499fa858dc92976a5cd90396eb152fa28ac6b821e0063790facec3b588f0"}},{"ruleId":"D2","level":"warning","message":{"text":"AdmissionCoordinatorTask::run_with_branch_ownership (cognitive 26): AdmissionCoordinatorTask::run_with_branch_ownership has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_concurrency/src/lib.rs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"503312791f9a0acbc17f51884c25e44d0d844cbe568003f29a1c9305d1d0655a"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_execute::directory::expand_selector_for_dependencies (cognitive 26): buck2_execute::directory::expand_selector_for_dependencies has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 5 (15 pts), loops 3 (6 pts), if/else 2 (5 pts) (nesting depth added 16). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/directory.rs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"166a3c79f719fca455b8bb9a96aebdc802feca4861c1a757100723fa26660e00"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_execute_impl::materializers::deferred::clean_stale::apply_adaptive_low_disk (cognitive 26): buck2_execute_impl::materializers::deferred::clean_stale::apply_adaptive_low_disk has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 3, match/switch 3, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":2104}}}],"partialFingerprints":{"codehealthFindingId/v1":"10acce513a50aea0baf2f29bc3f0af8465c42685d3a15022afe381c3d62d2d32"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_query::query::traversal::async_depth_limited_traversal (cognitive 26): buck2_query::query::traversal::async_depth_limited_traversal has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 4 (10 pts), match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query/src/query/traversal.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f8ceb46497900e4212a91c6be6f6d596ebe56b9a70b2956d79fb87654f729a"}},{"ruleId":"D2","level":"warning","message":{"text":"TenantState::create (cognitive 26): TenantState::create has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 4, match/switch 2, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/state.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90ba93f35426d590dff9a4cb217ef4c9c17820cea1fda7581deebca2ab4e8a5"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark::values::types::float::float::write_scientific (cognitive 26): starlark::values::types::float::float::write_scientific has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/float/float.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"518ad4c7c7117ec4be2d05844c38f6c6aee1e77e1a7c0991f34dfe74627971ed"}},{"ruleId":"D2","level":"warning","message":{"text":"BazelContext::get_string_completion_options (cognitive 26): BazelContext::get_string_completion_options has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 11, match/switch 1 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_bin/bin/bazel.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8602eb7d67bd8f1bfd014a84db8c7ad6dc8c961e3bb8985c89731623ba65ac"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark_derive::freeze::extract_options (cognitive 26): starlark_derive::freeze::extract_options has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/freeze.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1506ea49d6010726bfa5f3b69d782c6f353d2271b67aeaf33f4c3003b9a83e24"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::findings::cp_wait_share (cognitive 26): retrace::findings::cp_wait_share has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/findings.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa10d42c95fc6eba67652f55a4c29fbce575202eba7ed5abc5fc7ca843f70385"}},{"ruleId":"D2","level":"warning","message":{"text":"StubRenderKt.renderFunction (cognitive 26): StubRenderKt.renderFunction has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (21 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/common/stub/render/StubRender.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6bf45ffcc5486813b915b1256750969cc5dca98e582d7f2fb7a9535a801587"}},{"ruleId":"D2","level":"warning","message":{"text":"AdbHelper.filterDevices (cognitive 26): AdbHelper.filterDevices has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 4 (11 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/AdbHelper.java"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5bded38a56a8f6c2a8fa46631bf1deb7757476c2e02107f6a9b6a6bcc8f3a4"}},{"ruleId":"D2","level":"warning","message":{"text":"provisioning_profile_selection.select_best_provisioning_profile_core (cognitive 26): provisioning_profile_selection.select_best_provisioning_profile_core has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 2, loops 1, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/provisioning_profile_selection.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4f8f55af5fbf7078c275573c9c86da2046bb0a2f6b6485dc66570383fd964b"}},{"ruleId":"D2","level":"warning","message":{"text":"dist_lto_planner_darwin.main (cognitive 26): dist_lto_planner_darwin.main has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 3 (5 pts), ternaries 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/cxx/dist_lto/tools/dist_lto_planner_darwin.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27d21cf5b6bbc5816f7b9483c5a552b9a125dd05210d9775911fe7f26e851b5"}},{"ruleId":"D2","level":"warning","message":{"text":"buildscript_run.main (cognitive 26): buildscript_run.main has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/rust/tools/buildscript_run.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc533c00b44c053c49ab0009231801080be1e7a0879e3514bcf64a74f66f32eb"}},{"ruleId":"D2","level":"warning","message":{"text":"allocative_derive::derive_allocative::extract_attrs (cognitive 25): allocative_derive::derive_allocative::extract_attrs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocative/allocative_derive/src/derive_allocative.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f17706ab0560c4815736e27ae0932da50cfef6e194900d1a871ec844fc842f"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_bxl::bxl::starlark_defs::context::methods::bxl_context_methods (cognitive 25): buck2_bxl::bxl::starlark_defs::context::methods::bxl_context_methods has cognitive complexity 25 (threshold 15). Drivers by points: match/switch 9 (12 pts), if/else 8 (11 pts), boolean chains 2 (nesting depth added 6). None of this is in the body itself: all 25 points belong to 7 function items inside it that branch (bxl_actions, configured_targets, unconfigured_targets, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/methods.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"498cb09292de80599a26321106185a3186dea3718fc9f78d22598e366321f4ff"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsoleInteractionStream::interaction (cognitive 25): ConsoleInteractionStream::interaction has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 4 (12 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/console_interaction_stream.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8922c487dc90a003c141c9005ed0c2d2f540264c6cb37bde6109a936f8b228"}},{"ruleId":"D2","level":"warning","message":{"text":"StatefulSuperConsoleImpl::handle_console_interaction (cognitive 25): StatefulSuperConsoleImpl::handle_console_interaction has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 5 (8 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole.rs"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"869816b955d3a88c021dc6ddc838ae855aa293ad5eda2a8f1b13a3349c43775b"}},{"ruleId":"D2","level":"warning","message":{"text":"OutputFormatWithWriter::emit_command (cognitive 25): OutputFormatWithWriter::emit_command has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 4 (9 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/what_ran.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e585aba4921c4ff7d7f6c39396d60c7d22cd5d74b310503a96400fe5817623a"}},{"ruleId":"D2","level":"warning","message":{"text":"WhatRanCommandState::event (cognitive 25): WhatRanCommandState::event has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (20 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/what_ran.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4bdadea2944178bfb11773a9c4eb0fec4a93aba14e265eeda6418926c2f18a"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_execute::blob_store::collect (cognitive 25): buck2_execute::blob_store::collect has cognitive complexity 25 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 4 (8 pts), match/switch 2 (7 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/blob_store.rs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"6651679fdc88f2931d68a1a52d83b8db0ad593c08e319822b7c6b9a21c5ba733"}},{"ruleId":"D2","level":"warning","message":{"text":"ReExecutor::re_execute (cognitive 25): ReExecutor::re_execute has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (18 pts), match/switch 3 (5 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/re.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9a8f7aa456359eb9860dd2ed74873b26128602066d615cdf2c801809ffa24c"}},{"ruleId":"D2","level":"warning","message":{"text":"MixedGraph::postorder_actions (cognitive 25): MixedGraph::postorder_actions has cognitive complexity 25 (threshold 15). Drivers by points: if/else 3 (13 pts), loops 3 (7 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/aquery/mixed_graph.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6a3d9a106b0259885298be2a1fe6b40b2579bb0d61ed9ca167ab29c3ce3b41"}},{"ruleId":"D2","level":"warning","message":{"text":"games::console::control_reader (cognitive 25): games::console::control_reader has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 4 (10 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/console.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0cfe32c55f9ca31e37eba4cd03bf136885da56846235a82b2a0cafa3aefd33"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark::stdlib::breakpoint::breakpoint_loop (cognitive 25): starlark::stdlib::breakpoint::breakpoint_loop has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (13 pts), match/switch 3 (11 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/stdlib/breakpoint.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"856d012303e4d21d2921e5d127a2b7b81665ba1a2755d58f3569d57aaa615609"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark::values::types::set::methods::set_methods (cognitive 25): starlark::values::types::set::methods::set_methods has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (17 pts), loops 5 (6 pts), match/switch 2 (nesting depth added 5). None of this is in the body itself: all 25 points belong to 7 function items inside it that branch (issuperset, update, issubset, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/set/methods.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba3e09c63493cdf92be287d3f7c27bc15aca9305e02fdaa1f5f840aefbd3d01"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::ingest::decode_pool::frame_input (cognitive 25): retrace::ingest::decode_pool::frame_input has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/decode_pool.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd82a48ebd1ef7ff05d87bb94afab50a270d191278180d0db92ac89754b1a43"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericStubsGenerator.generateStubs (cognitive 25): GenericStubsGenerator.generateStubs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 5 (6 pts), boolean chains 5 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/GenericStubsGenerator.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc877462909b16ed355927346630c326c63cf5ff4b8d48ae20239ed9fbda4eb"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniAapt.addStyleItemReference (cognitive 25): MiniAapt.addStyleItemReference has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 9, ternaries 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/aapt/MiniAapt.java"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"d188c2085f52ad3faafa0e2b77e68fdc75941e8edac48a08d25bf5ea5f14fd50"}},{"ruleId":"D2","level":"warning","message":{"text":"CentralDirectoryReader.readCentralDirectory (cognitive 25): CentralDirectoryReader.readCentralDirectory has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (22 pts), boolean chains 2, loops 1 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/util/zip/CentralDirectoryReader.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5d603a21f7e49d11109f87e3c5d384ab40aa72fcbcf5e42f0ab2426eaeddf1"}},{"ruleId":"D2","level":"warning","message":{"text":"dist_lto_opt_gnu._filter_flags (cognitive 25): dist_lto_opt_gnu._filter_flags has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 1, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/cxx/dist_lto/tools/dist_lto_opt_gnu.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a61adc11d55cc7cb2399c810d4dbba064f3c0fc9fd470b744975bc95ef6f33"}},{"ruleId":"D2","level":"warning","message":{"text":"gobuckifylib.CollectPackages (cognitive 25): gobuckifylib.CollectPackages has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 5 (10 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 13). Of this number, 19 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/go/tools/gobuckify/lib/golist.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5005792f7bca3e6095af84ceb842df8f0ec1a2bc5240073cf13965f883937b"}},{"ruleId":"D2","level":"warning","message":{"text":"streaming-decode-worker.labelFromValue (cognitive 25): streaming-decode-worker.labelFromValue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2 (7 pts), boolean chains 5 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"22461ad49a0751b1c0c288d04d42e50f6d07d0d2dd929cabcd2387c53d89a451"}},{"ruleId":"D2","level":"warning","message":{"text":"streaming-decode-worker.extractTargetLabel (cognitive 25): streaming-decode-worker.extractTargetLabel has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e2937e5d5264e749621c384d8f660b9de2479fddd35e03e4168ce3327bf291"}},{"ruleId":"D2","level":"warning","message":{"text":"decoder-worker.labelFromValue (cognitive 25): decoder-worker.labelFromValue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2 (7 pts), boolean chains 5 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb25e3a9a6ede574b9f797d65f51fe296646d24108732b368c8f77692cd4f7a0"}},{"ruleId":"D2","level":"warning","message":{"text":"decoder-worker.extractTargetLabel (cognitive 25): decoder-worker.extractTargetLabel has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c880edbfc1cd9f4dae9a78f3b510cff8baa8dbd67ae11b4cef59796e3fdf38a"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_action_impl::actions::impls::run::dep_files::resolve_loaded_outputs (cognitive 24): buck2_action_impl::actions::impls::run::dep_files::resolve_loaded_outputs has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 4 (8 pts), loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run/dep_files.rs"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c0d0497e18c87b8afb820430a824d6b6eac37a116b9fccb756020b600dffd2"}},{"ruleId":"D2","level":"warning","message":{"text":"ResolvedQueryMacro::add_to_arg (cognitive 24): ResolvedQueryMacro::add_to_arg has cognitive complexity 24 (threshold 15). Drivers by points: loops 5 (12 pts), if/else 3 (11 pts), match/switch 1 (nesting depth added 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/resolve_query_macro.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"daea11c26503a4a7bd92e4effb7471ffa40d60801da68f91c3858dec3e8a1e88"}},{"ruleId":"D2","level":"warning","message":{"text":"Stats::update_with_event (cognitive 24): Stats::update_with_event has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (8 pts), match/switch 4 (8 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/summary.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2c554d2e4ff1728f9ce186641298cdd38d37b6bfca3a0809acd37fe16838e0"}},{"ruleId":"D2","level":"warning","message":{"text":"CriticalPathEntryDisplay::from_entry (cognitive 24): CriticalPathEntryDisplay::from_entry has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 12 (21 pts), if/else 2 (3 pts) (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_observer/src/display.rs"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aaa205c192a553cf7886e0bfebb0889fadb838ae10d9e3b6dca87f9a1f52e5d"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_query_impls::uquery::environment::rbuildfiles (cognitive 24): buck2_query_impls::uquery::environment::rbuildfiles has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 6 (11 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/uquery/environment.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30b4e28109eae899390ee44e534449e85bec1b699334b03904445a92d094e7e"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark::analysis::unused_loads::find::find_unused_loads (cognitive 24): starlark::analysis::unused_loads::find::find_unused_loads has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 5 (8 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/analysis/unused_loads/find.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"83640b1d67b738a4588028d74c60e8fcaa402865406393948b9d280452ab6fc3"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark::stdlib::funcs::other::register_other (cognitive 24): starlark::stdlib::funcs::other::register_other has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 6 (8 pts), match/switch 5 (7 pts) (nesting depth added 8). None of this is in the body itself: all 24 points belong to 6 function items inside it that branch (hash, sorted, fail, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/stdlib/funcs/other.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96184f1c95b7c6cc6a5a5a517d1010b376cacc2de7984f19766dd8ea575cadf"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark_derive::starlark_pagable::gen_deserialize_enum (cognitive 24): starlark_derive::starlark_pagable::gen_deserialize_enum has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 3 (7 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/starlark_pagable.rs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"c402ad4af7fdfc061fec60f6e356df2c593b31a9527f3b447a195aeaf25bfacc"}},{"ruleId":"D2","level":"warning","message":{"text":"GreedyCascade::next_with_cancel (cognitive 24): GreedyCascade::next_with_cancel has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 4 (7 pts), boolean chains 5 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/sim.rs"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d77a8821f6177453e8cdace2d116df2d436d4eac2ca3a393d94a2c34a3da416"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::show_find (cognitive 24): retrace::gui::show_find has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":2101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c973b84b0caca3650b48b16526087e89044542b37cd35a2d8b5558ddd19e9a87"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::ingest::decode_pool::decode_slabs (cognitive 24): retrace::ingest::decode_pool::decode_slabs has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/decode_pool.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"561b41f5596601cd344d4d53eb8595759cfb92493631e49c24f59818e79306f0"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineBodyKeepabilityKt.constInitializerHasErrors (cognitive 24): InlineBodyKeepabilityKt.constInitializerHasErrors has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 4, match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/common/InlineBodyKeepability.kt"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f36954536dc2fb4fb95347f94899771cfd64d9b5a3f6bbb0835d6fa9c9d6415"}},{"ruleId":"D2","level":"warning","message":{"text":"MiniAapt.processValuesFile (cognitive 24): MiniAapt.processValuesFile has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/aapt/MiniAapt.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"d966461a819e7768ad5545d5d8a3a189b8973ae5daa55f459a360aba545f8b69"}},{"ruleId":"D2","level":"warning","message":{"text":"PostEnterCanonicalizer.getInferredType (cognitive 24): PostEnterCanonicalizer.getInferredType has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 2, error handling 1 (2 pts), match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/PostEnterCanonicalizer.java"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb22dfb1f61ced6d8384c4f334664f3eddaac6a83dfa657b03f6ceb641ae183"}},{"ruleId":"D2","level":"warning","message":{"text":"StubJarClassEntry.of (cognitive 24): StubJarClassEntry.of has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 4, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/StubJarClassEntry.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece03a90237a002047189066fb5db251e55cf0a0f303c55d067276677af11af3"}},{"ruleId":"D2","level":"warning","message":{"text":"filter_dex.main (cognitive 24): filter_dex.main has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 3 (7 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/android/tools/filter_dex.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"825ac8471414a44257a2072947fd5fabe5754c5d3d53459a33f4c349f28b78e7"}},{"ruleId":"D2","level":"warning","message":{"text":"sort_pre_dexed_files._sort_pre_dexed_files (cognitive 24): sort_pre_dexed_files._sort_pre_dexed_files has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (17 pts), ternaries 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/android/tools/sort_pre_dexed_files.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66a19176a324a0e133803dd11608f4bf8ebeb481be0137998d51c3d1d9796f6"}},{"ruleId":"D2","level":"warning","message":{"text":"create_link_tree.main (cognitive 24): create_link_tree.main has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (16 pts), error handling 1 (4 pts), loops 3 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/python/tools/create_link_tree.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a665436c3e66e58cab17a79b9cb347f79519f83bd762eef08f42e4421ede98"}},{"ruleId":"D2","level":"warning","message":{"text":"extract.main (cognitive 24): extract.main has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/python/tools/extract.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1483d57affe4f7792bf7fd1731b82a78afd621f180f9c48225ada24417604567"}},{"ruleId":"D2","level":"warning","message":{"text":"BuckActionExecutor::execute (cognitive 23): BuckActionExecutor::execute has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2 (nesting depth added 11). Of this number, 20 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/execute/action_executor.rs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd45656458863b7bea58d39f6a095193f08677c2486f072c89f71053d310f9f"}},{"ruleId":"D2","level":"warning","message":{"text":"ForwardingState::compute_next_transition (cognitive 23): ForwardingState::compute_next_transition has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 10 (20 pts), if/else 2 (3 pts) (nesting depth added 11). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/stream_util.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad01bc3ce4ba5c70d0e976905f01b4e9a26659c5c8755229b9d9d7edc21ce60"}},{"ruleId":"D2","level":"warning","message":{"text":"WhatUploadedCommand::exec_impl (cognitive 23): WhatUploadedCommand::exec_impl has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (6 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/what_uploaded.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"44036010dd13c775ee59e2812c1462122186c209e0c1ce73c15cef0da2227474"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_fs::paths::relative_path::verify_relative_path (cognitive 23): buck2_fs::paths::relative_path::verify_relative_path has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_fs/src/paths/relative_path.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f976f51e0321ed42df6d9ae4dc0948b918d27af6bd5f35f4550aee338df5f8"}},{"ruleId":"D2","level":"warning","message":{"text":"ChromeTraceWriter::write_build_phases (cognitive 23): ChromeTraceWriter::write_build_phases has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_log_common/src/chrome_trace.rs"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc53524050f3ed31399a4342fbf963d3e06199738d945a8c3ac4659d6391155"}},{"ruleId":"D2","level":"warning","message":{"text":"Expr::fmt (cognitive 23): Expr::fmt has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 5 (10 pts), match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_parser/src/lib.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f4f3af2360be34d3b8c816417f3f2f6042f5a2c5e250d1e921d53cd0ea5c26"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_project::buck::to_project_json (cognitive 23): rust_project::buck::to_project_json has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/rust-project/src/buck.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"91929e41c2ea3b8f6b0a6e52cda5d8202a6008dd8b58391e73ac95ef58c2b85b"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_project::buck::check_cycles_in_crate_graph (cognitive 23): rust_project::buck::check_cycles_in_crate_graph has cognitive complexity 23 (threshold 15). Drivers by points: loops 6 (13 pts), if/else 2 (10 pts) (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/rust-project/src/buck.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a1a8d1c8ac00c7f7efe062d347fdd1546973f2cb64d2003b55a595bbb26095"}},{"ruleId":"D2","level":"warning","message":{"text":"Evaluator::eval_statements (cognitive 23): Evaluator::eval_statements has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (8 pts), match/switch 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/debug/evaluate.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a65766ffa6b6538d57087fae01bd4b78978d2d5db8b8c6191a71ffb4107e2ee"}},{"ruleId":"D2","level":"warning","message":{"text":"StarlarkValueAttrs::parse (cognitive 23): StarlarkValueAttrs::parse has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (22 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/starlark_value.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf820b551d0f4b6ab82e0d75339fc1c15ee284d1ab60c37e2a009a345f612eb"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark_derive::module::parse::fun::parse_arg (cognitive 23): starlark_derive::module::parse::fun::parse_arg has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 7, match/switch 3 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/module/parse/fun.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef150d7ee1d7080454252fdaaef10c1d7d2703b082d8748feeb676b93d7fe48"}},{"ruleId":"D2","level":"warning","message":{"text":"BlastIndex::blast_of_cancellable (cognitive 23): BlastIndex::blast_of_cancellable has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/blast.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"914e8730fd183684ce8dee35af68bf7a99f3179952a0d039b3ff81b19380bf33"}},{"ruleId":"D2","level":"warning","message":{"text":"Ready::respawn_cp_sim (cognitive 23): Ready::respawn_cp_sim has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 3 (6 pts), loops 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7d6b34bcae39caa407d0cd4d9226353e9d0f760ce4539293d2ba04a9a4f2ce"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::findings::retry_tax (cognitive 23): retrace::findings::retry_tax has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/findings.rs"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ca3b101704d1560a778d8c7bd59c85a69d6aa03447033074bcf940772bbfb8"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::graph::unescape (cognitive 23): retrace::graph::unescape has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/graph.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79ac33d97089ee1076aba1ad8454f171581b7981c4f929ed10269abd144d6b0"}},{"ruleId":"D2","level":"warning","message":{"text":"NonAbiDeclarationsStrippingIrVisitor.removeNonPublicApi (cognitive 23): NonAbiDeclarationsStrippingIrVisitor.removeNonPublicApi has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 6 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e8f6c2347db30bb4b037aa44c46321cf465a31196d1a9ea957f078a56cf78f"}},{"ruleId":"D2","level":"warning","message":{"text":"NonAbiDeclarationsStrippingIrVisitor.removeNonPublicApi (cognitive 23): NonAbiDeclarationsStrippingIrVisitor.removeNonPublicApi has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 6 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e4a339d77ea37ee7f35f534269899c173fec79e0793e44636389208fecdb23"}},{"ruleId":"D2","level":"warning","message":{"text":"NonAbiDeclarationsStrippingIrVisitor.removeNonPublicApi (cognitive 23): NonAbiDeclarationsStrippingIrVisitor.removeNonPublicApi has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 6 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4fbeee9a388fb77dded0e92d30c43d9f7e1ae1e2b31824de43b50112696caa"}},{"ruleId":"D2","level":"warning","message":{"text":"FirMetadataSanitizerStage.hasErrorExpressionRecursive (cognitive 23): FirMetadataSanitizerStage.hasErrorExpressionRecursive has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 3, error handling 1 (2 pts), match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8d8b09e13dc9c91d0a8bee85e0dd05e1f5d795a4f994af2d5d0dacf059467d"}},{"ruleId":"D2","level":"warning","message":{"text":"SecondaryDexCompressionExecutableMain.run (cognitive 23): SecondaryDexCompressionExecutableMain.run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 2 (6 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/dex/SecondaryDexCompressionExecutableMain.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77614ff44116561d9a52f46593bc930869ad41fc9cfc201169a055d2b5ffcee"}},{"ruleId":"D2","level":"warning","message":{"text":"extract.extract (cognitive 23): extract.extract has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/python/tools/extract.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c76abb35b324c3aeb15bf98ab299fcf4f2cb6364551814021ff020a66f97cb"}},{"ruleId":"D2","level":"warning","message":{"text":"make_py_package_manifest_module.main (cognitive 23): make_py_package_manifest_module.main has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/python/tools/make_py_package_manifest_module.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c804a6cb9ad943b7b2223177842ac829ae91d8d24b7ecb6807ff0df881d0b53"}},{"ruleId":"D2","level":"warning","message":{"text":"action-events.extractActionSpans (cognitive 23): action-events.extractActionSpans has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/action-events.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8db108d2960ee0ee71b202acc53b40c4021d2f9cb8c2d3d103c4b5d583ac6fb"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionTreemap.ActionTreemap (cognitive 23): ActionTreemap.ActionTreemap has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 7, boolean chains 5 (nesting depth added 6). Of this number, 15 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/ActionTreemap.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb1078b5c0e0f6f8f450807d9116125bc654ad7440f9dd2185a985fa88c30bc"}},{"ruleId":"D2","level":"warning","message":{"text":"EventLogDetailPanel.EventLogDetailPanel (cognitive 23): EventLogDetailPanel.EventLogDetailPanel has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (13 pts), boolean chains 8, if/else 2 (nesting depth added 6). Of this number, 22 points are the body\u0027s own statements and 1 belongs to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/event-log/EventLogDetailPanel.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50a4e44f2bfdcf99d5f3aa5995622bf67487bba6644cdb3b47c15886d6454c9"}},{"ruleId":"D2","level":"warning","message":{"text":"DetailedAggregatedMetricsStateTracker::compute_metrics (cognitive 22): DetailedAggregatedMetricsStateTracker::compute_metrics has cognitive complexity 22 (threshold 15). Drivers by points: loops 7 (12 pts), if/else 7 (10 pts) (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/build/detailed_aggregated_metrics/implementation/state.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdffb71d97c435544a015c8ed3627ce79166a16b9b99c58bc84a5aa8710b42b"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandLineBuilderRegular::write_str_inner (cognitive 22): CommandLineBuilderRegular::write_str_inner has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/cmd_args/builder.rs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"8674079d73cb97a0aadd3da9ab6981aaf6611b4c18a782a38f7a20d854c05263"}},{"ruleId":"D2","level":"warning","message":{"text":"TransitiveSet::new (cognitive 22): TransitiveSet::new has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (17 pts), match/switch 3, boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"482d90fe73b6677a35fdf06af50c1bb3d2e1f07587e7eff081f7a40645b83e86"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleConsole::print_stats_while_waiting (cognitive 22): SimpleConsole::print_stats_while_waiting has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 1 (3 pts), match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/simpleconsole.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f46ed16cb505fa1efb73f62b5e2ed82b945ccf7e76f540e9d609d8c62faee7"}},{"ruleId":"D2","level":"warning","message":{"text":"StatefulSuperConsoleImpl::tick (cognitive 22): StatefulSuperConsoleImpl::tick has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (20 pts), match/switch 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole.rs"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23c0d28d30753641afe275adef9798e15849c3346a4cfe4665efd6f676a53ca"}},{"ruleId":"D2","level":"warning","message":{"text":"AuditIncludesCommand::server_execute (cognitive 22): AuditIncludesCommand::server_execute has cognitive complexity 22 (threshold 15). Drivers by points: loops 4 (10 pts), match/switch 2 (7 pts), if/else 4 (5 pts) (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_audit_server/src/includes.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ab6acb596b5c11323edf40f85061098be097948e796c12b5cf24e9205c4211"}},{"ruleId":"D2","level":"warning","message":{"text":"SnoopCommand::exec_impl (cognitive 22): SnoopCommand::exec_impl has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 5 (10 pts), if/else 4 (6 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/snoop.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0e2e516d47ec7c9e56126fc47c26b0514f8532ac78976cb37511e16a05b42a"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_cmd_starlark_server::util::paths::starlark_file (cognitive 22): buck2_cmd_starlark_server::util::paths::starlark_file has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 4 (6 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_starlark_server/src/util/paths.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c998cdba17746f81a766a06acbeeb413800501d93f39e2961a638fcd344c6fd"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_execute::materialize::http::copy_and_hash (cognitive 22): buck2_execute::materialize::http::copy_and_hash has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3 (4 pts), match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/materialize/http.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6eb64d26bcf7e7eb38b7226d96975d7eae15d18f63d2d396e0f09fbfa54ee68"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_server::agent_context_validation::validate_agent_context (cognitive 22): buck2_server::agent_context_validation::validate_agent_context has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/agent_context_validation.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea740569a8ec2b888ceae3e013facbb5f787448323148fb1d3d6f9d53068fe88"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_tenant_proxy::process::run (cognitive 22): buck2_tenant_proxy::process::run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), match/switch 2 (3 pts), loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_tenant_proxy/src/process.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5933c40a534f55b1e1a0210317a72a314f7122db2bdc00c93d66e10541729bd2"}},{"ruleId":"D2","level":"warning","message":{"text":"BuckTestOrchestrator::execute_request (cognitive 22): BuckTestOrchestrator::execute_request has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 7 (12 pts), if/else 5 (8 pts), boolean chains 2 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/orchestrator.rs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"e216a5119ce65793a57b0d3cb04b6fe38919b327b99c7da1db7c6fceb2102b59"}},{"ruleId":"D2","level":"warning","message":{"text":"TypingOracleCtx::params_intersect (cognitive 22): TypingOracleCtx::params_intersect has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/oracle/ctx.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c862126da23df3ebd2ebe43248934b4f5e367d0f9a9668e1222c90285cda87e"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark::analysis::dubious::duplicate_dictionary_key (cognitive 22): starlark::analysis::dubious::duplicate_dictionary_key has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 3 (4 pts), loops 1 (2 pts) (nesting depth added 12). None of this is in the body itself: all 22 points belong to 2 function items inside it that branch (to_key, expr). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/analysis/dubious.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"506fa78174616b59ca18b1ce2c093ac81506287f7a333ff26114df891da1ff9e"}},{"ruleId":"D2","level":"warning","message":{"text":"BazelContext::get_repository_names (cognitive 22): BazelContext::get_repository_names has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 1 (3 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_bin/bin/bazel.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ff2aba948f5210ed1759d42364f8c5064ccacee794b5fe2f45e7b95fdfa364"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoBoundVisitor::visit_type_path (cognitive 22): AutoBoundVisitor::visit_type_path has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/starlark_pagable.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd7e654ecbf351eda378c29f9a330ba9f1f12877703112d58b60984209545ed"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer::calculate_indent (cognitive 22): Lexer::calculate_indent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 4 (8 pts), match/switch 2 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd883dfa8084405aabf30bf3a8c57b8c0ee61d7523993de1af9e28b8143ab73"}},{"ruleId":"D2","level":"warning","message":{"text":"ParserRd::parse_atom (cognitive 22): ParserRd::parse_atom has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 4 (13 pts), if/else 2 (7 pts), loops 1 (2 pts) (nesting depth added 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"333b1291f62a7f842c19d37cb7d0cf973fd46f2c6f59e2da21c6f9ea562aeb0b"}},{"ruleId":"D2","level":"warning","message":{"text":"CascadeState::poll (cognitive 22): CascadeState::poll has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (15 pts), match/switch 2 (6 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/cascade.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee27e14973e5d091c5e63aaebc7468a3ca926b9443c9e68696fb1d1b1347f4a"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionUi::poll (cognitive 22): ExecutionUi::poll has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 5 (12 pts), if/else 6 (10 pts) (nesting depth added 11). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/execution_ui.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d496639a125deeea19cf48eee928e3e2bf53a7e2c71430ed4682ca8eff7ba75"}},{"ruleId":"D2","level":"warning","message":{"text":"App::ui (cognitive 22): App::ui has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":1988}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d55ac34e870011a8811acef01875856ffad4e7a82e2423da46dffdf3f5bb6d1"}},{"ruleId":"D2","level":"warning","message":{"text":"Quality::seal (cognitive 22): Quality::seal has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 8, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/quality.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4775941ead468979ace29304193e25ced88e4ea574238e1067b16b75aed3f1"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::ingest::emit::cache_diagnostics_for (cognitive 22): retrace::ingest::emit::cache_diagnostics_for has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/emit.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"57524db032523b8beff6359faf7d561a779e532988bfb5ef8a2f1fdd34d634e5"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::ingest::emit::write_parallel_records_delimited (cognitive 22): retrace::ingest::emit::write_parallel_records_delimited has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 6 (8 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/emit.rs"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd305068a49059d718a7015a36bedc577b45b2ae670133be63c44892a85cd17c"}},{"ruleId":"D2","level":"warning","message":{"text":"APKModuleGraphExecutableMain.run (cognitive 22): APKModuleGraphExecutableMain.run has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 5 (11 pts), loops 3 (6 pts), if/else 5 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/apkmodule/APKModuleGraphExecutableMain.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"123911a2887b08ba6371b93ad561e6c36a56edb37dcf2f68e702c6f79a878067"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildConfigFields.generateBuildConfigDotJava (cognitive 22): BuildConfigFields.generateBuildConfigDotJava has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (17 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/build_config/BuildConfigFields.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c3721320fb10688c4c0f38585c63f291353f469b8c1cffa23b5f780dfdb9e1"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeAndroidResources.writePerPackageRDotJava (cognitive 22): MergeAndroidResources.writePerPackageRDotJava has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (14 pts), ternaries 1 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/resources/MergeAndroidResources.java"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e87024cc166ba743ac09b9ce7cc3fff59d8763aad96c8a652effdd2636c9eba"}},{"ruleId":"D2","level":"warning","message":{"text":"TraversableGraphs.isAcyclic (cognitive 22): TraversableGraphs.isAcyclic has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (7 pts), boolean chains 2, ternaries 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/core/util/graph/TraversableGraphs.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fef5436130b9935ab85a0962a52b289e11dec2f463a3ef1daedc8ddd08cf29"}},{"ruleId":"D2","level":"warning","message":{"text":"1.missingPathTo (cognitive 22): 1.missingPathTo has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/CompilerTypeResolutionSimulator.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca675bf4fd76f74a7452f1d532bb153ed8b9c87363ddcc306a3e993ac770ec97"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseRunner.parseArgs (cognitive 22): BaseRunner.parseArgs has cognitive complexity 22 (threshold 15). Drivers by points: error handling 3 (9 pts), if/else 4 (8 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/testrunner/BaseRunner.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"093fb0d476b2e06521c3f118790cdcf5de554f1c467d6f2bf0d88144f698974a"}},{"ruleId":"D2","level":"warning","message":{"text":"ZipScrubber.scrubExtraFields (cognitive 22): ZipScrubber.scrubExtraFields has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/util/zip/ZipScrubber.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d870894b6f7a7e74bb1ac1320812f1fc5e0dd85d3e80f88ada5a5af3807f4a"}},{"ruleId":"D2","level":"warning","message":{"text":"dist_lto_prepare_gnu.main (cognitive 22): dist_lto_prepare_gnu.main has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 4 (9 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/cxx/dist_lto/tools/dist_lto_prepare_gnu.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"baddaef71abd9db2536cb4862dcbd1badeaa506964552b5fe41d9e2aa06b9a7b"}},{"ruleId":"D2","level":"warning","message":{"text":"dependency_analyzer.extract_dependencies (cognitive 22): dependency_analyzer.extract_dependencies has cognitive complexity 22 (threshold 15). Drivers by points: loops 5 (10 pts), match/switch 5 (8 pts), if/else 1 (3 pts), boolean chains 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/erlang/toolchain/dependency_analyzer.erl"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"219250d79e7c6224dcecf07fe83f063092caf88546e1e40d36f9895e809a1660"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App (cognitive 22): App.App has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 8 (10 pts), boolean chains 1, error handling 1 (nesting depth added 8). None of this is in the body itself: all 22 points belong to one function literal inside it that branches (line 63). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/App.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa90737a44976f4f74ffe4529ea4d41ccfc2137ef7a70152e80e61587fca634a"}},{"ruleId":"D2","level":"warning","message":{"text":"DecodeStatsPanel.DecodeStatsPanel (cognitive 22): DecodeStatsPanel.DecodeStatsPanel has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 10 (13 pts), boolean chains 7, if/else 2 (nesting depth added 3). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/DecodeStatsPanel.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7eb2a5f3bcee3dbc1b0aec8ec9b7d4c90d5d7efb1121fb5f935d90f7a4596a"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_build_api::build::detailed_aggregated_metrics::buck2_sketches::gather_heap_graph_sketch (cognitive 21): buck2_build_api::build::detailed_aggregated_metrics::buck2_sketches::gather_heap_graph_sketch has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 1 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/build/detailed_aggregated_metrics/buck2_sketches.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"65742e3b1193243f38b6627b80f51c989b4c7a7762b1b81d46fe51bd69de0e99"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_build_api::materialize::materialize_artifact_group (cognitive 21): buck2_build_api::materialize::materialize_artifact_group has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 1 (2 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/materialize.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d565d7e54c9446dd0fe7c82a3547fe834ee1f942405b4767a6a1ed84853f4f5a"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderCodegen::field (cognitive 21): ProviderCodegen::field has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (21 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api_derive/src/provider.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"873a65372d27c81e92bcbcb3b458092af6594eb33f89ccb57b444d40f7a1fa5b"}},{"ruleId":"D2","level":"warning","message":{"text":"BuckOutPathTypePrinter::all_attributes (cognitive 21): BuckOutPathTypePrinter::all_attributes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (20 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_audit_server/src/output/buck_out_path_type_printer.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef560293c465b0e52dfaea7c88cf0067d62b7fcf21926710cc84cab292a0deb"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_cmd_audit_server::visibility::verify_visibility (cognitive 21): buck2_cmd_audit_server::visibility::verify_visibility has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (6 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_audit_server/src/visibility.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ca0fffd6ec8cf209ecc3aaf6e3120cb388c23a7f5c4f0b322c973a87cb47b0"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteExecutionClientImpl::execute_impl (cognitive 21): RemoteExecutionClientImpl::execute_impl has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (38 pts), match/switch 7 (14 pts), boolean chains 3, loops 2 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (RemoteExecutionClientImpl::execute_impl::wait_for_response_or_stage_change) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5ecabf42bfb9d4d2f0ece28a181618d676599a49a6d309809246aef26df420"}},{"ruleId":"D2","level":"warning","message":{"text":"Batcher::finish (cognitive 21): Batcher::finish has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 4 (12 pts), if/else 2 (6 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/presence.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f59b41391e7a67ccd89879fadd3d5ed16c9fdb423cb6e9ad32a105c39659863"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_wrapper_common::killall (cognitive 21): buck2_wrapper_common::killall has cognitive complexity 21 (threshold 15). Drivers by points: loops 5 (7 pts), match/switch 4 (7 pts), if/else 4 (6 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_wrapper_common/src/lib.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"195b2a13d2a8a90826ad5cb4e70ac68a8ff78fac6b1681151836fe68490707d8"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreState::check_attachment (cognitive 21): CoreState::check_attachment has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 2 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice_core/src/invariants.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09d25fb50520dd88a745eb4ea9792719199085c501221efa1ce4bc8b7f804e0"}},{"ruleId":"D2","level":"warning","message":{"text":"Game::draw_unchecked (cognitive 21): Game::draw_unchecked has cognitive complexity 21 (threshold 15). Drivers by points: if/else 2 (11 pts), loops 2 (5 pts), match/switch 2 (5 pts) (nesting depth added 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/blocks.rs"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"a451aa0558be59c49f3d59baa79da0428bedcfd4fa1182fb7cb54c90559c0595"}},{"ruleId":"D2","level":"warning","message":{"text":"Menu::input (cognitive 21): Menu::input has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 3 (5 pts) (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/menu.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"76be83433a95c239710be4d89110a292ab3453cb744338331df019e4fb0851f7"}},{"ruleId":"D2","level":"warning","message":{"text":"Game::render_cell (cognitive 21): Game::render_cell has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 1, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/minesweeper.rs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb0a1da99c8d9102ec0cdd3ac26bbdb56e123966f8b6eb91db89ad19795e7de"}},{"ruleId":"D2","level":"warning","message":{"text":"Solver::compute_dead_cells (cognitive 21): Solver::compute_dead_cells has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 5 (7 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/sokoban.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"881fc446b7892152a7843c57ec555f7cf19050725a5ee7b55fa2607eb08189f4"}},{"ruleId":"D2","level":"warning","message":{"text":"REClient::get_digests_ttl (cognitive 21): REClient::get_digests_ttl has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (6 pts), match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"521a64d51a2904dc3540c8bb055dd88440a682b3ade7067c3c0b46fa9f479de4"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark_derive::module::parse::fun::parse_starlark_fn_param_attr (cognitive 21): starlark_derive::module::parse::fun::parse_starlark_fn_param_attr has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/module/parse/fun.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b68e02a29fc64318dd9a928dca53d2377e4e65e9b1095886813137ce4b24b8d"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeExprUnpackP::unpack_path (cognitive 21): TypeExprUnpackP::unpack_path has cognitive complexity 21 (threshold 15). Drivers by points: if/else 2 (9 pts), loops 2 (8 pts), match/switch 2 (4 pts) (nesting depth added 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/type_expr.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7365ae11c455c5385febba85575dcfbcf7d6fd476ad0a4b1207653c7d3c80a"}},{"ruleId":"D2","level":"warning","message":{"text":"Phase::interval (cognitive 21): Phase::interval has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/profile.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8df7cd91b90398a2854adfbddda8e127b25278abea246bcfa6e7c3cd1d45c86"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplayScratch::path (cognitive 21): ReplayScratch::path has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/sim.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dc0d3e45c6eec74ac04027cf726db5d75a41f08ca4dc1dccd01bf8a5350412"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::detail::analysis_prompt (cognitive 21): retrace::detail::analysis_prompt has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/detail.rs"},"region":{"startLine":2374}}}],"partialFingerprints":{"codehealthFindingId/v1":"737b65e42b9d8c01e81c5c6769c08bb052d4d7a751258b12cfe2967c6c5ae102"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::export::command_rows (cognitive 21): retrace::export::command_rows has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 2 (7 pts), loops 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/export.rs"},"region":{"startLine":1647}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c6403e446828552a5ff79ba19183c1aaf45f0cafcd9e3cb5cd5408ddc125e9"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::findings::peer_outliers (cognitive 21): retrace::findings::peer_outliers has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 2, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/findings.rs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"75129021ee77d38c366c269ad117a91893a2f53e0f2105bf136cac9802689bf0"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::findings::overhead_tax (cognitive 21): retrace::findings::overhead_tax has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/findings.rs"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d578f218eb105bf2b7c483e90cf6eaf0cad21f68c74643e3699778a983542b"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::graph::parallel::scan_with_parser (cognitive 21): retrace::graph::parallel::scan_with_parser has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 6 (7 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/graph/parallel.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"740fabc6943a225d1c2ea563ca402944cd82888d92d4e9622e16d59eba35618c"}},{"ruleId":"D2","level":"warning","message":{"text":"SortKey::extract (cognitive 21): SortKey::extract has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 6 (13 pts), if/else 2 (6 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/sort_key.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf91a09c799d0cad8d85abc9d38f7fa06dccb685148ee9d818d67721452b235"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark_fmt_lib::lib::autofixes::load_utils::extract_load_statements (cognitive 21): starlark_fmt_lib::lib::autofixes::load_utils::extract_load_statements has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/autofixes/load_utils.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e59e87e9c4cede89785e6cdb1787c2b8f57ddad9ba2ca0e2bb92ee6d783992e"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark_fmt_lib::lib::autofixes::move_loads_to_top::collect_edits (cognitive 21): starlark_fmt_lib::lib::autofixes::move_loads_to_top::collect_edits has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/autofixes/move_loads_to_top.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"454c2cec83a3aca44d8ee1b6b2b10e75253e52cf03e772817120a64313969565"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidDeviceImpl.installApexOnDevice (cognitive 21): AndroidDeviceImpl.installApexOnDevice has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 3 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/exopackage/AndroidDeviceImpl.kt"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dd84d5a57f89c7bb1e66cb51c3547bd15382f94700574c3c83e3e2b9ec2822"}},{"ruleId":"D2","level":"warning","message":{"text":"KosabiClassUsageCollector.recordClassDeclaration (cognitive 21): KosabiClassUsageCollector.recordClassDeclaration has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/KosabiClassUsageCollector.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a018d7fb61d7a698c3631f735793477a35f28b2837e66a59821d281b18f9c3"}},{"ruleId":"D2","level":"warning","message":{"text":"Ksp2Step.executeKsp2 (cognitive 21): Ksp2Step.executeKsp2 has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/ksp/Ksp2Step.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8dbcb6e04d9407155c9be7c4720705c84a9bb18da44c775c1aa38a0a6de3e01"}},{"ruleId":"D2","level":"warning","message":{"text":"process._traverse_keypath (cognitive 21): process._traverse_keypath has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/info_plist_processor/process.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eade09efa0cd9c2d992ef0444d6d963f1775db653fea46bf5a69e6df845684d"}},{"ruleId":"D2","level":"warning","message":{"text":"compile_and_package._run_javac (cognitive 21): compile_and_package._run_javac has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/java/tools/compile_and_package.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec59927bcbc23185563c20e6ebef632fdfcfeba8d8793eb2cd428841bf23fbea"}},{"ruleId":"D2","level":"warning","message":{"text":"main.matchPattern (cognitive 21): main.matchPattern has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/go/tools/gen_embedcfg.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a08376fbebaac48b4650e3d29c2977667898ab2102e8947a283b052a32d0cc3"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.queryBXL (cognitive 21): driver.queryBXL has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/go/tools/gopackagesdriver/driver/query_bxl.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"776661e56d1d19a292e07a14b1dcdf1539f4da9a4e2a12bc6da4e4028f7998eb"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_action_impl::context::write::analysis_actions_methods_write::write (cognitive 20): buck2_action_impl::context::write::analysis_actions_methods_write::write has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11, loops 3 (6 pts), boolean chains 2, match/switch 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/context/write.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c5ddc358cb759e37ad05c9be68de1f3ed072b2af06744c12e5c984199f64ea"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildReportCollector::collect_results_for_unconfigured (cognitive 20): BuildReportCollector::collect_results_for_unconfigured has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/build/build_report.rs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab399251e08b8303714527040dc9e1bc4f73c42528cffb7e766d376d16e07ca"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_build_api::configure_targets::get_maybe_compatible_targets (cognitive 20): buck2_build_api::configure_targets::get_maybe_compatible_targets has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/configure_targets.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad584d72e4fa840e5ceda9656913aa44e81b7985b81561ad95f20e2eaf3a91b"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildSignalReceiver::record_load_discovery (cognitive 20): BuildSignalReceiver::record_load_discovery has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_signals_impl/src/lib.rs"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"037450e0ba045a8c02b32d2b1c8e979f0841153037ff807d959b5d861fd97c0c"}},{"ruleId":"D2","level":"warning","message":{"text":"EscapeState::feed (cognitive 20): EscapeState::feed has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 4 (8 pts), boolean chains 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cae8896beaaaeb639177b253e29bd8ce675468626bf8cbd8549e36e2f4be798"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_client_ctx::daemon::daemon_windows::spawn_background_process_on_windows::append_quoted (cognitive 20): buck2_client_ctx::daemon::daemon_windows::spawn_background_process_on_windows::append_quoted has cognitive complexity 20 (threshold 15). Drivers by points: loops 5 (12 pts), if/else 4 (5 pts), boolean chains 3 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/daemon/daemon_windows.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0514233985c6657cf7647819dfa3fab76ade76d008505da5a026ad0a9c4265c"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_cmd_targets_server::targets::default::targets_batch (cognitive 20): buck2_cmd_targets_server::targets::default::targets_batch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_targets_server/src/targets/default.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62b4407d6cc559a23b5babaa62f345b40505ff5659feb5913c45119e10817fb"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_common::pattern::package_roots::collect_package_roots (cognitive 20): buck2_common::pattern::package_roots::collect_package_roots has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (4 pts), match/switch 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/pattern/package_roots.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c0586307710e61c7610bd336e159d1d110af40cbfd7601a7f091e24cd4fd76"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_configured::nodes::resolve_transition_input_attrs (cognitive 20): buck2_configured::nodes::resolve_transition_input_attrs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (15 pts), loops 2 (4 pts), match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/nodes.rs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"3deb0eeee56ab8d9f6fede99b70ba2ee5a849e413ba11727e655de948dcdc347"}},{"ruleId":"D2","level":"warning","message":{"text":"StaleFinder::visit (cognitive 20): StaleFinder::visit has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 7 (15 pts), if/else 2 (4 pts), loops 1 (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":1869}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f10f6efedf89871adb27a4531ad34c0bb03f4c1e4b44d5cda5283673a15a83"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_execute_impl::materializers::v2::clean_stale::plan (cognitive 20): buck2_execute_impl::materializers::v2::clean_stale::plan has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (14 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/v2/clean_stale.rs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1dd406f5b40ee8dea4cf9e80da0324231bbeb87fa9481a89f884c27e3c5459"}},{"ruleId":"D2","level":"warning","message":{"text":"StarlarkSelector::select_test (cognitive 20): StarlarkSelector::select_test has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, loops 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/interpreter/selector.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8f8796983487b880397f9d0c62b4a8d699c7e9b5667e5fd395e81e73ce53f1"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_log_common::chrome_trace::build_phase_mask (cognitive 20): buck2_log_common::chrome_trace::build_phase_mask has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 5 (11 pts), if/else 2 (6 pts), loops 1 (3 pts) (nesting depth added 12). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_log_common/src/chrome_trace.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"206e4e2bfc77333f6f7cee2d50dd225d57a209d9baa481c08eaf52dc5ed46a3c"}},{"ruleId":"D2","level":"warning","message":{"text":"MixedGraph::reachable_within_action_depth (cognitive 20): MixedGraph::reachable_within_action_depth has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 4 (7 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/aquery/mixed_graph.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47726737bd96b325f3c971b17be5be0dedac449aaac8788f56656546f0b8913"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_query_impls::analysis::environment::get_template_info_provider_artifacts (cognitive 20): buck2_query_impls::analysis::environment::get_template_info_provider_artifacts has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (9 pts), match/switch 1 (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/analysis/environment.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"309ac06bf6c0d78c9531eb8b2c4c2557a1cd518c352aacb73ce0b1392a9406fe"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_query_impls::aquery::find_matching_action::find_matching_action (cognitive 20): buck2_query_impls::aquery::find_matching_action::find_matching_action has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (12 pts), match/switch 4 (7 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/aquery/find_matching_action.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd8cc0c0bc6ef343db7b8bdecc475c45ea36d764a6a9fa7b6e85982300a0682"}},{"ruleId":"D2","level":"warning","message":{"text":"Expr::fmt (cognitive 20): Expr::fmt has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (6 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/ast.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3dfbc444b88696540247964e147c1a678c7208e61b02fc803c2f2a8e6820bed"}},{"ruleId":"D2","level":"warning","message":{"text":"PagableStorage::page_out_item_ticketed (cognitive 20): PagableStorage::page_out_item_ticketed has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 3 (8 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pagable/src/storage/traits.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f1d4e8b489e81109f6d7391303c7573e677382a100d8cf7d046937cc223695"}},{"ruleId":"D2","level":"warning","message":{"text":"remote_execution::client::is_retryable (cognitive 20): remote_execution::client::is_retryable has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8572e8e20f5e833bfc062378ff9d3214748a849b70873beeb6d3ef5adf2aa74"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark::eval::runtime::params::display::fmt_param_spec_maybe_multiline (cognitive 20): starlark::eval::runtime::params::display::fmt_param_spec_maybe_multiline has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/runtime/params/display.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e09bbdbd1c6dfacd5b7a4f28f27070747b8d391539937c7c9c3fadc9e696073"}},{"ruleId":"D2","level":"warning","message":{"text":"Backend::resolve_definition_location (cognitive 20): Backend::resolve_definition_location has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 9 (18 pts), if/else 1 (2 pts) (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/server.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ba312eb3abd3beabd176f4e7413c0d3511c5e76225665933516e8e5f32e27b"}},{"ruleId":"D2","level":"warning","message":{"text":"AstModule::typecheck (cognitive 20): AstModule::typecheck has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 4 (11 pts), loops 3 (5 pts), if/else 2 (4 pts) (nesting depth added 11). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/typecheck.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bdf3f3e613cdcd4cf6eeb8ff62b0a8ab23b20b5274f790696f2d6bd4b627ba"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::command_ui::snapshot_context (cognitive 20): retrace::gui::command_ui::snapshot_context has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 2, loops 2, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/command_ui.rs"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"72eb263ce560b5789ebb47cc2bb5b0694a1242d379c1eaee82b5ff676d5bfa9f"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark_fmt_lib::lib::autofixes::sort_loads::collect_edits (cognitive 20): starlark_fmt_lib::lib::autofixes::sort_loads::collect_edits has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/autofixes/sort_loads.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e9be82342bf6de62ba8f44e8a688dcb1843db7531cd5620454b5ba255ebe0a"}},{"ruleId":"D2","level":"warning","message":{"text":"StubRenderKt.renderType (cognitive 20): StubRenderKt.renderType has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 3, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/common/stub/render/StubRender.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bd8fc2dbe0a2cd4e05416537604566939277012b9b5d9f0c52ce2ee375c012"}},{"ruleId":"D2","level":"warning","message":{"text":"PrivateMetadataStripper.transform (cognitive 20): PrivateMetadataStripper.transform has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, match/switch 3, error handling 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/BytecodeTransformer.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"481cc6f5b988732a4dad0c725a2e5612385e90e0042f0a2445a1fd2cfd831b8a"}},{"ruleId":"D2","level":"warning","message":{"text":"ValidatingListener.onTypeReferenceFound (cognitive 20): ValidatingListener.onTypeReferenceFound has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/InterfaceValidator.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b90483281e88e6d41757a4acb24b64609d02c9ea95e028e7165bdf9101101f5"}},{"ruleId":"D2","level":"warning","message":{"text":"CrashAnalyzer.analyzeCrashInformation (cognitive 20): CrashAnalyzer.analyzeCrashInformation has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/testrunner/CrashAnalyzer.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d442760fe354ed33d4f9d28d5ddfbd493809a0dc01c4a51e1dda72975f2c55"}},{"ruleId":"D2","level":"warning","message":{"text":"consolidate_class_names.main (cognitive 20): consolidate_class_names.main has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/android/tools/consolidate_class_names.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6d3c87b1ecb370f0aa967b56422a3e2941210c95333d5e22738adb67e57ec7"}},{"ruleId":"D2","level":"warning","message":{"text":"FinalLibGraph.assign_names (cognitive 20): FinalLibGraph.assign_names has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (5 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/android/tools/merge_sequence.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff38685ba24a754cded843b248a81438cc2f3650c5a8bd5dfac74a7b2764dbb"}},{"ruleId":"D2","level":"warning","message":{"text":"typechecker._run (cognitive 20): typechecker._run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (13 pts), loops 4, boolean chains 1, error handling 1, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/kotlin/tools/typechecker/typechecker.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdb169d0817052dc48f1c60029abd7ad77b53a6eb45dafd068dc7357e8489fb"}},{"ruleId":"D2","level":"warning","message":{"text":"VarintStreamParser.parseInPlace (cognitive 20): VarintStreamParser.parseInPlace has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/varint-stream-parser.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb90d33e745b18da2acdba74480e5f3a7983862142521856a08988ed8448f65"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericTreemapView.GenericTreemapView (cognitive 20): GenericTreemapView.GenericTreemapView has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8, boolean chains 6, if/else 3 (4 pts), loops 2 (nesting depth added 1). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 271, 178, 214, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7bf2f2ddee3b1972d210d8995e326b29726d21b3a2950533fa6b5d97045fed"}},{"ruleId":"D2","level":"warning","message":{"text":"TransitiveSetArgsProjection::as_command_line (cognitive 19): TransitiveSetArgsProjection::as_command_line has cognitive complexity 19 (threshold 15). Drivers by points: loops 5 (10 pts), if/else 3 (5 pts), match/switch 4 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_args_projection.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"94525b274a1e7d6fef684fe023c5f9038ff2d58ff05cf8163b570c61d9e63eac"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_cmd_audit_server::output::buck_out_path_parser::get_cell_path (cognitive 19): buck2_cmd_audit_server::output::buck_out_path_parser::get_cell_path has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 1, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_audit_server/src/output/buck_out_path_parser.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bbcc3e5e853c7144327949d3ffc60e66710c71bb7cd01455ac93800188f39d"}},{"ruleId":"D2","level":"warning","message":{"text":"Stats::fmt (cognitive 19): Stats::fmt has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/summary.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"0794173b74f725141d99ec905b9275a7a959ed2a017a22d474f61d577c535386"}},{"ruleId":"D2","level":"warning","message":{"text":"GatherPackageListingError::fmt (cognitive 19): GatherPackageListingError::fmt has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 5 (10 pts), if/else 4 (9 pts) (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/package_listing/interpreter.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4888627205e93d13ae93f7178f1da450132cd688316ca633782ed2bda187be2"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfiguredTargetNodeCalculationInstance::get_configured_target_node (cognitive 19): ConfiguredTargetNodeCalculationInstance::get_configured_target_node has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 1 (5 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/nodes.rs"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d29591a5bc156894dcdd36e219d7edabe82edfd8c2a3b436556d0c7a4f27db"}},{"ruleId":"D2","level":"warning","message":{"text":"Error::from (cognitive 19): Error::from has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (16 pts), match/switch 2, loops 1 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/errors/action_error.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7acd8c89182feeacc70fc51cfd81362c2dc48b29b97e49d8f231b427c95da9f"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildProgressStateTracker::handle_actions (cognitive 19): BuildProgressStateTracker::handle_actions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (16 pts), match/switch 2 (3 pts) (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_observer/src/progress.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33d4b65da917f452f9f6d9e8ef788c8496b687deae539bb498805fb31ec44bb"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteExecutionClientImpl::execute (cognitive 19): RemoteExecutionClientImpl::execute has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), match/switch 2 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":1605}}}],"partialFingerprints":{"codehealthFindingId/v1":"112fa4338bc877333ebac4c7ad68765c7041ceee9f8658d16ce8509e63e899b6"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_execute_impl::materializers::io::materialize_recursively (cognitive 19): buck2_execute_impl::materializers::io::materialize_recursively has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 2 (4 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/io.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c45b84b9b981fa3691b4bd8dc3301096a94946d435a8d0a98bdd08a76941719"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_execute_impl::re::download::materialize_failed_build_outputs (cognitive 19): buck2_execute_impl::re::download::materialize_failed_build_outputs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/re/download.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa2ffe30919ef339a9abfee47046480ad79223161ab9c207d9e8620eb6a6811"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_execute_impl::sqlite::tables::materializer_state_table::convert_sqlite_entries_to_materializer_state (cognitive 19): buck2_execute_impl::sqlite::tables::materializer_state_table::convert_sqlite_entries_to_materializer_state has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (4 pts), match/switch 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/sqlite/tables/materializer_state_table.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35b919a0e301a754f470a648b843aa3c61400b831f324f797669f3acc5c0ea3"}},{"ruleId":"D2","level":"warning","message":{"text":"VisibilityPatternList::any_matches (cognitive 19): VisibilityPatternList::any_matches has cognitive complexity 19 (threshold 15). Drivers by points: if/else 2 (9 pts), loops 2 (6 pts), match/switch 2 (4 pts) (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/visibility.rs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"9765359623da976c5ae934b14a314e4a9fb4361bde0996baacb41c4cb7a73132"}},{"ruleId":"D2","level":"warning","message":{"text":"Scheduler::update (cognitive 19): Scheduler::update has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, match/switch 2, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_resource_control/src/scheduler.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d0f844494bda99d1af9ae429b50ce69a29ed38010f6a2dc62b311a4e842e90"}},{"ruleId":"D2","level":"warning","message":{"text":"TestDriver::drive_to_completion (cognitive 19): TestDriver::drive_to_completion has cognitive complexity 19 (threshold 15). Drivers by points: loops 3 (7 pts), if/else 2 (6 pts), match/switch 2 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/command.rs"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc93500095b9d8d69292159b265ca4938878b65ba6efa32be6fa7af3422bcc93"}},{"ruleId":"D2","level":"warning","message":{"text":"Game::step (cognitive 19): Game::step has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/life.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1e1c47fa208661f57aa04199b766bb9f22ab2dc28eb5846b823fca658f17b1"}},{"ruleId":"D2","level":"warning","message":{"text":"DocString::parse_and_remove_sections (cognitive 19): DocString::parse_and_remove_sections has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 2 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/docs/parse.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5b2b237f7dc4a97083cd3196ed8f82996ccf051dd19fc2baa3dbc77fc095b7"}},{"ruleId":"D2","level":"warning","message":{"text":"Arguments::names_map (cognitive 19): Arguments::names_map has cognitive complexity 19 (threshold 15). Drivers by points: loops 3 (8 pts), if/else 3 (7 pts), match/switch 2 (4 pts) (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/runtime/arguments.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"048e37b3509b7514fbee80d600e6556741bc6665cb14fde5faa18bc1b2be8766"}},{"ruleId":"D2","level":"warning","message":{"text":"JArgs::sanitize (cognitive 19): JArgs::sanitize has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 5 (8 pts) (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/analyses.rs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b51e1ccb2306f5762dc1bb7e2d7f13d16ce7c5f47b0a29716545bb12da1f5d"}},{"ruleId":"D2","level":"warning","message":{"text":"Ready::ensure_cp_savings (cognitive 19): Ready::ensure_cp_savings has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":1565}}}],"partialFingerprints":{"codehealthFindingId/v1":"d029525523c8c7f6d51d9a02d84747db452cfcd3ccd13820a15b0748db336b25"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::detail_ui::det_activity_table (cognitive 19): retrace::gui::detail_ui::det_activity_table has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14338cf70baebe24e341d0c5b230e917f303ff4b1456bbdcab1cc7889d83b1a"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::open::menu (cognitive 19): retrace::gui::open::menu has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 3 (4 pts), loops 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/open.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6605b238719f005d48f06953ab783469417cd2a5080fd8a6a76e43bf5ffcabe"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::reported_path::show (cognitive 19): retrace::gui::reported_path::show has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/reported_path.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"639ce111c6d713511bfe99a0ea0e496e6f0e41a7f4b1e7cfc92a4070109f5847"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::widgets::popup (cognitive 19): retrace::gui::widgets::popup has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/widgets.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d8aacf80d20a27b55e1e5e92ad9f446090b4dbe149dc6518fb8663b58ce1e8"}},{"ruleId":"D2","level":"warning","message":{"text":"StringResourcesUtils.copyVoltronStringResources (cognitive 19): StringResourcesUtils.copyVoltronStringResources has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/resources/strings/StringResourcesUtils.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c8626e874cecc77d5e053ede73e1220b48d6a1d41da039ceba44706aca3b8b"}},{"ruleId":"D2","level":"warning","message":{"text":"ResTableType.processReferencesAt (cognitive 19): ResTableType.processReferencesAt has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/resources/ResTableType.java"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf80174343191b5a41c8fbc0f07d40d700bafc8caf5494d99cd4e4b95ddff11"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowsFS.createSymbolicLink (cognitive 19): WindowsFS.createSymbolicLink has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, ternaries 2, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/io/windowsfs/WindowsFS.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"208ab4adda3467e339e981c69499a6d1440c0fd95310b39d9237c4cff7cc4587"}},{"ruleId":"D2","level":"warning","message":{"text":"AbiFilteringClassVisitor.isHiddenDeprecated (cognitive 19): AbiFilteringClassVisitor.isHiddenDeprecated has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/AbiFilteringClassVisitor.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1b078ef09345e1fbad0a745208b759c6c2152c1e36809d5e68fd3773a72752"}},{"ruleId":"D2","level":"warning","message":{"text":"BridgeMethodsFinder.findBridgesToType (cognitive 19): BridgeMethodsFinder.findBridgesToType has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 5, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/plugin/adapter/BridgeMethods.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8781a03ac7925fbc2e6020b79daabbda594dfb095b089e5f81ca542038e22567"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlincStep.getOptions (cognitive 19): KotlincStep.getOptions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/KotlincStep.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f57988889f8b6008d133ef3aef9fc664af37e9b2432050e7e6decde2cc873f"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseRunner.writeResult (cognitive 19): BaseRunner.writeResult has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/testrunner/BaseRunner.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22575e1336f6b7a8073ff155b6d45b9cb341d247d535a9b54b49fb40b3d2cb3"}},{"ruleId":"D2","level":"warning","message":{"text":"TestListener.testFinished (cognitive 19): TestListener.testFinished has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 4 (5 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"9700c11908a3676b3aedb74e1809a880863c0ea3ba8efd91d0e52ac15ab4d3ef"}},{"ruleId":"D2","level":"warning","message":{"text":"ZipScrubber.getLocalHeaderOffset (cognitive 19): ZipScrubber.getLocalHeaderOffset has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/util/zip/ZipScrubber.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0067de3fbc754a08dffb0fc2a0519c475a4c3e8156546b51c9992e0ff6bee91"}},{"ruleId":"D2","level":"warning","message":{"text":"assemble_bundle._assemble_incrementally (cognitive 19): assemble_bundle._assemble_incrementally has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/bundling/assemble_bundle.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"661c9c7642e65149df870c51599c2c730a955c88407f475be379c5d16b56df41"}},{"ruleId":"D2","level":"warning","message":{"text":"main._main (cognitive 19): main._main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (16 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/bundling/main.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c3bb48378494af9cb812774c159ac4fc079ee1040a558bc28681cfd40a4112"}},{"ruleId":"D2","level":"warning","message":{"text":"list_class_names._get_class_names (cognitive 19): list_class_names._get_class_names has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/java/tools/list_class_names.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae066b0c6c9cb7ae7930968f5af05bc1409455d8b5546512d97dc4ebbbc6859"}},{"ruleId":"D2","level":"warning","message":{"text":"package_tree.assemble_package (cognitive 19): package_tree.assemble_package has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 2 (5 pts), boolean chains 2, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/nodejs/tools/package_tree.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a2d15645ed552e017aec6c6329c2519dc6574c9308cf278d84b8b7947cdffc"}},{"ruleId":"D2","level":"warning","message":{"text":"ParBuilder._get_python_command (cognitive 19): ParBuilder._get_python_command has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/python/tools/make_par/par_builder.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d49e65e3e5aa89b81fe0d7ce2e4ca926f24f2b46f437f11eb417765c08ea788"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.parsePatterns (cognitive 19): driver.parsePatterns has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, loops 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/go/tools/gopackagesdriver/driver/targets.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb824cb0ba957bcca4a41ea8468047ab80220aa76a1842e84a7274c7304e7ba"}},{"ruleId":"D2","level":"warning","message":{"text":"shell_buck2_module_search.find_module_source (cognitive 19): shell_buck2_module_search.find_module_source has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (5 pts), match/switch 4 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/erlang/shell/src/shell_buck2_module_search.erl"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b6c807cc1769b018e1c45744fa4ef2d2dd742307003a4892bd87f4455e9787"}},{"ruleId":"D2","level":"warning","message":{"text":"CriticalPathChart.CriticalPathChart (cognitive 19): CriticalPathChart.CriticalPathChart has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8, ternaries 5 (6 pts), boolean chains 5 (nesting depth added 1). Of this number, 11 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/CriticalPathChart.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f676737c3eaf2919ef5422592d6e5e178d45e9716134f9c74de1f7960945f9e"}},{"ruleId":"D2","level":"warning","message":{"text":"renderer.addTab (cognitive 19): renderer.addTab has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (6 pts), error handling 1 (nesting depth added 10). None of this is in the body itself: all 19 points belong to one function literal inside it that branches (line 70). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"explorer/renderer.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a664c6e6704903cdd2d9918da975f595a61082747230ef1961908d0f0f7088"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_action_impl::actions::impls::declare_writes::declare_writes (cognitive 18): buck2_action_impl::actions::impls::declare_writes::declare_writes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/declare_writes.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b5540ecaeebf09bb7cc4784300be64c2c4301f1db255853ffb3d93f4dc859f"}},{"ruleId":"D2","level":"warning","message":{"text":"AnonTargetAttr::resolve_single (cognitive 18): AnonTargetAttr::resolve_single has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (6 pts), boolean chains 2, match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/anon_target_attr_resolve.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"973892eb6d41dedc7584a6dc11e5bb71b82fdd09fa236a50999327b6f4e4ad0e"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_build_api::interpreter::rule_defs::provider::callable::register_provider (cognitive 18): buck2_build_api::interpreter::rule_defs::provider::callable::register_provider has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 1 (2 pts), match/switch 2 (nesting depth added 6). None of this is in the body itself: all 18 points belong to 2 function items inside it that branch (provider_field, provider). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/provider/callable.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5674fc5f9d425d808118b2362e2e439abc31360471702dfaeaaeee7210db1c"}},{"ruleId":"D2","level":"warning","message":{"text":"TargetListExpr::unpack_iterable (cognitive 18): TargetListExpr::unpack_iterable has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 4 (11 pts), if/else 2 (5 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5f711d667a3e3f2331b9ed10342a364bc00d3bccf6a9db2ea0461e605d5fa8"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusCommand::exec (cognitive 18): StatusCommand::exec has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client/src/commands/status.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef075e6bfaff8fd39790eedd3665dd7d2f7c718f50317e7edc905a518dda19f"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemWarningComponent::draw_unchecked (cognitive 18): SystemWarningComponent::draw_unchecked has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 1 (4 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole/system_warning.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f8ca18a46255132e3628f775e1f658d70f81b334ae5737288543964eb38d08"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalConfigDiffCommand::exec_impl (cognitive 18): ExternalConfigDiffCommand::exec_impl has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 4 (6 pts), match/switch 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/diff/external_config_diff.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b18d6426a82399c7438651f0a1a06584c2116cff83fffaf6eb94d235a98e6b0"}},{"ruleId":"D2","level":"warning","message":{"text":"DirectoryBuilder::map_entry_fasttrack (cognitive 18): DirectoryBuilder::map_entry_fasttrack has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 3 (5 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_directory/src/directory/builder.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedaeb4c4f0c8f62605fbc0cbdb66a465eea5590ff2a03fa6a35987257c3241b"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::shed::completion_verify::src::extract_from_single_output (cognitive 18): crate::shed::completion_verify::src::extract_from_single_output has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shed/completion_verify/src/main.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2235a431309a6835c09d0fae875371723e3970881a8cba33d9412fe7fbb9e94b"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_events::metadata::collect (cognitive 18): buck2_events::metadata::collect has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (16 pts), loops 1 (2 pts) (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_events/src/metadata.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51dfe480e420c2a9bb72e8349a30d14b38697196ad76f26ad565fe08877f7f1"}},{"ruleId":"D2","level":"warning","message":{"text":"DeferredMaterializerCommandProcessor::run (cognitive 18): DeferredMaterializerCommandProcessor::run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 2 (6 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/command_processor.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"df408f401308a1f37b5d85a4fc885cde701ca613bd44f6531349abe37b814e95"}},{"ruleId":"D2","level":"warning","message":{"text":"Scan::visit (cognitive 18): Scan::visit has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 4 (7 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/v2/clean_stale.rs"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc68161064060531ea6f86c9725a7b779a2b35955f23b24ba11e198a2f93684"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_execute_impl::materializers::v2::core::download_task (cognitive 18): buck2_execute_impl::materializers::v2::core::download_task has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 2 (7 pts), if/else 4 (5 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/v2/core.rs"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8b41fc7468e25ad8d5aaac3fc794c3ed24e8e96332fd8e06c4644721f2309c"}},{"ruleId":"D2","level":"warning","message":{"text":"IoError::convert_to_buck2_error (cognitive 18): IoError::convert_to_buck2_error has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 2 (4 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_fs/src/error.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b7390151d146a398aab5fed8fbaf4a02977d78055e39bb8c63b47220d0c367"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_fs::paths::intern_forward_rel_path::interner::walk_parts_for_tails (cognitive 18): buck2_fs::paths::intern_forward_rel_path::interner::walk_parts_for_tails has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_fs/src/paths/intern_forward_rel_path/interner.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa7768b457fba6f45f3d8663bb54a415dd01da47dec83b160876276e87047e4"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_settings::rollouts::select_with_registry (cognitive 18): buck2_settings::rollouts::select_with_registry has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_settings/src/rollouts.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"033538645ba19eebd76405bb65dcaa3317bb0a004f47d9e30ddc1fcb9ad18e4f"}},{"ruleId":"D2","level":"warning","message":{"text":"TestDriver::interpret_targets (cognitive 18): TestDriver::interpret_targets has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 5 (9 pts), if/else 5 (6 pts), loops 1 (3 pts) (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/command.rs"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a767097b3d2ecdd19cd329d61c5860dcd64eb0f392ebb163a054f9f1eae4907"}},{"ruleId":"D2","level":"warning","message":{"text":"TestLabelFiltering::is_excluded (cognitive 18): TestLabelFiltering::is_excluded has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/command.rs"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdcc8a664805ae99d97fba2523f49753de4e0c5f4f0d76c35a2178afd2362e1"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_wrapper_common::cleanall::discovery::find_lifecycle_markers (cognitive 18): buck2_wrapper_common::cleanall::discovery::find_lifecycle_markers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_wrapper_common/src/cleanall/discovery.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"86febce06b8cf20b4a5c4ebe9a9fb85cb0108187ea3d0e8e83d301ad219d2a35"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreState::resolve (cognitive 18): CoreState::resolve has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 2 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice_core/src/resolve.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b19c3e80ccc492152b12acf26189b088e8bcb2bf441186cf3f79d7ad977bb46"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreState::materialize_inheritance (cognitive 18): CoreState::materialize_inheritance has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice_core/src/state.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09d8558ba682329deecf4e0624861783a36670d349d8dc8ec424aefd620aeaf"}},{"ruleId":"D2","level":"warning","message":{"text":"Game::slide (cognitive 18): Game::slide has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 4 (7 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/twenty48.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"082cb246b7568e5b194d44ac21c650cbace43b7f34340cb89914281360d51adb"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark::typing::typecheck::solve_bindings (cognitive 18): starlark::typing::typecheck::solve_bindings has cognitive complexity 18 (threshold 15). Drivers by points: loops 6 (9 pts), if/else 3 (7 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/typecheck.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"593abec6eebeda97083aec37f3e432b9b5b52aa6b725815ce534e224e089a1e4"}},{"ruleId":"D2","level":"warning","message":{"text":"ParserRd::parse_expr (cognitive 18): ParserRd::parse_expr has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"57be0ff677304e927bdcdf88bd167cf9388929160f3df4f52421570a603d9206"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::analyses::attempt_fate (cognitive 18): retrace::analyses::attempt_fate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/analyses.rs"},"region":{"startLine":2279}}}],"partialFingerprints":{"codehealthFindingId/v1":"af33c96374777524990d440c0c86e2b5c090c11b037673d75f076f2bcb73b10e"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::graph::parallel::parse_batch (cognitive 18): retrace::graph::parallel::parse_batch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (6 pts), loops 3 (5 pts), match/switch 2 (4 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/graph/parallel.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2d41dc9222e542875bc23e8c14c0046723de55b2306570faaed6265b5b6e28"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::canvas::lane_time_map (cognitive 18): retrace::gui::canvas::lane_time_map has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 4 (7 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/canvas.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"60147ff6d31cf1368669c180dedc5d58d843bf9f804db0087da48a30114add42"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::detail_ui::det_buttons (cognitive 18): retrace::gui::detail_ui::det_buttons has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0121567801cde88caeb835d23fe5c4213429c3c3572a2c4f6941c2b536baa3"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::ingest::scan::flatten_aliases (cognitive 18): retrace::ingest::scan::flatten_aliases has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/scan.rs"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb86c0902589bf34aa33b9ede72eddad2ba18be5870832cf685069103d3d2c21"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidDeviceImpl.installApkOnDevice (cognitive 18): AndroidDeviceImpl.installApkOnDevice has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 3 (5 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/exopackage/AndroidDeviceImpl.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de7e66f2e2740f09f886e029fbdd529ca05602ef5cfd9044cacfd85a6959803"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationContext.\u003Cinit\u003E (cognitive 18): GenerationContext.\u003Cinit\u003E has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/GenerationContext.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e13babb8aba7b6ed2a84f1901dbdefb696e5a034ac310808a896fa9ed779b8"}},{"ruleId":"D2","level":"warning","message":{"text":"InterfaceStubsGenerator.generateStubs (cognitive 18): InterfaceStubsGenerator.generateStubs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/InterfaceStubsGenerator.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4328c30abd55ef99092d7abe7e8beb7e6dfc691401bdca75fbf40d267a881a7f"}},{"ruleId":"D2","level":"warning","message":{"text":"ApkBuilder.processFileForResource (cognitive 18): ApkBuilder.processFileForResource has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/apk/sdk/ApkBuilder.java"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"2821c13d4121b39de62c9db8b77398270861c6004fa8af8e4d57fdf3c0e0f884"}},{"ruleId":"D2","level":"warning","message":{"text":"ApkBuilderExecutableMain.run (cognitive 18): ApkBuilderExecutableMain.run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 4, ternaries 3, error handling 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/apk/ApkBuilderExecutableMain.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b7bfffc95a7fc1298d618b26cd71bfdcb96c56bb2b3ffea35dd4042f7c179b"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceFilters.filterByDensity (cognitive 18): ResourceFilters.filterByDensity has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 4 (7 pts), boolean chains 2, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/resources/filter/ResourceFilters.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e828e38152a702026f3b87169f2b42c4acb85f954e940e59133fd80a52852797"}},{"ruleId":"D2","level":"warning","message":{"text":"CompileStrings.groupFilesByLocale (cognitive 18): CompileStrings.groupFilesByLocale has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/resources/strings/CompileStrings.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3bfaf1cb1ee314cab4559cf1ae5449a7e327dd31b7db326aae39e2983cac79"}},{"ruleId":"D2","level":"warning","message":{"text":"AdbHelper.adbCall (cognitive 18): AdbHelper.adbCall has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), error handling 4 (5 pts), boolean chains 2, loops 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/AdbHelper.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38ff222c2dbc609fda95a8c4dac1a4f1fab50e435b6e296f2da4049504df0cb"}},{"ruleId":"D2","level":"warning","message":{"text":"CompilerWorker.createCompilationUnits (cognitive 18): CompilerWorker.createCompilationUnits has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/Jsr199JavacInvocation.java"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9a15ffbb63c390c3d77d7e54e91de0d7927c1089f99eadf0b6e66f8447ed72"}},{"ruleId":"D2","level":"warning","message":{"text":"combine_native_library_dirs.main (cognitive 18): combine_native_library_dirs.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/android/tools/combine_native_library_dirs.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ce2bc1c4b3cfe7d32a504c2d507ece0f2a1352104b40398826152bd481cb92"}},{"ruleId":"D2","level":"warning","message":{"text":"unpack_aar.main (cognitive 18): unpack_aar.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17 (18 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/android/tools/unpack_aar.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adce86e2415a642ea1283bfded3a433fa56d1464151ce55390a7c3b95874bc6"}},{"ruleId":"D2","level":"warning","message":{"text":"compile_kotlin._run_kotlinc (cognitive 18): compile_kotlin._run_kotlinc has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/kotlin/tools/compile_kotlin/compile_kotlin.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8933e882ec90a824c5a33a2bff67465af4ec244013776cacf8332f6fce5ec6d"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveBuilder._gen_contents (cognitive 18): LiveBuilder._gen_contents has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/python/tools/make_par/live_builder.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2f72add03118b6761fc9c7ab644fb37dc3303da9c1d36855d0e31eed8259ed"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.query (cognitive 18): driver.query has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/go/tools/gopackagesdriver/driver/driver.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd1df75938ea5600a94c11e7c1c04d03ed224bcc53fa44b1ae418f96e2ace60"}},{"ruleId":"D2","level":"warning","message":{"text":"event-log-decoder.decodeEventLogWithSummaries (cognitive 18): event-log-decoder.decodeEventLogWithSummaries has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 1 (2 pts), loops 2 (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"670146b278124dc31c8372d3dfdf0a2376354ec3f64b10ff1fabd359a85aab60"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalysisTreemap.AnalysisTreemap (cognitive 18): AnalysisTreemap.AnalysisTreemap has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 6, boolean chains 4 (nesting depth added 4). Of this number, 11 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/AnalysisTreemap.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a9abc5f6d46da68511e6f6475e1bd1dc07da274852d14d8feb470209917565"}},{"ruleId":"D2","level":"warning","message":{"text":"CriticalPathView.CriticalPathView (cognitive 18): CriticalPathView.CriticalPathView has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, ternaries 4 (5 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 2). Of this number, 12 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/CriticalPathView.tsx"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6be42b7fd9eb0966fdcbeab5dcb4b3fee998388f31778e99d2f4bdc411c126d"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2::exec (cognitive 17): buck2::exec has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2/src/lib.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a127b6505476a0c9fafc501d2aa034e3cba8383c6aad295b8cd1830342c15b8"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_build_api::interpreter::rule_defs::provider::doc::provider_callable_documentation (cognitive 17): buck2_build_api::interpreter::rule_defs::provider::doc::provider_callable_documentation has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 5 (8 pts), if/else 5 (7 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/provider/doc.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e64b61f6bc30c5daedb0d1338127340d963c44bde79d6cc4c3e5007ef709a7"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeKey::into_critical_path_entry_data (cognitive 17): NodeKey::into_critical_path_entry_data has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 6 (10 pts), if/else 2 (7 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_signals_impl/src/lib.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd30086fe020bcfc6bbff319ddda37e246b582f876ca702ff31ef3d85411190f"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildSignalSender::key_activated (cognitive 17): BuildSignalSender::key_activated has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 2 (3 pts) (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_signals_impl/src/lib.rs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"038c982f01d5f456361996f475dcdd61bf17b3384b5d77f9a10a73ccb5770b70"}},{"ruleId":"D2","level":"warning","message":{"text":"RunCommand::exec_impl (cognitive 17): RunCommand::exec_impl has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, match/switch 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client/src/commands/run.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bb05226be38ac9e59bd3c7e9096b8a2aac452a85912d675192e2c4c0aff495"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_client_ctx::daemon::client::kill::kill_command_impl (cognitive 17): buck2_client_ctx::daemon::client::kill::kill_command_impl has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 3 (6 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/daemon/client/kill.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb91f3fe0a3bc8815b8f6fbd4bab38199c026d26ddceb50c18b4d80e569524b"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_cmd_docs_client::help_doc::cmd_content_markdown (cognitive 17): buck2_cmd_docs_client::help_doc::cmd_content_markdown has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 4 (7 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_docs_client/src/help_doc.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c1f4d6c3ded20fd040edf10cca7f750c2cada76f03551ade6dcb8bde974138"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_cmd_docs_client::help_doc::write_arg_markdown (cognitive 17): buck2_cmd_docs_client::help_doc::write_arg_markdown has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 1, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_docs_client/src/help_doc.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3ab0b73156d2f0483dea588d2d5c9485f05ecebf655d6166a245d6f29e8d8a"}},{"ruleId":"D2","level":"warning","message":{"text":"BuckConfigBasedCells::parse_with_file_ops_and_options_inner (cognitive 17): BuckConfigBasedCells::parse_with_file_ops_and_options_inner has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/legacy_configs/cells.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"d041bba596420c1d0aa9f374072c652f8b0d3fda1b8013aa77820f6b294a1493"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_core::configuration::cfg_diff::cfg_diff (cognitive 17): buck2_core::configuration::cfg_diff::cfg_diff has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 6 (9 pts), if/else 3 (7 pts), loops 1 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/configuration/cfg_diff.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33a35adb92f09cc14655b0c729f1f32a024edb3149002fd6aa107c9041f4c6e"}},{"ruleId":"D2","level":"warning","message":{"text":"DaemonCommand::run (cognitive 17): DaemonCommand::run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (15 pts), match/switch 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_daemon/src/daemon.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bf7cdf71edae63e574fb6a79ffb44a350ce5c95566dd54190161d7428218f1"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicAttrType::coerce (cognitive 17): DynamicAttrType::coerce has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (6 pts), match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_dynamic_actions/src/attrs.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"58602b9939823673321c2dbdb0eab087af9b8ca8f360e398caedf6478d3d1f25"}},{"ruleId":"D2","level":"warning","message":{"text":"ReDirectorySerializer::create_re_directory (cognitive 17): ReDirectorySerializer::create_re_directory has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (5 pts), match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/directory.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0021c2103ddda2c376b13722b588300a73b8f8a3b939e41c921733740983162a"}},{"ruleId":"D2","level":"warning","message":{"text":"Processor::handle (cognitive 17): Processor::handle has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 4 (9 pts), loops 3 (6 pts), if/else 1 (2 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/v2/core.rs"},"region":{"startLine":2097}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c15bc22da8b932e39f173dadb89bfb9348c6c01fec8e02cbb0167dd63f0030"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_execute_impl::executors::local::check_inputs (cognitive 17): buck2_execute_impl::executors::local::check_inputs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 2 (4 pts), match/switch 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/local.rs"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8866dee794a27306f1c5374b7c6bb1953ebdbe27e963184ecd0e065a2e22a2"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_execute_impl::materializers::deferred::clean_stale::scratch_sweep (cognitive 17): buck2_execute_impl::materializers::deferred::clean_stale::scratch_sweep has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 3 (7 pts), if/else 2 (6 pts), loops 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":1665}}}],"partialFingerprints":{"codehealthFindingId/v1":"354cf72483945c9c86086a1852327c9074cc373daec4683ec6874bed76db8a19"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph::build (cognitive 17): Graph::build has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 3 (5 pts), match/switch 1 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query/src/query/graph/graph.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"592b68415b652e18d8c03c1aa8b27e86ccab36a56ffaedbfc58f5a167e2eb64b"}},{"ruleId":"D2","level":"warning","message":{"text":"UqueryEnvironment::owner (cognitive 17): UqueryEnvironment::owner has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 1 (4 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/uquery/environment.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcd7162338c90e9eca8baa3d9f9e9887cceccf699f16463c723dc0e23098e5e"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_server::daemon::server::eden_health::edenfs_health_check (cognitive 17): buck2_server::daemon::server::eden_health::edenfs_health_check has cognitive complexity 17 (threshold 15). Drivers by points: if/else 2 (9 pts), match/switch 3 (7 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/server.rs"},"region":{"startLine":2878}}}],"partialFingerprints":{"codehealthFindingId/v1":"704f26d04642c6bd112066e9413b8a9c3d89a17103015456dd1586322181bfd3"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_wrapper_common::find_buck2_processes (cognitive 17): buck2_wrapper_common::find_buck2_processes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2, boolean chains 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_wrapper_common/src/lib.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b56688106277ec04518000d13b4871b0a4aaeb989e89e9e1172b1a384a1349c"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_wrapper_common::is_buck2::is_buck2_exe (cognitive 17): buck2_wrapper_common::is_buck2::is_buck2_exe has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 1 (2 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_wrapper_common/src/is_buck2.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c00f811300451565b8ad3dfdc165218fb8d92ff99d3261e4b40210859f4a6e"}},{"ruleId":"D2","level":"warning","message":{"text":"Game::draw_unchecked (cognitive 17): Game::draw_unchecked has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (5 pts), match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/minesweeper.rs"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8028ac2159f9644e84301469cca42cee997b9dd74bb5d1e81e23c6fd3b91f84d"}},{"ruleId":"D2","level":"warning","message":{"text":"games::bin::menu::main (cognitive 17): games::bin::menu::main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 3 (6 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/bin/menu.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1fe5e51a1a682852d6707fa747854231bc0316022b6ec8a5bcc9194d3c4512"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_project::buck::merge_unit_test_targets (cognitive 17): rust_project::buck::merge_unit_test_targets has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/rust-project/src/buck.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cf6230b3057204fa2929619dca58fb5a4d84813a585597795fc90328bb46d9"}},{"ruleId":"D2","level":"warning","message":{"text":"State::branch (cognitive 17): State::branch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (6 pts), match/switch 3 (6 pts), loops 2 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/analysis/names.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c777d99d42f54740e7b5b19ef2f9cf4c4e01f17cb3c2d276669173abc808b456"}},{"ruleId":"D2","level":"warning","message":{"text":"Value::add (cognitive 17): Value::add has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/layout/value.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"959fc864b9451244f77b5c32031f5117741b95f66273d7a1f9bbd2975a248667"}},{"ruleId":"D2","level":"warning","message":{"text":"StarlarkIntRef::right_shift (cognitive 17): StarlarkIntRef::right_shift has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/int/int_or_big.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d46c63023f445ee3e9b410966c045bb5761b6916d99b1145f536116914f3adf"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark::values::types::string::methods::string_methods::splitlines (cognitive 17): starlark::values::types::string::methods::string_methods::splitlines has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/string/methods.rs"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2aec0a87a6e455ca547b1a951f5d34a29b7b68c3a27c86d14020924165730a0"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark::values::types::string::repr::string_repr (cognitive 17): starlark::values::types::string::repr::string_repr has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (nesting depth added 5). None of this is in the body itself: all 17 points belong to 3 function items inside it that branch (loop_ascii_simd, loop_ascii, loop_unicode). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/string/repr.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"16dbccc449f08234938accc69662799450d35009ee203868be901f6d52e8b820"}},{"ruleId":"D2","level":"warning","message":{"text":"BazelContext::resolve_folder (cognitive 17): BazelContext::resolve_folder has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), match/switch 4 (8 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_bin/bin/bazel.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"002e452ae0107ac3b3ce3af270cf4b47b0e6a3afd24dd16061ce9042e3c6d9d7"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceAttrs::parse (cognitive 17): TraceAttrs::parse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/trace.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"190242dccf55d9dead9f4cd2568f4e9b8a40fc3e50cbc21d180e379a34a81a68"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark_derive::starlark_pagable::gen_deserialize_struct (cognitive 17): starlark_derive::starlark_pagable::gen_deserialize_struct has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (4 pts), match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/starlark_pagable.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"3849d599dd3aa097a623603e5186c618f3fc8735b99a454fba15c878192131d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ColoredStringParser::apply_sgr (cognitive 17): ColoredStringParser::apply_sgr has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"superconsole/src/content/lines.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00ea5f482f6f89f15ab6c1fb501a6170c0be59683a911b8575a4937a0b540f2"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::analyses::retry_census (cognitive 17): retrace::analyses::retry_census has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (5 pts), match/switch 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/analyses.rs"},"region":{"startLine":2473}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c18ae27672a2b333858e3428f6a202befa97483785e2807f371a2d8ba207f9"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::command_profile::summarize_snapshots (cognitive 17): retrace::command_profile::summarize_snapshots has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/command_profile.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e7776a28d381626eba644a98dc6b380b8ae5ad6f01d5604e6394168de2269d"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::export::stats_text (cognitive 17): retrace::export::stats_text has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), loops 4 (6 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/export.rs"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d0cba8b99f0320befccdab29fcc7a2a3fbab5c696aa14169b7e3d7b46ca334"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::findings::cache_miss_hotspots (cognitive 17): retrace::findings::cache_miss_hotspots has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), match/switch 2 (5 pts), boolean chains 2, loops 2 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/findings.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9751125552840a1f67f582f8a652b09ad6720823339d36af17e502924a47e23"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::parse::cull (cognitive 17): retrace::parse::cull has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/parse.rs"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f164f12e60558c0d163e97fb561f1db9971a61378c3dc59071c66470a5d08b"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark_fmt_lib::lib::autofixes::sort_dict_keys::process_dict_multiline (cognitive 17): starlark_fmt_lib::lib::autofixes::sort_dict_keys::process_dict_multiline has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), match/switch 1 (3 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/autofixes/sort_dict_keys.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b4f00b6bac5aa8821c072234264833cb973165fd9bad42959c8cedd7355f99"}},{"ruleId":"D2","level":"warning","message":{"text":"ResolvedJavacOptions.appendOptionsTo (cognitive 17): ResolvedJavacOptions.appendOptionsTo has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 7 (nesting depth added 6). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/ResolvedJavacOptions.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e394489dad7b3fb11f37c77cbc85ac374ebe39ac41bf3358ed3a73b91f8847b"}},{"ruleId":"D2","level":"warning","message":{"text":"ValidationStage.collectKeptInlineBodyClassReferences (cognitive 17): ValidationStage.collectKeptInlineBodyClassReferences has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 5 (7 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fe8e74f4f1553bf40147661cc7c8379f4222821fb1e1915b2f0abec96d206c"}},{"ruleId":"D2","level":"warning","message":{"text":"ExoResourcesRewriter.rewriteRDotTxt (cognitive 17): ExoResourcesRewriter.rewriteRDotTxt has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (9 pts), if/else 3 (7 pts), error handling 1 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/resources/ExoResourcesRewriter.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefd490b6f961a6ef3fed158690dda76838a2de30950338cab6dc2bfdf315835"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeAssetsUtils.mergeAssets (cognitive 17): MergeAssetsUtils.mergeAssets has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 2 (6 pts), if/else 4 (5 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/resources/MergeAssetsUtils.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3112b34a0769fe71d45274a320b5c650e768f24836dc1059080b5e6ca5ac73"}},{"ruleId":"D2","level":"warning","message":{"text":"CompilerWorker.buildAbiJar (cognitive 17): CompilerWorker.buildAbiJar has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 2 (4 pts), error handling 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/Jsr199JavacInvocation.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e010972a1547d2b0187c7b63052767babf169c58f088251a17fc33a459df3ee1"}},{"ruleId":"D2","level":"warning","message":{"text":"JUnitRunner.setupLogging (cognitive 17): JUnitRunner.setupLogging has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"52105640f0d9944c01a005413fabdce004e7e8425ea16f7b087cdf913c304f6d"}},{"ruleId":"D2","level":"warning","message":{"text":"combine_apk_with_relinked_libs.main (cognitive 17): combine_apk_with_relinked_libs.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/android/tools/combine_apk_with_relinked_libs.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3df7cd37953196d8fca3db086bb2456b21e5fab008eb5278edda138c6e9529"}},{"ruleId":"D2","level":"warning","message":{"text":"scrubber.load_debug_file_paths (cognitive 17): scrubber.load_debug_file_paths has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/selective_debugging/scrubber.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"9928e62e8f1ed2888a5fe245e706c060966046344495da9c4a87a665c4af4872"}},{"ruleId":"D2","level":"warning","message":{"text":"package_tree._cmd_call_arg (cognitive 17): package_tree._cmd_call_arg has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/nodejs/tools/package_tree.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f24a6271987e6ad0e9c3e4fec930a2ac000583a7e6d92a870f8c80c4e9b0b4"}},{"ruleId":"D2","level":"warning","message":{"text":"shared_libraries_symlink_tree.main (cognitive 17): shared_libraries_symlink_tree.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/rust/tools/shared_libraries_symlink_tree.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40fa5893b52079c4e123ee980775d56a06381db01e9e0882a50f4639943e81d"}},{"ruleId":"D2","level":"warning","message":{"text":"conan_package.verify_build_and_cached_deps (cognitive 17): conan_package.verify_build_and_cached_deps has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 3 (7 pts), loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/conan/conan_package.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e012fcdc7dc1229f9dd3889c0838568b4779abf9a02058db9e77b6d09d3b664"}},{"ruleId":"D2","level":"warning","message":{"text":"unzip.do_unzip (cognitive 17): unzip.do_unzip has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/zip_file/tools/unzip.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2b6b580a36347773ef50b6e68125ceeb288ee26c79ab254637d3a4579de245"}},{"ruleId":"D2","level":"warning","message":{"text":"event-log-decoder.decodeEventLogBatched (cognitive 17): event-log-decoder.decodeEventLogBatched has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9e4297bd670864eba6c8a76e194f92a5dec486f696d2f24ca135730db40495"}},{"ruleId":"D2","level":"warning","message":{"text":"PerfettoEmbed.PerfettoEmbed (cognitive 17): PerfettoEmbed.PerfettoEmbed has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, boolean chains 6, ternaries 1 (2 pts), error handling 1 (nesting depth added 1). Most of this is not in the body itself: 5 of the 17 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 37, 76, 101, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/PerfettoEmbed.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f375542559f66d1ec4504903e05fcd46387ce73f41c26a8cbca9d44b20f849"}},{"ruleId":"D2","level":"warning","message":{"text":"decoder-worker.onmessage::processMessage (cognitive 17): decoder-worker.onmessage::processMessage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 2 (5 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e0f299bc7538d2ebd49204e1ade29338fa8ce99d9a2b60320d4750446ae4d6"}},{"ruleId":"D2","level":"warning","message":{"text":"dispatch-worker.ingestChunk (cognitive 17): dispatch-worker.ingestChunk has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, boolean chains 2, ternaries 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/parallel-decode/dispatch-worker.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eac25f0f57f94ee6a3e15dade3a8e0f6d0a3c67561436de096589a985e634b3"}},{"ruleId":"D2","level":"warning","message":{"text":"CasArtifactAction::execute (cognitive 16): CasArtifactAction::execute has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, match/switch 5 (7 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/cas_artifact.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3c15e23b7947fac335834b6fd97dc82fab76271f4c47391142cc293295674f"}},{"ruleId":"D2","level":"warning","message":{"text":"RunAction::expand_command_line_and_worker (cognitive 16): RunAction::expand_command_line_and_worker has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run.rs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8202caf56ec11f6fe52c5e3d7521aa735b698132da86dbeeb9a7e077f148f2f"}},{"ruleId":"D2","level":"warning","message":{"text":"AnonTargetKey::prepare_anon_target_data (cognitive 16): AnonTargetKey::prepare_anon_target_data has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), match/switch 3 (6 pts), loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/anon_targets.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e777e771d686264b49f202b9d27557cab20881eaf498b26c37c42d9525a0c1"}},{"ruleId":"D2","level":"warning","message":{"text":"LoadGraphPropertiesKey::compute (cognitive 16): LoadGraphPropertiesKey::compute has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/build/detailed_aggregated_metrics/buck2_sketches.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"1080f03043f367298f32aa0405628f61769f3643d48382c4f8445fc4219880e1"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_build_api::actions::calculation::build_action_inner (cognitive 16): buck2_build_api::actions::calculation::build_action_inner has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 5 (7 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/calculation.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"555c455f8da2a265188d92ec9328b8f2db3817c35a131ba8df4fecbfcd4872d0"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_build_api::interpreter::rule_defs::command_executor_config::register_command_executor_config::CommandExecutorConfig (cognitive 16): buck2_build_api::interpreter::rule_defs::command_executor_config::register_command_executor_config::CommandExecutorConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, match/switch 3 (4 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/command_executor_config.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd49f1882e09fd3e38b1ab2e7386b010cc508af9cbfd52a6b02dbf4990934626"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildSignalReceiver::process_evaluation (cognitive 16): BuildSignalReceiver::process_evaluation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_signals_impl/src/lib.rs"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75926099718928f1bd3f78bd4d4c75a1320f028d413f568dd64b40ae9c66509"}},{"ruleId":"D2","level":"warning","message":{"text":"TargetsCommand::output_format (cognitive 16): TargetsCommand::output_format has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client/src/commands/targets.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"4427c3a782a257a70182f569daa8eacb8bed8aee7437fda72fbb3508a6d64853"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_client::commands::build::out::copy_to_out (cognitive 16): buck2_client::commands::build::out::copy_to_out has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 3 (5 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client/src/commands/build/out.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5187d62ced01d1df56056e39d8dde01a70b84a558e4269b14f39ebfaa20704b9"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_client::commands::build::out::enqueue_directory (cognitive 16): buck2_client::commands::build::out::enqueue_directory has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client/src/commands/build/out.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4eff4c521dce6b5f8155f8cb0f848ee3c5f06b69d60bfe2f5cb1766f561fca"}},{"ruleId":"D2","level":"warning","message":{"text":"DaemonEventsCtx::unpack_stream_inner (cognitive 16): DaemonEventsCtx::unpack_stream_inner has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 6 (11 pts), if/else 2 (4 pts), loops 1 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/events_ctx.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac4e89b7aacf41a27927509d0d3bcb7ebd7a66ba655de5f50685a8834424ec7"}},{"ruleId":"D2","level":"warning","message":{"text":"WhatMaterializedCommand::exec_impl (cognitive 16): WhatMaterializedCommand::exec_impl has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), match/switch 2 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/what_materialized.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"55197839d2610bbc1d20435e67197943ddb0fea847832a38ef923824d451e3fe"}},{"ruleId":"D2","level":"warning","message":{"text":"Environment::get_names (cognitive 16): Environment::get_names has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 4 (7 pts) (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_starlark_server/src/util/environment.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2aa5648c8f92ca8c431608e3b234f62578ad088fce9c3a2f188af6a031a9de"}},{"ruleId":"D2","level":"warning","message":{"text":"BuckConfigTargetAliasResolver::resolve_alias (cognitive 16): BuckConfigTargetAliasResolver::resolve_alias has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/target_aliases.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cb46644491d25fa4a7141ce3da58f9fedefa30cf2dd0ff9053e66b625826a8"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_core::pattern::pattern::split_providers_name (cognitive 16): buck2_core::pattern::pattern::split_providers_name has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/pattern/pattern.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"56040d81097a8cc96aafbfcac6c93c65eeffd8ee52d23a69d6545de77ad99963"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::starlark-rust::benchmark_memory::src::main (cognitive 16): crate::starlark-rust::benchmark_memory::src::main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/benchmark_memory/src/main.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a7e465788e7ad4084ed6af0cbd16e2055a297ab537c010613b628c8dd3e38e"}},{"ruleId":"D2","level":"warning","message":{"text":"TtlRefresher::pass (cognitive 16): TtlRefresher::pass has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 3 (9 pts), loops 2 (6 pts), if/else 1 (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/ttl_refresh.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b64b73f3d060d7110a7c7ce7714822e51bff75b446fe13c2c530da366327d4"}},{"ruleId":"D2","level":"warning","message":{"text":"DeferredMaterializerCommandProcessor::materialize_artifact_inner (cognitive 16): DeferredMaterializerCommandProcessor::materialize_artifact_inner has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 7 (9 pts), if/else 2 (7 pts) (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/command_processor.rs"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ad6ddf036a6e0f8ec76087c33a991c0d1340b5784cdee1cf1fc6491da956fa"}},{"ruleId":"D2","level":"warning","message":{"text":"NotifyFileData::sync (cognitive 16): NotifyFileData::sync has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 4 (11 pts), if/else 4, loops 1 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_file_watcher/src/notify.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d03148202ad16abd9bee1fbd87ec7361d98da707b914004f16ea4dda836fd4"}},{"ruleId":"D2","level":"warning","message":{"text":"StarlarkSelector::select_map (cognitive 16): StarlarkSelector::select_map has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 1 (3 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/interpreter/selector.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42c6a2227425ffff0cf2752905a190bea0346bf005a76011ffd0bbf4d8be8c7"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryExprRef::reprint (cognitive 16): QueryExprRef::reprint has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), loops 3 (6 pts), match/switch 2 (4 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/attr_type/query.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"6092c60f963fb55ae9074f120b05d3e3e411b71c708177719acc693284107a1f"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_node::attrs::coerced::select::check_select_keys_unique (cognitive 16): buck2_node::attrs::coerced::select::check_select_keys_unique has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (7 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/coerced/select.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80364b0fa399fc067891075895acb8e5b2460e92b196ba5288dd503abeb5b1e"}},{"ruleId":"D2","level":"warning","message":{"text":"ActiveCommandStateWriter::peek_event (cognitive 16): ActiveCommandStateWriter::peek_event has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 3 (4 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/active_commands.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfb6b2c27d2e656a43b1cb3dbd718150df0779e89dda7bb2215abd6011bab08"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerState::variables (cognitive 16): ServerState::variables has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_starlark_debug/src/server.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a94ac6a8655c486a98b90ab2731a45a24c497d9713562daac8d39f1148e57d9"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_server_starlark_debug::run::run_dap_server (cognitive 16): buck2_server_starlark_debug::run::run_dap_server has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 3 (8 pts), if/else 2 (7 pts), loops 1 (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_starlark_debug/src/run.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c32c280c3e6347a7f432ffea121dc7bde5799843cb2533fd07aa7eb51d9418"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_settings_derive::expand (cognitive 16): buck2_settings_derive::expand has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 5 (9 pts), if/else 6, loops 1 (nesting depth added 4). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_settings_derive/src/lib.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"401cc2b46a8a139517f8aeaf5723b8019474feba254a1e892dea05e9d512b439"}},{"ruleId":"D2","level":"warning","message":{"text":"buck2_tenant_proxy::launch::wait_for_publication (cognitive 16): buck2_tenant_proxy::launch::wait_for_publication has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_tenant_proxy/src/launch.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac60eb6f4e51769deb020484c9cdb878132973eb7c6a201edb73846ef72e57f"}},{"ruleId":"D2","level":"warning","message":{"text":"BuckTestOrchestrator::setup_local_resources (cognitive 16): BuckTestOrchestrator::setup_local_resources has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/orchestrator.rs"},"region":{"startLine":2112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e621733f89569ccab4e9685681f0ffde466d954f10a4ddf0ee06ed8302340b8"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreState::close_dependents (cognitive 16): CoreState::close_dependents has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 4 (5 pts), match/switch 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice_core/src/commit.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af0c42f3a6d0fb735402156ba2416b8b535d0c5ce6fbbe5c22027f09137891a"}},{"ruleId":"D2","level":"warning","message":{"text":"Game::load_state (cognitive 16): Game::load_state has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 3, loops 3, match/switch 1 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/minesweeper.rs"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b4ca0b48e6ea1ff5e2bb659b5c9ab7ac0d8f2632d1736dcb90f9e88a836d15"}},{"ruleId":"D2","level":"warning","message":{"text":"Develop::from_command (cognitive 16): Develop::from_command has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 2 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/rust-project/src/cli/develop.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bac08ac69355619577ec1bd48b66371983d44e1b375fa4d573fbae4880e672"}},{"ruleId":"D2","level":"warning","message":{"text":"DapAdapterEvalHookImpl::call (cognitive 16): DapAdapterEvalHookImpl::call has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 4 (9 pts), if/else 4, loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/debug/adapter/implementation.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2897c4e09ecd41c7f3912acbea3ce8ab1fce51eb2a382185debe618598afbfde"}},{"ruleId":"D2","level":"warning","message":{"text":"DocString::from_docstring (cognitive 16): DocString::from_docstring has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 5 (13 pts), if/else 3 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/docs/parse.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd45020bfcc84dd6fe5ccab3f6b7d11d83fc8e0ad7620e2a3eae15577ae20c7"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadinessGraph::complete (cognitive 16): ReadinessGraph::complete has cognitive complexity 16 (threshold 15). Drivers by points: loops 5 (8 pts), if/else 3 (5 pts), boolean chains 2, match/switch 1 (nesting depth added 5). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/pagable/starlark_deserialize_context/readiness.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f537c16afd986cd5dbb1563bdb13da0ac0a255aadeb7dd785702b25d639bc8"}},{"ruleId":"D2","level":"warning","message":{"text":"TypingContext::expression_bind_type (cognitive 16): TypingContext::expression_bind_type has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), match/switch 3 (6 pts), loops 1 (2 pts) (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/ctx.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"299ec157a6eda0471e5425a1f968e71839389365ce33d5475a4eae267f34e491"}},{"ruleId":"D2","level":"warning","message":{"text":"Ty::typecheck_union_simple (cognitive 16): Ty::typecheck_union_simple has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), match/switch 2 (6 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/ty.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e6833575ec8af56245d6654b61f689355b5291f71f0d349d11dc8b37ab1080"}},{"ruleId":"D2","level":"warning","message":{"text":"Value::any_matches (cognitive 16): Value::any_matches has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (4 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/attr_type/any_matches.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43d113004acac04287c77f9e6669bff418e8772acf00744202e27a7268f0c15"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark::values::types::dict::methods::dict_methods::update (cognitive 16): starlark::values::types::dict::methods::dict_methods::update has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 3 (7 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/dict/methods.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"279224d801c477e6be500e601eebd21d84be2bcb75e3ff5bd0545759035a87f6"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark_derive::module::parse::fun::resolve_args (cognitive 16): starlark_derive::module::parse::fun::resolve_args has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/module/parse/fun.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf714e4ad405a6dcce49c1aeeebac5fe46e9b1b6cb222f23401c9b5367519e2"}},{"ruleId":"D2","level":"warning","message":{"text":"starlark_derive::starlark_pagable::extract_type_attrs (cognitive 16): starlark_derive::starlark_pagable::extract_type_attrs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/starlark_pagable.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce132b9595fecb4423adef964499d60ae2685668ce90ba79482af62e77b12549"}},{"ruleId":"D2","level":"warning","message":{"text":"Ready::new_with_pending_graph (cognitive 16): Ready::new_with_pending_graph has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), match/switch 2 (5 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d0962cb797133a289d506901ee1e79d0ac3408d621f3e7cb4bfad7689e0586"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::canvas::wheel_zoom (cognitive 16): retrace::gui::canvas::wheel_zoom has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 3, match/switch 1 (3 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/canvas.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb69084384fd837ab878ceeadd4dfbbf7a6cf6483aefc0cf1c5ebceb8f30cb0"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::detail_ui::det_stages_cells (cognitive 16): retrace::gui::detail_ui::det_stages_cells has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcb78ac3df4f7e43c2534e8fd99deebd60780ce4f7acf17aa384eb96426df60"}},{"ruleId":"D2","level":"warning","message":{"text":"retrace::gui::detail_ui::ancestry (cognitive 16): retrace::gui::detail_ui::ancestry has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9818fed00e7b6aa9c7642b724a5c26ef4f96eba55085389c0650774269c89eb"}},{"ruleId":"D2","level":"warning","message":{"text":"NonAbiDeclarationsStrippingIrExtension.shouldStripAnnotation (cognitive 16): NonAbiDeclarationsStrippingIrExtension.shouldStripAnnotation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"804402f3d8fe43c6e888cee628bca3e5bd5b811ffe2aa68c8bce64850fae6685"}},{"ruleId":"D2","level":"warning","message":{"text":"NonAbiDeclarationsStrippingIrExtension.shouldStripAnnotation (cognitive 16): NonAbiDeclarationsStrippingIrExtension.shouldStripAnnotation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9cfd5d327e8b335f8690fad8a5934060635277ec35e6a2306f6f0872d6cc31"}},{"ruleId":"D2","level":"warning","message":{"text":"NonAbiDeclarationsStrippingIrExtension.shouldStripAnnotation (cognitive 16): NonAbiDeclarationsStrippingIrExtension.shouldStripAnnotation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d756b7d00c696273e7f951f283037e8427577d0f48df0c8fe939f304e2b75580"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaAndNativeResourceFilter.checkEntry (cognitive 16): JavaAndNativeResourceFilter.checkEntry has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/apk/sdk/ApkBuilder.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7641880de443146952ab38e71ade81e6c39b4fdb48ec364d66a92e0343c964db"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidBundleUtils.processFileForResource (cognitive 16): AndroidBundleUtils.processFileForResource has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/bundle/AndroidBundleUtils.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2a78be4e080d93b26e41eb6158b473f9d03413e4ee2630bafcef3e6ccdee6b"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentDigests.getJarManifestDigest (cognitive 16): ContentDigests.getJarManifestDigest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/ContentDigests.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad5d1ed7e0f2444aa8ef8726ae581dcb34adf431be34642e1a6b222d1bf452a"}},{"ruleId":"D2","level":"warning","message":{"text":"2.postVisitDirectory (cognitive 16): 2.postVisitDirectory has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), error handling 2 (6 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/io/file/MostFiles.java"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"1587aa0e69e4b39c3a9790c8c05a03f9a4faab2a7d9571f18f47c80b406fcc46"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportsTracker.getOnDemandTypes (cognitive 16): ImportsTracker.getOnDemandTypes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/ImportsTracker.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a10d41ff31454407d3cc6b7339ac70f51de97c4408d85350489900cee7add2e"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeBackedResolvedType.\u003Cinit\u003E (cognitive 16): TreeBackedResolvedType.\u003Cinit\u003E has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/TreeBackedTypeResolutionSimulator.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc19c5a8f4c310db663f04e5606b126cc692bcb359ed3207ee3693e6a2aed26"}},{"ruleId":"D2","level":"warning","message":{"text":"AbiFilteringClassVisitor.visitMethod (cognitive 16): AbiFilteringClassVisitor.visitMethod has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (6 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/AbiFilteringClassVisitor.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc327e9ede91574bc3c1106a887e1523137e30556ed88d8df062e95d7193531e"}},{"ruleId":"D2","level":"warning","message":{"text":"CompilerWorker.getJavacTask (cognitive 16): CompilerWorker.getJavacTask has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/Jsr199JavacInvocation.java"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2406fc937aa7a2f0f389985e9ac2811f73e398d8cc16f6ef216fbafe7e0b4c"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassLoaderCache.close (cognitive 16): ClassLoaderCache.close has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/util/ClassLoaderCache.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4711ce7f983180de66a3645d85b7b1a974cec9f271c171eaf80eda5f30da369"}},{"ruleId":"D2","level":"warning","message":{"text":"fmt.main (cognitive 16): fmt.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 3 (4 pts), ternaries 2 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fmt.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f48977b444373896a8f0a352e7080e5dc886c186a125048881aa8109a844c4a"}},{"ruleId":"D2","level":"warning","message":{"text":"codesign_bundle.codesign_bundle (cognitive 16): codesign_bundle.codesign_bundle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/codesign_bundle.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1ccff4e760392937c47f7f44e9941b18698065316f4ec3d005c147e5f3bee5"}},{"ruleId":"D2","level":"warning","message":{"text":"package_tree._check_export_target (cognitive 16): package_tree._check_export_target has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/nodejs/tools/package_tree.py"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fc2e3768912c1cfc97600d4a1ae032a28a70f80c560ea2c0856147d8c95fbc"}},{"ruleId":"D2","level":"warning","message":{"text":"package_tree.run_build (cognitive 16): package_tree.run_build has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3 (6 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/nodejs/tools/package_tree.py"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcdbf3fbe9c8964653b924c3aa7343c91b101dd30818d977212e9aad73261ff"}},{"ruleId":"D2","level":"warning","message":{"text":"extract_link_action.expand_response_files (cognitive 16): extract_link_action.expand_response_files has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/rust/tools/extract_link_action.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cb2a30c301379c6de16b79f528fafc84c4219ad1a5d038c56e3c19f5a300a6"}},{"ruleId":"D2","level":"warning","message":{"text":"shell_buck2_utils.get_additional_paths (cognitive 16): shell_buck2_utils.get_additional_paths has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 2 (6 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/erlang/shell/src/shell_buck2_utils.erl"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8312bdffc5a94282f1983aa2000dc988693b5e679669dd207bd3de1c82a775"}},{"ruleId":"D2","level":"warning","message":{"text":"VarintStreamParser.parse (cognitive 16): VarintStreamParser.parse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/varint-stream-parser.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c40510520020bfbff82e11e66c97dafd89d22d06fca6a7b3df002b14b115bb1"}},{"ruleId":"D2","level":"warning","message":{"text":"span-index.buildSpanIndex (cognitive 16): span-index.buildSpanIndex has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/event-log/span-index.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"82349ab742ec39623b9b0d5f79f801b65cf65430add98ca9644e47be343e33bf"}},{"ruleId":"D2","level":"warning","message":{"text":"FileChanges.FileChangesSection (cognitive 16): FileChanges.FileChangesSection has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 12, if/else 2, ternaries 2. Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/FileChanges.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d6fabd3341e479a9ec26d83765e49fa3d7fe9ccc3a78ba2a1d992362a3337f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::gui::panels::show_panels: FunctionTooLong \u2014 retrace::gui::panels::show_panels runs 1251 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1151 over it, 12.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/panels.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c186cff6261dcc61d4332baea9b555ed34aea56025c1ba357242d05a52f93dcb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::export::export: FunctionTooLong \u2014 retrace::export::export runs 920 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 820 over it, 9.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/export.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"c403e90ad675764914534853d702078f70e93452cc6ed112146496dcf05be851"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: InvocationRecorder: TooManyFields \u2014 200 stored fields beside 53 methods. The bar is 30 stored fields; this is 170 over it, 6.67\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/recorder.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"260d21f2ffb2d242235b3c087470ce5c21b72d7025559c672fcd3940f40583fb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InvocationRecorder.create_record_event: MethodTooLong \u2014 create_record_event runs 617 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 517 over it, 6.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/recorder.rs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b62536465d2e507f3cdaa9f58cc1a5da9ee263b27eb1972f777555ee9441d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::gui::detail_ui::show_cp_walker: FunctionTooLong \u2014 retrace::gui::detail_ui::show_cp_walker runs 550 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 450 over it, 5.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"4304bc0cc2c0f11b9f1788d0f90ccf3a6448c9e55378a7187159008ff21e32a5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InvocationRecorder: ClassTooLong \u2014 2108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 53 methods, 3 blocks, lines 122-2937. The bar is 400 significant lines; this is 1708 over it, 5.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/recorder.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69c3ea89f9ceca9c84d78660728c14f2a9f68b8fd48be67ef472f5e2d74b5e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: subscribers/recorder.rs: FileTooLong \u2014 2304 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 91% of them inside a single declaration: InvocationRecorder (3 blocks, 122-2937). The bar is 500 significant lines; this is 1804 over it, 4.61\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/recorder.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64abd708369673d561a54e511ca64d8e21af405889c5e0e723aaa96296d39ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/orchestrator.rs: FileTooLong \u2014 2299 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 62% of them inside a single declaration: BuckTestOrchestrator (5 blocks, 405-2492). The bar is 500 significant lines; this is 1799 over it, 4.60\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/orchestrator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a7dd52e920a1132ac8109bf99b20fd2bcec387fc920ad7428a7b40d285bf8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_interpreter_for_build::attrs::attrs_global::attr_module: FunctionTooLong \u2014 buck2_interpreter_for_build::attrs::attrs_global::attr_module runs 442 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 342 over it, 4.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/attrs/attrs_global.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31082ac3cf9b31312869bdd58c32051cd293ccd2d1af3f5e6fbe0b59620fc2c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TenantState.create: MethodTooLong \u2014 create runs 438 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 338 over it, 4.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/state.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11fc3ca86e3ee7b900078d06fd4ca0e15b8a711f5678367d1c96415ba1e7cba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::gui::canvas::show_canvas: FunctionTooLong \u2014 retrace::gui::canvas::show_canvas runs 438 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 338 over it, 4.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/canvas.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"5133423dd16cf819a1c0918ebb22aeeed209a2ddc59b4221d0b005f6b80d24d6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FirMetadataSanitizerStage.cleanupFirMetadataSources: MethodTooLong \u2014 cleanupFirMetadataSources runs 432 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 332 over it, 4.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc97963d5d2ebdd1861f6e2a70180d752379f2c248320155dcbbcf13932defd2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_bxl::bxl::starlark_defs::context::methods::bxl_context_methods: FunctionTooLong \u2014 buck2_bxl::bxl::starlark_defs::context::methods::bxl_context_methods runs 417 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 317 over it, 4.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/methods.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccb60f2dd6971b0bea18addc58b88e91454ca1969544e0edb8f96745e265b65"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: daemon/server.rs: FileTooLong \u2014 2078 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 64% of them inside a single declaration: BuckdServer (2 blocks, 500-2622). The bar is 500 significant lines; this is 1578 over it, 4.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06e1dc30626b6d6c71357c8b270238a1a9af26f4495ee421bc3654956f729dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: daemon/state.rs: FileTooLong \u2014 2058 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1558 over it, 4.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffa39eb624ffccf489f730578b3baf07222068d5c8d5ea0fb8a1840ff0b0f11"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EventLogProvider.EventLogProvider: FunctionTooLong \u2014 EventLogProvider runs 411 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 311 over it, 4.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/EventLogProvider.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb57920ea51037eb5e53d26446d2598bc7fd624380fdcb365a04194f32bcb05"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/gui.rs: FileTooLong \u2014 1964 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1464 over it, 3.93\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63097c4ae9c8466c75e8030032f19bc96f142b827c1bf2fa85ac36abec6b83c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/analyses.rs: FileTooLong \u2014 1926 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 45 free functions. The bar is 500 significant lines; this is 1426 over it, 3.85\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/analyses.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9d57fb734762e035589e36a5a1bd5de37193c6c9925205b518ebae65e39c75"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gui/detail_ui.rs: FileTooLong \u2014 1914 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 46 free functions. The bar is 500 significant lines; this is 1414 over it, 3.83\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa247a5856087b009c2e1ee14f5a34381c0555b190e2ac93be9ef79e347bc45"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: deferred/clean_stale.rs: FileTooLong \u2014 1895 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1395 over it, 3.79\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a489d4264b8336d063021f8d7c022cde35c4848cb64ff88b4074e732ff7fc7d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ValidationStage.collectEmittedTypeReferences: MethodTooLong \u2014 collectEmittedTypeReferences runs 379 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 279 over it, 3.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4717a148540f3478424061a2b043c1236538a9a5a79fdeb5b56b1773f3d7124"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BuildHistorySidebar.BuildHistorySidebar: FunctionTooLong \u2014 BuildHistorySidebar runs 373 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 273 over it, 3.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/BuildHistorySidebar.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dce59705fff57861bd1321a1485bdcaba1489ab9604cbb6d6654beb6adb6b42"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ingest/emit.rs: FileTooLong \u2014 1858 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 42 free functions. The bar is 500 significant lines; this is 1358 over it, 3.72\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/emit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44ccbe4bd2230e9ea5c9e4557e707fdd9153889f57c0936b84b1ba9d0ae1b68"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_bxl::bxl::starlark_defs::cquery::cquery_methods: FunctionTooLong \u2014 buck2_bxl::bxl::starlark_defs::cquery::cquery_methods runs 363 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 263 over it, 3.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"402289dcd78f8d501c462b45feda17e9512c2f4167c6c06765a0e9a56113e055"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BuckTestOrchestrator: ClassTooLong \u2014 1431 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 19 methods, 5 blocks, lines 405-2492. The bar is 400 significant lines; this is 1031 over it, 3.58\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/orchestrator.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"6785cfef2a0da6b39c60b8e816492992d87dd6975f39d971f63b1c8c65af337a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::main: FunctionTooLong \u2014 retrace::main runs 355 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 255 over it, 3.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/main.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d90edc75c2a1b926dd70efa85813d691ccbb14297324315ced42dce96b052a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: run/dep_files.rs: FileTooLong \u2014 1774 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 31 free functions. The bar is 500 significant lines; this is 1274 over it, 3.55\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run/dep_files.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca65deacb4d531346fca79e6ec0b8e04af5e574e3240693df33f13a6c9ab7886"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChromeTraceWriter.handle_event: MethodTooLong \u2014 handle_event runs 352 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 252 over it, 3.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_log_common/src/chrome_trace.rs"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"beac2f8d53d5983fac62ec7a75e44162b68de3f4a09c3342c30f2a2a4ffca3e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_action_impl::context::run::analysis_actions_methods_run: FunctionTooLong \u2014 buck2_action_impl::context::run::analysis_actions_methods_run runs 350 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 250 over it, 3.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/context/run.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"855516c53dd6438e26f1bea43108f0b40b0112dcc324b4254017e98b303a58bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pipeline/AbiGenPipeline.kt: FileTooLong \u2014 1703 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1203 over it, 3.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bd6efcd0737ae7e3bd0d6d46e97b76c60da41ac0b3c18a1e432f12e4a02f39"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/detail.rs: FileTooLong \u2014 1662 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 51 free functions. The bar is 500 significant lines; this is 1162 over it, 3.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/detail.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2025ee8a3bd78875e1788c1d025325d5069e9d52d7c69da1557db8c7312787f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BuckdServer: ClassTooLong \u2014 1325 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 12 methods, 2 blocks, lines 500-2622. The bar is 400 significant lines; this is 925 over it, 3.31\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/server.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"d854bdee98890e8cadb70ce519313fb4cb3328888fece400581efb2f700ab78a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/chrome_trace.rs: FileTooLong \u2014 1621 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1121 over it, 3.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_log_common/src/chrome_trace.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f664d27df3613409fbe216a28f19422f03c2113c3abbeb5f5ffee98995d417f8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Value: TooManyMethods \u2014 97 methods. The bar is 30 methods; this is 67 over it, 3.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/layout/value.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed01c421bed810cfb7b6a21d93c01ed7c74e022f2e7685996296397f50abdf35"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_bxl::bxl::starlark_defs::uquery::uquery_methods: FunctionTooLong \u2014 buck2_bxl::bxl::starlark_defs::uquery::uquery_methods runs 323 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 223 over it, 3.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/uquery.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c329cd642c704de14e9eddbc394655828f6f18230881323cfed7ed3efd1cb27"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: re/client.rs: FileTooLong \u2014 1597 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 63% of them inside a single declaration: RemoteExecutionClientImpl (3 blocks, 591-2176). The bar is 500 significant lines; this is 1097 over it, 3.19\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c61687e47e0f91d2f48fce382ab273b3dc1b0709a7b28cbb812adc6776c21f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_error::classify::tag_metadata: FunctionTooLong \u2014 buck2_error::classify::tag_metadata runs 319 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 219 over it, 3.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_error/src/classify.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"508b6c1b4c11a7e6dca78b7d9c3cc2280482d64f4488cce979b46079fcd0115a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v2/core.rs: FileTooLong \u2014 1545 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1045 over it, 3.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/v2/core.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da45d4f045539b8bfc0ec7afc812774e72fda524ff02fef394eb630ca55d3a9f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/client.rs: FileTooLong \u2014 1521 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1021 over it, 3.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f266ec5a23c417cf8d1f1e97a451568cb1f2df8413e3d4e423b39147101ebad8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/command.rs: FileTooLong \u2014 1510 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1010 over it, 3.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/command.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ad74dd655901cc88e6f0859b2021fef6d0861e24a3c8186349843c7619d893"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: impls/run.rs: FileTooLong \u2014 1454 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 63% of them inside a single declaration: RunAction (4 blocks, 470-1965). The bar is 500 significant lines; this is 954 over it, 2.91\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7510246fb74d5aff25c678facc29b3a5ab70c41640d397a416d34736e104ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::analyses::load_extras_impl: FunctionTooLong \u2014 retrace::analyses::load_extras_impl runs 287 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 187 over it, 2.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/analyses.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"09af08efa821553672aca2ded98bdd90b42990469ebd9a10036ff08bc5d8641a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DiceCommandUpdater.make_user_computation_data: MethodTooLong \u2014 make_user_computation_data runs 284 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 184 over it, 2.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/ctx.rs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a3cf5278e8f20db7934b9663df159a504b0e64a4c525f4b4a25ee34e07a4e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/export.rs: FileTooLong \u2014 1415 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 915 over it, 2.83\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/export.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbcd8141ee568d24c81788c29e8494b9586366e38e9822585fe6da89e971cf9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ActionResultsTab.ActionsView: FunctionTooLong \u2014 ActionsView runs 280 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 180 over it, 2.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b90a18204d458155a95ec792497219ac0924b3e1d5b6334b6158ce4b35bd8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1398 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 898 over it, 2.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_concurrency/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d92c6bf688a3581dc457dcd4f7f5a7f957650b5b64ca2e495bb8f109882f77"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RemoteExecutionClientImpl.new: MethodTooLong \u2014 new runs 278 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 178 over it, 2.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb2a02c9540e149ea7118058faebd3f462fb6855ee6dc9508228ee2e0a457ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ingest/scan.rs: FileTooLong \u2014 1370 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 40 free functions. The bar is 500 significant lines; this is 870 over it, 2.74\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/scan.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5785fdf87770f54a911a74ff336e9e803b4e8e0a5c29f5b2cee12cf9efa651"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::sim::standard_whatifs_cancellable: FunctionTooLong \u2014 retrace::sim::standard_whatifs_cancellable runs 273 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 173 over it, 2.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/sim.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fee44ba792855d6999dfe7d991eacd4d352d6d6c95d9bde70b3f6057eb0184"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Ready: TooManyFields \u2014 81 stored fields beside 32 methods. The bar is 30 stored fields; this is 51 over it, 2.70\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e45c3f9345fd5c58e317deb938136ddd9ffeb9fb8a0c7af44cc2cb84446e2ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/nodes.rs: FileTooLong \u2014 1345 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 845 over it, 2.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/nodes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cb9f969ef964fa0a41a9ae07d0b3bdf1cf56e472565891e8ad763b53ef823e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: executors/local.rs: FileTooLong \u2014 1345 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 67% of them inside a single declaration: LocalExecutor (3 blocks, 140-1447). The bar is 500 significant lines; this is 845 over it, 2.69\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/local.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba405b4a99f7beab8707a2dc0b6d4c20e95c70f29b22b02ed3097a9114dac34"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gui/panels.rs: FileTooLong \u2014 1345 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 845 over it, 2.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/panels.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a586734132d1de1499747f0340d54c2e29858918265116359445a263623d1fa1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: client/connect.rs: FileTooLong \u2014 1335 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 835 over it, 2.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/daemon/client/connect.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fcd2cab07aafdd76593e9873dc8138a1c94c30176260e484abd92e81588e44"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::parse::parse_opts_with_threads_cancellable: FunctionTooLong \u2014 retrace::parse::parse_opts_with_threads_cancellable runs 265 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 165 over it, 2.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/parse.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"693f09c8d94eda31afddf93a44783dc5a0e513c2fb3108d0fdb8834c202da209"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalExecutor.exec_request: MethodTooLong \u2014 exec_request runs 264 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 164 over it, 2.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/local.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f62e3134a96a3e27c0b0ec59756021e201c82346362e8e083dc2a53fe01c84"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_action_impl::context::write::analysis_actions_methods_write: FunctionTooLong \u2014 buck2_action_impl::context::write::analysis_actions_methods_write runs 263 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 163 over it, 2.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/context/write.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c21d9d60e7912052963e1d356d0cb94aebb55eef6401288795a6fff7e4fb80"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RunAction.expand_command_line_and_worker: MethodTooLong \u2014 expand_command_line_and_worker runs 262 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 162 over it, 2.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run.rs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f9d75a3cfe576625c7cafde19ccc3c69225c8e774e48a5eb1ba8131db40710"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::gui::command_ui::chart: FunctionTooLong \u2014 retrace::gui::command_ui::chart runs 262 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 162 over it, 2.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/command_ui.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a80009fbd4ef88b0c2fdcff2904ccefc26bdce65eaf664a7fa4f550a3cda20"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::analyses::overview_rows: FunctionTooLong \u2014 retrace::analyses::overview_rows runs 261 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 161 over it, 2.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/analyses.rs"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"277aa24266eb21da1394f047a794e2670eb5b62e0dcb5c768373ce3bd0d6743f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::detail::stage_lines: FunctionTooLong \u2014 retrace::detail::stage_lines runs 259 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 159 over it, 2.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/detail.rs"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18bb49682e0899c7fce716cc5b7216f38564d06d2ebb9ce50ee4b680fc8a946"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bc/instr_impl.rs: FileTooLong \u2014 1270 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 770 over it, 2.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/bc/instr_impl.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0191e8acf573df20daf2fc6b948ecce0ab8397354966f012e9c5e362a739e3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RemoteExecutionClientImpl: ClassTooLong \u2014 1009 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 14 methods, 3 blocks, lines 591-2176. The bar is 400 significant lines; this is 609 over it, 2.52\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3fbf0e937d4d3c1b5cae08906c8d013d637c9bf08ed37543d30ef2cb924283"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_test::command::test: FunctionTooLong \u2014 buck2_test::command::test runs 247 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 147 over it, 2.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/command.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b05064e4b0a8beb3b71afebd9ed3005238d0387e70b7666b5322a94dc832775"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::gui::menu_bar: FunctionTooLong \u2014 retrace::gui::menu_bar runs 246 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 146 over it, 2.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":2455}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25548efa273b66b7069317be1399856340ea17fdb8c0805c457fbadbe45712e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_execute_impl::materializers::deferred::clean_stale::create_clean_fut: FunctionTooLong \u2014 buck2_execute_impl::materializers::deferred::clean_stale::create_clean_fut runs 245 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 145 over it, 2.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b84351d645731052bad78d1ebde61c6f2832dd42477c03dcd9a6bfabd2b7e2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::gui::widgets::act_table: FunctionTooLong \u2014 retrace::gui::widgets::act_table runs 243 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 143 over it, 2.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/widgets.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6500ae85d02b60f1c24d682671b7fb2dba93d1aa22c0fd380d05611fa6790c7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ParserRd: ClassTooLong \u2014 971 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 60 methods, 2 blocks, lines 60-1469. The bar is 400 significant lines; this is 571 over it, 2.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"540bd12670553745ae7d8f4fb84f2587fab3b125034485c1bcdf7ffaeeca4819"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: subscribers/superconsole.rs: FileTooLong \u2014 1209 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 709 over it, 2.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"665da66f8aa5b21150e797ed7a973a8615ce3f03d3c17088bd5c4f30c244e280"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RemoteExecutionClientImpl.execute_impl: MethodTooLong \u2014 execute_impl runs 236 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 136 over it, 2.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"861a743fd739ef75e983b4ac377cc1687cb7b99994384d2526180a6cd0a68edc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommandExecutorFactory.get_command_executor: MethodTooLong \u2014 get_command_executor runs 236 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 136 over it, 2.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/common.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5329710d6de1aafc40b91fad71b3ab73dfbd7bc28509341886d8ea07a7226b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ctx.rs: FileTooLong \u2014 1176 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 676 over it, 2.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/ctx.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd89ad7a76deae034d0a33671345673e2f02f3c753c35db04867715c231c2b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pagable/starlark_deserialize_context.rs: FileTooLong \u2014 1161 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 661 over it, 2.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/pagable/starlark_deserialize_context.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbf078b2e3e7f964fa4d99940a4669cd9359aa2ae043f1a787015fae3161c57"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: deferred/command_processor.rs: FileTooLong \u2014 1155 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 72% of them inside a single declaration: DeferredMaterializerCommandProcessor (2 blocks, 103-1650). The bar is 500 significant lines; this is 655 over it, 2.31\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/command_processor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d9ce62d188ad8f60674888f65449cfe5d442b26832bc613b225fe3c55aef51"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RunAction: ClassTooLong \u2014 920 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 13 methods, 4 blocks, lines 470-1965. The bar is 400 significant lines; this is 520 over it, 2.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee0a8ffe9d2f33a2353e72873586b972f550bd9a50830902fd3b5c58ddfc09b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MiniMutInsertionMap: TooManyMethods \u2014 68 methods. The bar is 30 methods; this is 38 over it, 2.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shed/mini_map/src/mut_insertion_map.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a03f3a4b09c0b3086557c21c790f3d7ddb758639add7a5bc4ae433e017f653b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_bxl::bxl::starlark_defs::nodes::configured::configured_target_node_value_methods: FunctionTooLong \u2014 buck2_bxl::bxl::starlark_defs::nodes::configured::configured_target_node_value_methods runs 225 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 125 over it, 2.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"7066ff61cc2fe35e3d68d997bc4d2535a5e7ca4bff154031dca0a569b539edba"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalExecutor: ClassTooLong \u2014 899 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 14 methods, 3 blocks, lines 140-1447. The bar is 400 significant lines; this is 499 over it, 2.25\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/local.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84b3f1781d07d1476ebdc34d304db1f9e5a16843b699c7b7bf8f7d842cc069f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lexer.rs: FileTooLong \u2014 1111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 611 over it, 2.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ef6129441c7edf6e7d90a64373e09f35aef850db01b861bc22353169e14a28"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChromeTraceWriter: ClassTooLong \u2014 888 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 19 methods, 2 blocks, lines 851-2157. The bar is 400 significant lines; this is 488 over it, 2.22\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_log_common/src/chrome_trace.rs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f11ce3350ac2d4ed81926a4c4877b27e98622ca44cc40a4bb7975593521869"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: streaming-decode-worker.processLargeLog: FunctionTooLong \u2014 processLargeLog runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"888966416faa9fbf0fc09a0be963fd88598d439be31ae2a5b73afae6181247cd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CommandExecutionRequest: TooManyMethods \u2014 66 methods. The bar is 30 methods; this is 36 over it, 2.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/execute/request.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdcbd08eadcaadf874ea1d2524c0fb8f1680bf2fd2a8fd41abb5fd0b866b803"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Game.ensure_safe: MethodTooLong \u2014 ensure_safe runs 220 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 120 over it, 2.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/minesweeper.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"664e878a104904c9e3d6cc1b2eb056192fad9ff8965482b7fe693fb67bf52916"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: build/build_report.rs: FileTooLong \u2014 1090 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 590 over it, 2.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/build/build_report.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ca72d4aee257ebe848fc849ad5ad66ebd3ca1e6972e3a7f5414787261bdbff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LoadTreemap.LoadTreemap: FunctionTooLong \u2014 LoadTreemap runs 218 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 118 over it, 2.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/LoadTreemap.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc00a61f074b3dde55c6e2806ff43cf97c71dc4b704b5e14141349a3831764b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1088 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 588 over it, 2.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_signals_impl/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bb4e4a7590f5f41344ed125ae1b285d15845dd09ae451fb84c2e6e3db4232e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::ingest::testlog::demo_log_with: FunctionTooLong \u2014 retrace::ingest::testlog::demo_log_with runs 216 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 116 over it, 2.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/testlog.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"994d9233d553ff6efde80fed238ff0e3275a452aa2894e94545932a74555cb7f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AbiValidationInputs: ClassTooLong \u2014 860 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 460 over it, 2.15\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"d902d6a1fb704771cc3b3af7f87f0193445fa9eb177c0bf1899d4252783bbc14"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt: FileTooLong \u2014 1072 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 572 over it, 2.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fd0912da54a623496ca4db9159c7a0fde544ba61bd01c29406962bc603929c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InvocationRecorder.new: MethodTooLong \u2014 new runs 214 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 114 over it, 2.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/recorder.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec251e730a7da91549dd0e6160cea18c1521a1eef8b49a0b9ac8f0b908f7893d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GraphImpl2.GraphImpl2: FunctionTooLong \u2014 GraphImpl2 runs 214 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 114 over it, 2.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a564e60be1cb0e8cc1ffc0163cd8282711744a1b824e14604bf13b3c0bbbec50"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_build_api::actions::calculation::build_action_inner: FunctionTooLong \u2014 buck2_build_api::actions::calculation::build_action_inner runs 212 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 112 over it, 2.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/calculation.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b600c753408ca83528e14fcaf5e33f0b17795ca9282b622bdcdfb8e650cda980"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_bxl::bxl::starlark_defs::lazy_ctx::lazy_uquery_ctx::lazy_uquery_methods: FunctionTooLong \u2014 buck2_bxl::bxl::starlark_defs::lazy_ctx::lazy_uquery_ctx::lazy_uquery_methods runs 212 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 112 over it, 2.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5377c8a4ecea4e8846f3e356cf14321c477c181b14baa84d58351ad0f5fb4f11"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::detail::popup_rows: FunctionTooLong \u2014 retrace::detail::popup_rows runs 211 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 111 over it, 2.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/detail.rs"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d054e50b7d28e1fa16d85b25b38a1bbe09f3a4ef2c501c82c63532918b2ea9f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compiler/expr.rs: FileTooLong \u2014 1051 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 551 over it, 2.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/compiler/expr.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7ff72a083ccfdf6c81844780e7e07fc1c9a65d26d1cfa8b822e056c9c406c1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CliArgType.parse_clap: MethodTooLong \u2014 parse_clap runs 210 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 110 over it, 2.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"7194446855534a75a8d1f474b87350adfc2a0ca475cdf9f096c259d252b837f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useEventLogState.useEventLogState: FunctionTooLong \u2014 useEventLogState runs 210 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 110 over it, 2.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/event-log/useEventLogState.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffb547def5767349c0667a2cf9500da5ddfd62541535fbdf8ba4c7d49158e5e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DeferredMaterializerCommandProcessor: ClassTooLong \u2014 831 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 26 methods, 2 blocks, lines 103-1650. The bar is 400 significant lines; this is 431 over it, 2.08\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/command_processor.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b4113d552fa963367025bc62670784b21446ac29e7fd550f39a1cc05189d3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: attr_type/arg.rs: FileTooLong \u2014 1035 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 535 over it, 2.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/attr_type/arg.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9d3ce20c40081abcefa84743fe31d4d4965fc3aade0834def71e0549aabd2c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CompilerTypeResolutionSimulator.resolve: MethodTooLong \u2014 resolve runs 207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 107 over it, 2.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/CompilerTypeResolutionSimulator.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87662082079aeb792e75bb8533b2565fca72d9e3b2234adc55b8e5532136208"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Evaluator: TooManyMethods \u2014 62 methods, declared across 4 files: runtime/evaluator.rs (57), debug/inspect.rs (2), src/eval.rs (2), debug/evaluate.rs (1). The bar is 30 methods; this is 32 over it, 2.07\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/runtime/evaluator.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd40d9fb8317e5f09addeb0d5e39e9d9512d2f898f422a93d6ff4883124cb798"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RemoteExecutionStaticMetadata.from_legacy_config: MethodTooLong \u2014 from_legacy_config runs 206 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 106 over it, 2.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_re_configuration/src/lib.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc2f38c7d0e886989354f1353a0d752704c6b9f03ce7589691bcbe2e10b249b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/package_tree.py: FileTooLong \u2014 1026 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 526 over it, 2.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/nodejs/tools/package_tree.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4aa1c164c6a6605c2d7e904e323473d802c01226f52d602517d4ef3a7c681f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BuckTestOrchestrator.execute_request: MethodTooLong \u2014 execute_request runs 204 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/orchestrator.rs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"033f3081557c133036743f1107d151914cc84ecc06c203263f40940f238f9753"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ParserRd: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e119b3f42b55b866def65b28e77998ceeed4361d799636e9acaa478ec9157122"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_build_api::interpreter::rule_defs::command_executor_config::register_command_executor_config: FunctionTooLong \u2014 buck2_build_api::interpreter::rule_defs::command_executor_config::register_command_executor_config runs 200 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/command_executor_config.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf1b8ed20054667969be2b49ef9e8b4fe57055e6b89c558e9fd9e84553c7438"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: syntax/parser_rd.rs: FileTooLong \u2014 996 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 97% of them inside a single declaration: ParserRd (2 blocks, 60-1469). The bar is 500 significant lines; this is 496 over it, 1.99\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f618d54c0400fa921da35e2d1570127e8cb78aa457072249c3e52cb60c982ed"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Collector.event: MethodTooLong \u2014 event runs 196 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/profile.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"6155d5d0557b65194331955b86c29d9f1b929e90826adbed6b308184a46029ae"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DaemonKotlincToJarStepFactory.createCompileStep: MethodTooLong \u2014 createCompileStep runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/DaemonKotlincToJarStepFactory.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"145fcde711d8b1a82df5962367bc024ab2c140ceba72e97d9a969d3585aed583"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_test::command::test_targets: FunctionTooLong \u2014 buck2_test::command::test_targets runs 194 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/command.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed2286152ae194c4043ca8cc67532e83c2217f6cd0fc32fe08e44fdf9e3f627"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/display.rs: FileTooLong \u2014 967 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 467 over it, 1.93\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_observer/src/display.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73a76294211aae5792db448adea879a26ae312dbed84bf3443302f86b6bfd64"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GraphImpl2.GraphImpl2: FunctionTooLong \u2014 GraphImpl2 runs 192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/output_format_js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"054ece304c24f38708083f8d81455fc336b79f3dee1f33375cb1af887301ee18"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::ingest::testlog::command_profile_log: FunctionTooLong \u2014 retrace::ingest::testlog::command_profile_log runs 192 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/testlog.rs"},"region":{"startLine":1817}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa04981cb3c76d9e0c8d583e324687a108ce064494f40ca73deeb2c3b3c7cab6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/fs_util.rs: FileTooLong \u2014 951 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 63 free functions. The bar is 500 significant lines; this is 451 over it, 1.90\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_fs/src/fs_util.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d09db4b2fa4d02e1770268508ae379e79fc8203cdcb94b8c742f30787fb2ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/parse.rs: FileTooLong \u2014 951 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 451 over it, 1.90\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/parse.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2f3281d9472f8e59f181fe45adbb94497859f7c68e628b5aac61b1ef8e0a38"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: D8ExecutableMain.run: MethodTooLong \u2014 run runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/dex/D8ExecutableMain.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"467f091e797b627daa13d56083393624c5ee83b2e4ee0415008eb5c47fc74fc0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/server.rs: FileTooLong \u2014 942 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 65% of them inside a single declaration: Backend (3 blocks, 405-1290). The bar is 500 significant lines; this is 442 over it, 1.88\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d7c4cd275fe040485ad9ad523beb1c2608a95f0e7f76fbccef3c19f2cecb53"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gui/command_ui.rs: FileTooLong \u2014 942 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 442 over it, 1.88\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/command_ui.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"697f778552165daa01fefc0c526c44181e28ebfa24e5718418234fed79cb44a6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Game: ClassTooLong \u2014 749 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 16 methods, 4 blocks, lines 95-1175. The bar is 400 significant lines; this is 349 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/minesweeper.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5606be24e6baf519c2b3b092cf18c78caefbc1f4c31e294c53f3d8cbb09fc82f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ingest/testlog.rs: FileTooLong \u2014 933 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 433 over it, 1.87\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/testlog.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b4fe73472f8f5b3d7cfdee167dbe584831703e8ca9a2adb53f8c0bf36d0beb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DaemonCommand.run: MethodTooLong \u2014 run runs 184 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_daemon/src/daemon.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"b263da987a12b93ed78e8028c3ad1e624f7f0e8f90dbf90c6936985710345bfe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/sim.rs: FileTooLong \u2014 914 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 40 free functions. The bar is 500 significant lines; this is 414 over it, 1.83\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/sim.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"347292eb9c8d308494cfad370ed102114b13afbc81d85ff628c28bcdae95a3f5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MultiDexExecutableMain.run: MethodTooLong \u2014 run runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/dex/MultiDexExecutableMain.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"988a8f7ef0f54a1938089b732af2f73d6e4ef17af591393c685f63ed8ddd9297"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_test::internal_runner::run_internal_test: FunctionTooLong \u2014 buck2_test::internal_runner::run_internal_test runs 180 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/internal_runner.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0131ab2a020d4298aebb956ba0485a4ec54918b57b813f4f8d37c2937d68f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::gui::detail_ui::show_detail_ui: FunctionTooLong \u2014 retrace::gui::detail_ui::show_detail_ui runs 180 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"c878185ffe6c7eee8ba94f77ee2bb0cd5ac18f0700d458338d78d92449aa1cef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GenericTreemapView.GenericTreemapView: FunctionTooLong \u2014 GenericTreemapView runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"0816aecfcaf7597fba56ec0b7eef4b959bad06a055561cc9d278f6f10aa8357e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BuckdServer.run_streaming_erased: MethodTooLong \u2014 run_streaming_erased runs 177 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/server.rs"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"75224ee1d526ab9cdb4679031a3fd7a2115147e4e2a98d494363d33654767b53"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InvocationRecorder: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/recorder.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"148c169fc24a090b97812d62187a0ef8e562f18b56b0655bea4d276846ccfde6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Ready: ClassTooLong \u2014 706 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 32 methods, 2 blocks, lines 732-1758. The bar is 400 significant lines; this is 306 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8be1db5a0019eded1c5e8872e3d15d4776ec66d6cd954fd7e73bb7b203d8dd5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AdbHelper: ClassTooLong \u2014 705 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 305 over it, 1.76\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/AdbHelper.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0d06e837ffa80ef7bdb57009eef92fd44805e2f235d5ec1cd545c5911e5758"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AstModule.get_auto_complete_type: MethodTooLong \u2014 get_auto_complete_type runs 176 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/inspect.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b7c43d899d189e3d5a1590413605b2aeaa4e7f58dcd62678422b745b660d14"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/install.rs: FileTooLong \u2014 876 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 376 over it, 1.75\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_commands/src/install.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b10a78de3461bb4106a20154f0d3aa150df2163f52b98708bf638d7bee5b7e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InvocationView.InvocationView: FunctionTooLong \u2014 InvocationView runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/InvocationView.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"283adef3635406c07ee9cf5584161844a7892093bcc13a8ead8b863b7b1486d6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AndroidDeviceImpl: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/exopackage/AndroidDeviceImpl.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d89082bad905ed56da848da351f2cd574ba4a150719244da535c5c57b45d7e3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CoreState: TooManyMethods \u2014 52 methods, declared across 7 files: src/state.rs (24), src/resolve.rs (10), src/invariants.rs (7), src/introspect.rs (4), \u002B3 more file(s). The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice_core/src/state.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"907707267284b706279b4e74f5f8d8bee0f967955bb865549afe1bc8e5dec5f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: materializers/deferred.rs: FileTooLong \u2014 866 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 62% of them inside a single declaration: DeferredMaterializerAccessor (7 blocks, 136-1231). The bar is 500 significant lines; this is 366 over it, 1.73\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"865b08248dfc9ead3528bb4433be9299c69085db7e58c0c8fc156a254886bc32"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_event_observer::display::display_event: FunctionTooLong \u2014 buck2_event_observer::display::display_event runs 173 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_observer/src/display.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c6dbc8f025d8a0b803a9f0696328aab0edc4cda8bb1a06647ae22680d33a3f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CleanStaleArtifactsCommand.scan_and_create_clean_fut: MethodTooLong \u2014 scan_and_create_clean_fut runs 172 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"e348e7bcf0b684a004c050b9d961621711b57dcecca0bb2b77373bbcd9882400"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FirMetadataSanitizerStage: ClassTooLong \u2014 685 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 285 over it, 1.71\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae772734cb8368995546a75021861919b2b13a2f4509e10af2c60aa1d4f6b23f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Compiler.expr: MethodTooLong \u2014 expr runs 171 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/compiler/expr.rs"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f59efd280907fe7f3eb19ffad2b2411e6d7d776f7d210e6ef0f81c4255b1cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_settings_derive::expand: FunctionTooLong \u2014 buck2_settings_derive::expand runs 170 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_settings_derive/src/lib.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d25cd3cde7ec573339408807345e88638ad07fd2c05310fbfbe3a164b44822e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KaptStepsBuilder.prepareKaptProcessorsIfNeeded: MethodTooLong \u2014 prepareKaptProcessorsIfNeeded runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/KaptStepsBuilder.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a5bc2cde759127c6f7e2a81a04480f3edf0f28bdcdc96ba530c57bf858e549"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InvocationRecorder.handle_snapshot: MethodTooLong \u2014 handle_snapshot runs 169 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/recorder.rs"},"region":{"startLine":2206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28a821a3d9a85d2f087fc7471ee3dbc967642e054cc82d65d484fb3efeaf5d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: heap/sealed.rs: FileTooLong \u2014 841 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 341 over it, 1.68\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/layout/heap/sealed.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e8d445672d19ce3bda55f28efceaddcb547dcaa9b3a6e8671b043634f2e78f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: starlark_defs/cli_args.rs: FileTooLong \u2014 840 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 340 over it, 1.68\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e149bc2ac1ada16e09761d310148d8f72a197ca68b9001c53bb2eda069f9882d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TransitiveSet.new: MethodTooLong \u2014 new runs 167 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"18837ddbafc6518553388565a3b3ed5f29410aab09ccc008dd26e303a7f9b797"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EdenFsFileWatcher.process_change: MethodTooLong \u2014 process_change runs 167 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_file_watcher/src/edenfs/interface.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"67863f0bbfaf6ab67c7d46fceb4a54f7b6af881c243f64f73a8836ee00a18f55"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/execution.rs: FileTooLong \u2014 827 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 327 over it, 1.65\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/execution.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b767a5611a95576f9160b0a5e201e5178422f15c3af4b656d90fe9c769942a00"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Cleaner.run_inner: MethodTooLong \u2014 run_inner runs 165 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/v2/clean_stale.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df83317f65f0a0520aec8f6e1edab59da94f51abdd71d83d1f152f86dabd7f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compiler/scope.rs: FileTooLong \u2014 819 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 319 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/compiler/scope.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdf8e219d2fd0318b292e85097e9a33bf24ba8f7f09a0332d9aa764e733fbd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/graph.rs: FileTooLong \u2014 815 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 315 over it, 1.63\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/graph.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9cb2f0a757c711693edc624f3706deda7c0dc7685500b74bc646d6a52bed96"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HybridExecutor.exec_cmd: MethodTooLong \u2014 exec_cmd runs 163 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/hybrid.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"662a78ee639f0e6308675ad772eccf36769f18577bdd5f268cc23599f378cd8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::ingest::run_with_cache: FunctionTooLong \u2014 retrace::ingest::run_with_cache runs 163 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d103e7142db1aee06d9a8873dfe93ccb2241cb81fd9fae84f0d29b9802eabcb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pattern/pattern.rs: FileTooLong \u2014 809 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 309 over it, 1.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/pattern/pattern.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14403eafa4744b33c421266936f024d7eb7e153886b74baeee3837f067afd57"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/findings.rs: FileTooLong \u2014 807 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 307 over it, 1.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/findings.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a9b4ba08d16e06fc65aebe55fe0a3b4ae5a72049288c9fc21e7dd153784fe7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Ksp2Step.executeKsp2: MethodTooLong \u2014 executeKsp2 runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/ksp/Ksp2Step.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4f45d103a39f67f028bfe4af06df61d15ccb60f7e84c9dfe6d524671b3bf95"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AValueDynFull: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/layout/vtable.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"11da4c8b2da6eab8848b7366f6310e107b56cdf126b2ffcbb144b6120d5bc1b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_execute::execute::command_executor::re_create_action: FunctionTooLong \u2014 buck2_execute::execute::command_executor::re_create_action runs 160 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/execute/command_executor.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02cc40d6f32100cc17ecae118671be800b5f7bb9445435a05d2825ae8064987"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MiniMutInsertionMap: ClassTooLong \u2014 638 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 68 methods, 23 blocks, lines 77-1413. The bar is 400 significant lines; this is 238 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shed/mini_map/src/mut_insertion_map.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f074862531133ce621e10f3e2eb7be46d33aa14c5329739a733c217ac1cc6b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rule.rs: FileTooLong \u2014 796 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 296 over it, 1.59\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/rule.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c204206df6ed53b0f0cea1e8edfba4f28140e31dbd37cab754326136c135766"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DaemonState.init_data: MethodTooLong \u2014 init_data runs 159 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/state.rs"},"region":{"startLine":2423}}}],"partialFingerprints":{"codehealthFindingId/v1":"480d4bdbc1fcecfdb484b3c348a2b280b6756703219d32065c3ae4bf5ab3201d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CriticalPathChart.CriticalPathChart: FunctionTooLong \u2014 CriticalPathChart runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/CriticalPathChart.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bad7fd6207a38610f3dd552e3f01710561af7b98fd5bc8d64d0fd6df2c075da"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DiskStateMaterializer: ClassTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 12 methods, 6 blocks, lines 174-1143. The bar is 400 significant lines; this is 235 over it, 1.59\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/v2/core.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c508bafae2887dbee4863ec952efea51af0d7a0886cf7f1e243138d0044956c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_configured::nodes::compute_configured_target_node_no_transition: FunctionTooLong \u2014 buck2_configured::nodes::compute_configured_target_node_no_transition runs 158 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/nodes.rs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a38505e8b3400e442e8cc8e3469cf48a4e3d1fc4cd7d0285bf7edff1d39b9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cmd_args/typ.rs: FileTooLong \u2014 788 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 288 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/cmd_args/typ.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6590ffb18a366535653deeb4e7fb8394ef7607fabddcb63183aa425490d3991e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: games/minesweeper.rs: FileTooLong \u2014 788 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 95% of them inside a single declaration: Game (4 blocks, 95-1175). The bar is 500 significant lines; this is 288 over it, 1.58\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/minesweeper.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06fb814b905ea0ac110a1407e729a89d61a4b25b302dc5f8d079f5ce0f59ea4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TypingOracleCtx: ClassTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 34 methods, 2 blocks, lines 86-1032. The bar is 400 significant lines; this is 228 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/oracle/ctx.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e8232a3a140afadba5905952828f2de353e5962c6992ee4c115863e5b86a01"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefParams.unpack: MethodTooLong \u2014 unpack runs 157 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/def.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4597f49980b5fd82dd71172b490cfdb007cfafeeb709a33e21820956462cc25f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v2/tree.rs: FileTooLong \u2014 784 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 63% of them inside a single declaration: DiskTree (2 blocks, 514-1275). The bar is 500 significant lines; this is 284 over it, 1.57\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/v2/tree.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdffba8a786064c938b9dfd77f99c29721050fd745fa6e82dd3f6b359e472e35"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CoercedAttrArenaBuilder: TooManyMethods \u2014 47 methods, declared across 25 files: arena/builder.rs (11), attr_type/query.rs (6), attr_type/arg.rs (4), coerced/select.rs (4), \u002B21 more file(s). The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/arena/builder.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbf285454744c20085b8d8121d568aeb815448016025402fd3e18b5c467b73e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mut_insertion_map.rs: FileTooLong \u2014 780 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: MiniMutInsertionMap (23 blocks, 77-1413). The bar is 500 significant lines; this is 280 over it, 1.56\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shed/mini_map/src/mut_insertion_map.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6c06cd54e39daa4ce00c56c4ac4f1f308a26ad3bb3e27bfa78afc1a5109f97"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_interpreter_for_build::rule::validate_execution_groups: FunctionTooLong \u2014 buck2_interpreter_for_build::rule::validate_execution_groups runs 155 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/rule.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e040d6d8427941d58372910cc73e8a89e1d44574a3223031c298928296be06"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BuckTestOrchestrator.prepare_and_execute_no_dice: MethodTooLong \u2014 prepare_and_execute_no_dice runs 155 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/orchestrator.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"943e7c51d0d15939f4a5751af114e4e3017e1853ba46ed5f5e4d8e063365a1aa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Ready.new_with_pending_graph: MethodTooLong \u2014 new_with_pending_graph runs 155 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5ed4a10d9fae2e0fed0ed3920b9c47152f2cfbed21bd1966dd7c112fd79bd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EventLogToolbar.EventLogToolbar: FunctionTooLong \u2014 EventLogToolbar runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/event-log/EventLogToolbar.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f387b4f7dc8b9e45101252a58c4925fcec2f798ddbb45c6b63e0ec2880f75e6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::gui::command_ui::inspector: FunctionTooLong \u2014 retrace::gui::command_ui::inspector runs 154 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/command_ui.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a46194421df01e150b8784773a8691c92060cf7f996bd2170c37ffba5411571"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Backend: ClassTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 35 methods, 3 blocks, lines 405-1290. The bar is 400 significant lines; this is 213 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/server.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad9b3787069b078ce464e985bab2c5a8b9f13ad157f6e6e4d47a665dae62af5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: android/AdbHelper.java: FileTooLong \u2014 766 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: AdbHelper (76-1130). The bar is 500 significant lines; this is 266 over it, 1.53\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/AdbHelper.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46d2b3a8d84d9c41ab7ecc96c83e97121089bc2a53a244de30befeda6f47ba2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_bxl::bxl::starlark_defs::cli_args::cli_args_module: FunctionTooLong \u2014 buck2_bxl::bxl::starlark_defs::cli_args::cli_args_module runs 153 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7ac53c2773ab7ed92a3cdee6e92713f008560382ef338d5b1c3d4aa635ee44"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gui/canvas.rs: FileTooLong \u2014 763 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 263 over it, 1.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/canvas.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffdf5e32fa976bd91434b95546d23caec3407a64496e407c20a6a256a0af384"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EventLogDetailPanel.EventLogDetailPanel: FunctionTooLong \u2014 EventLogDetailPanel runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/event-log/EventLogDetailPanel.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"50db670adbc8ef5d7f5409e73700bdf47a6356b73864efd8d00d99316d4571df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: execute/action_executor.rs: FileTooLong \u2014 756 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 256 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/execute/action_executor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58478d9529125a192cd3da4713e206b8fe60b7414ad69bece6c982d55a1b952c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_bxl::bxl::starlark_defs::context::output::output_stream_methods: FunctionTooLong \u2014 buck2_bxl::bxl::starlark_defs::context::output::output_stream_methods runs 151 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/output.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c18fdfb9a3a821235ef5fb745507c01d674122fe4405d7921ee13732884bd03"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProgressHeader.draw_unchecked: MethodTooLong \u2014 draw_unchecked runs 151 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole/header.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da986ecae36ecdce98569b49c91baa475e1ad8d2b77880ea62f6d9c0be74256"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InvocationPaths: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/invocation_paths.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8802c5c1226a8d4bd22f082daa6ddb648029f1b2d4d7cc8d2ba2778909bb710c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MiniMutInsertionSet: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shed/mini_map/src/mut_insertion_set.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"279da356c196b1497d7a61399ee02e93b5487fb426bda128d8c3b4a191d25ceb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Ty: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/ty.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5b331c967a1a9704ccf6eb0aed768271f2497f4d1563204a6a49e01b7d5d4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v2/clean_stale.rs: FileTooLong \u2014 747 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 247 over it, 1.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/v2/clean_stale.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8279e815a52c79139c6bb9cda670442c35e7fef435824c5dde8593f3b14bf8c6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AndroidDeviceImpl: ClassTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. The bar is 400 significant lines; this is 197 over it, 1.49\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/exopackage/AndroidDeviceImpl.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5454a34c64ca23537aba402e25afaa5cb6b1752cff8b6aa75ee409cb4f87a063"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LazyUqueryOperation.resolve: MethodTooLong \u2014 resolve runs 148 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/operation/uquery.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"da72a94ab7178760628f92f9bc4c1c4a64e06828838de6947905e84f9d3c341b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Uploader.upload: MethodTooLong \u2014 upload runs 148 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/uploader.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea576379945c173f0f7327dc0229dbd59c69a495fdebb26dea97ca38f320194d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LargeByteBuffer: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/util/nio/LargeByteBuffer.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cb93f18963973584a7093b9ee7382b75846b421e12a3cc60f1cb16bf4e4d24"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: games/blocks.rs: FileTooLong \u2014 732 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 232 over it, 1.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/blocks.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53c9a15d655bd39c4ac85542e5aeb68890cd3867b2352fa4171f303dfa2b63a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BuildReportCollector.convert: MethodTooLong \u2014 convert runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/build/build_report.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5ed294a36dca4fe06d04b329f7a147d8553c6578536158999b99ff716d1939"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/evaluator.rs: FileTooLong \u2014 724 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 72% of them inside a single declaration: Evaluator (3 blocks, 136-1130). The bar is 500 significant lines; this is 224 over it, 1.45\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/runtime/evaluator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ed7e5a703c0035d49991abb388c512c0f68b77455876365618ed2c9a3a5db8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CasArtifactAction.execute: MethodTooLong \u2014 execute runs 144 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/cas_artifact.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1350336e6570ce57708721a39d60b3da93ac34f35eaaff5415d1dfb3530fd2a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Scan: TooManyFields \u2014 43 stored fields beside 4 methods. The bar is 30 stored fields; this is 13 over it, 1.43\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/scan.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2597d900847f20ffc9e59994f953e048b6a2816a175d946c7f3343b674a3b5a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Piece.grid: MethodTooLong \u2014 grid runs 142 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/blocks.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"0826733c3b97929213bc76d9d54806707f4c5dd55d4ec127dbf05d9daa5228c7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ParallelDecoder.decode: MethodTooLong \u2014 decode runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/parallel-decode/orchestrator.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"485c758ed572b4bbc68e6dda6cecbe1075759c46b9a9ea30d66ccfd0722ff861"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::gui::update_ready: FunctionTooLong \u2014 retrace::gui::update_ready runs 141 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa6efea0a6f9c100d8af6486bb67c676166a7cfa81c629c7e8e883eed534d97"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProjectFilesystemUtils: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/io/filesystem/impl/ProjectFilesystemUtils.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4735354f4c4291dda6e5e6bae7bdbc5c73a4c2c1ae4a0dbe282d97a9e82763"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gui/execution_ui.rs: FileTooLong \u2014 700 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 70% of them inside a single declaration: ExecutionUi (3 blocks, 110-801). The bar is 500 significant lines; this is 200 over it, 1.40\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/execution_ui.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a505405f69f331d5a860c9abfe3595935f61b8ea4e608391fe2c2d28de1a0037"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_critical_path::potential::compute_critical_path_potentials: FunctionTooLong \u2014 buck2_critical_path::potential::compute_critical_path_potentials runs 140 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_critical_path/src/potential.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6c7f740f4946d46ee4a14e038d0db8f8b24cb495abcaa67620709c5a4d4352"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RemoteExecutionStaticMetadata: TooManyFields \u2014 42 stored fields. The bar is 30 stored fields; this is 12 over it, 1.40\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_re_configuration/src/lib.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa39db117046909de8dbc38284cb1b94598306134b36d2b048f8592e86b790b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/execution.rs: FileTooLong \u2014 696 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 196 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/fuzzy_dice/src/execution.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3205615a1b9c0b6395e71b63dc32b901541cc659cee9ab7e50c148af05e9f692"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/buck.rs: FileTooLong \u2014 694 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 194 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/rust-project/src/buck.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34c3686179ee43fad82f4834c5f32768c53cdc860974af332db0a5a2f19cf9e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ingest/profile.rs: FileTooLong \u2014 690 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 190 over it, 1.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/profile.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f5be2b0062a9aec99e5f08a0ca3cc1804a56014bc6e5d04b37284a0c77c4a4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EdenFsFileWatcher: ClassTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 12 methods, 3 blocks, lines 98-860. The bar is 400 significant lines; this is 150 over it, 1.38\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_file_watcher/src/edenfs/interface.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5759d30b4a475aaa7c3b8c116a508b3a306396b648d0a7efe5edb3ddf3495ad"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BuildReportCollector: ClassTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 11 methods, 2 blocks, lines 322-1118. The bar is 400 significant lines; this is 150 over it, 1.38\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/build/build_report.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8f0ea0bccd9672787228ff6b776a6d7b78313a41f2b66a13d183e2b0e8f1a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: oracle/ctx.rs: FileTooLong \u2014 687 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 91% of them inside a single declaration: TypingOracleCtx (2 blocks, 86-1032). The bar is 500 significant lines; this is 187 over it, 1.37\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/oracle/ctx.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a21554dbef5d72f6051d384ee1ba4da6268fea9506dced3d18ba4326363d41a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nodes/configured.rs: FileTooLong \u2014 685 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 185 over it, 1.37\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/nodes/configured.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11262c0549309b3c2b3e7586d9f279a16c061b8dce4024c4670882f456e5f3bf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExprCompiled: TooManyMethods \u2014 41 methods, declared across 2 files: compiler/expr.rs (40), compiler/expr.rs (1). The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/compiler/expr.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8dfef04ccf99b278300fad4b9d4abdf421846463abf92eaca45b2223d64078"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: code_signing/codesign_bundle.py: FileTooLong \u2014 682 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 182 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/codesign_bundle.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79031589f472e58002a884a87db68f78fa883e246d953ecc1c0e3ec4090acb1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: attr_type/query.rs: FileTooLong \u2014 677 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 177 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/attr_type/query.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5a04a858f1fab6bd0ec61608e0ecfe092be07239409c2b5bede9f98c8a6232"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Game.draw_unchecked: MethodTooLong \u2014 draw_unchecked runs 135 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/breakout.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"718f6971a9d6e483daba165f2b33f11ec3262f2e8a94ba1dff3fb44c46e0979f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DeferredMaterializerAccessor: ClassTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 14 methods, 7 blocks, lines 136-1231. The bar is 400 significant lines; this is 138 over it, 1.35\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd5fa51dba74c95de9f619f0b9f7f81cc5e76633219ae406f356b88953f2dae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_execute_impl::materializers::deferred::clean_stale::apply_adaptive_low_disk: FunctionTooLong \u2014 buck2_execute_impl::materializers::deferred::clean_stale::apply_adaptive_low_disk runs 134 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":2104}}}],"partialFingerprints":{"codehealthFindingId/v1":"010b15a309603ba2fc5048b1980b8f57216b4549886071f628ae0ab9cd5ba1ea"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CleanStaleConfig.from_buck_config: MethodTooLong \u2014 from_buck_config runs 134 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":2378}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa7a131b82bfe3d205bac8dc43671335b985038b640f389ddd9e14ee43faae0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BuckTestOrchestrator.prepare_for_local_execution: MethodTooLong \u2014 prepare_for_local_execution runs 134 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/orchestrator.rs"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e021a5906299571aba411418e07449cde489a2116852a2f582d256a4ab3f72c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: executors/worker.rs: FileTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 165 over it, 1.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/worker.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d71e6063b4e06d2b9e6f9392ef077f02e74d80647eaee304f1f6a1e5c45a9b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tables/materializer_state_table.rs: FileTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 165 over it, 1.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/sqlite/tables/materializer_state_table.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"913f4b954d6aae7b358c12d187a6c906611a5e2bd4b110b42e18e958d8d7110b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: D8Utils.runD8Command: MethodTooLong \u2014 runD8Command runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/dex/D8Utils.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e83455f4a7df2b6ecd53eaa526651767828bd7ee3621d8c8cbca24edfaf1026"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/server.rs: FileTooLong \u2014 664 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 65% of them inside a single declaration: ServerState (3 blocks, 268-997). The bar is 500 significant lines; this is 164 over it, 1.33\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_starlark_debug/src/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"741062271cfc03f78000eeeef730cf5fb9118929d2aefd60c151086f80aac0ee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Game.update: MethodTooLong \u2014 update runs 132 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/breakout.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61a67142752e7c8250ae86050f1ff84df7d2b587a9241aec018d8d02cbff9a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: invocation/ActionResultsTab.tsx: FileTooLong \u2014 659 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 159 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c33d1b8b04334b38811b970050ef74d9b2128b551f9e44bf46b541ccc490f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/types.rs: FileTooLong \u2014 655 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 155 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebd77df3efc565cf5b1f301c0f731315e0667cb497adc0cd5bae43588ec7977"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AndroidBundleBuilderExecutableMain.run: MethodTooLong \u2014 run runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/bundle/AndroidBundleBuilderExecutableMain.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2952a6b9c84c63c95bc652f9e08f29d62e2dd267bfca67d108a1d1637bf4c4cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InvocationBar.InvocationBar: FunctionTooLong \u2014 InvocationBar runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/InvocationBar.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"691926f786d3d0cbded7756279250486182aa3fd8503cea436329f58be93f94e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: storage/sqlite.rs: FileTooLong \u2014 651 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 151 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pagable_storage/src/storage/sqlite.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"282c4fc3f38b9b252050b68e5a5dcfee0f63ca2206aa6c9a4f856b438163e83d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AttrType: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/attr_type.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb7e0da2067ea9821842a41582afa16144b3280cccc31fdafe05e2c11319b63"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Compiler: TooManyMethods \u2014 39 methods, declared across 8 files: compiler/stmt.rs (9), compiler/types.rs (8), compiler/module.rs (6), compiler/expr.rs (5), \u002B4 more file(s). The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/compiler.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc76b2efffd955fe56d6587f3e61d27d38bef71bc6b53532b47e09b37a5904c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ValueOf: TooManyMethods \u2014 39 methods, declared across 8 files: values/value_of.rs (14), dict/dict_type.rs (9), string/handle.rs (4), list/list_type.rs (3), \u002B4 more file(s). The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/value_of.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe3b69f33af0675a80c600c615aed493bdf9069710616d76f95638dea137d0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nodes/configured.rs: FileTooLong \u2014 650 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 150 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97d0c7e1903a8faea25a23e6cfe689060353131f2154ab73de9bf82d7053b77"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/deferred.rs: FileTooLong \u2014 648 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 148 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_dynamic_actions/src/deferred.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"159d31297bca3831f29e62e7e523265c632e17ad6268b5ff69f8e83c73788709"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Evaluator: ClassTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 62 methods, 3 blocks, lines 136-1130. The bar is 400 significant lines; this is 118 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/runtime/evaluator.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad4e7e40c876f03753151d04c8e4baeac5c7158b470c11f3941a62585fe9751"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: starlark::values::types::set::methods::set_methods: FunctionTooLong \u2014 starlark::values::types::set::methods::set_methods runs 129 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/set/methods.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d43b88b745e88c28261c358db28f1886ba6429b6527151942cc64cad606d27"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::parse::repair_optional_args: FunctionTooLong \u2014 retrace::parse::repair_optional_args runs 129 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/parse.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23eec35c1df130fe0d3e7152bb82a3313dbabc3c472ee400568708f9387d6fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 144 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_lsp_server/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d94e53c67c849210a31db25ed3f5cb184a9578e4011cf2eef7910981247e3d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommandProfile.validate: MethodTooLong \u2014 validate runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/command_profile.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"217d1a1c06297542f182ec297a60db1769d8730023c74efacf0c289fbeea5370"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Value: ClassTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 97 methods, 8 blocks, lines 137-1175. The bar is 400 significant lines; this is 111 over it, 1.28\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/layout/value.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dba25d76de19ba79943dcdcfc532f9673bf4d63449c10dc496935168df9dac0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ValidationStage.validate: MethodTooLong \u2014 validate runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fdbacc6cf9ade3e021341d27955ea358c47661dd6b3405d493892c8ed0a1f9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BuildSignalSender.key_activated: MethodTooLong \u2014 key_activated runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_signals_impl/src/lib.rs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa85c17b90bc667dfa07ca718e5c2c5241ca2e19b057ca9f59db0a4656667dcc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CacheUploader.upload_files_and_directories: MethodTooLong \u2014 upload_files_and_directories runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/caching.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c1711843057e4d541ce912d243337f6a63020355e1d6b241621ac5e9c67006"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ServerCommandContext: ClassTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 6 methods, 5 blocks, lines 243-1652. The bar is 400 significant lines; this is 107 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/ctx.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf27a25c5b5516425dfa6bb47af26c5dd9f57a7fce4c47dea707985d6f2f3350"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Dice: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/dice.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd91ab32feda7b242bed57c3dd8e024cffb79385ff90fc4bf0610f07a0faf67"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BcWriter: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/bc/writer.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c36f8ceb5aaa9185a4ee8879ceaae6a358aa7b73fabca7cc43d0264f08ea9d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_bxl::bxl::starlark_defs::lazy_ctx::lazy_ctx_methods: FunctionTooLong \u2014 buck2_bxl::bxl::starlark_defs::lazy_ctx::lazy_ctx_methods runs 126 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36b7aa351182be5ab2223bc5aac94fbb4be40e4487466bad25da46ad2c96988"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_execute_impl::executors::action_cache::query_action_cache_and_download_result: FunctionTooLong \u2014 buck2_execute_impl::executors::action_cache::query_action_cache_and_download_result runs 126 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/action_cache.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ec5a009036561548858555683ac2a98cd32b84c4d244bf153f959459d9b35c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::starlark-rust::benchmark_memory::src::main: FunctionTooLong \u2014 crate::starlark-rust::benchmark_memory::src::main runs 126 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/benchmark_memory/src/main.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45857755660f1cf1ba121e80fd9988ccf281ea78a7bad0b7b03149dec761303"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: arena/fields.rs: FileTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 128 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/arena/fields.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72668ba3a9a4525d0d292e68ef961c3e2d10e646436683858dd04d514d1ad8d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compiler/def.rs: FileTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 128 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/compiler/def.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14dfd9fdee559f6a13d6f6f048e7b11287219053c7fee2ae617b6f69c1eec73f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: edenfs/interface.rs: FileTooLong \u2014 625 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 88% of them inside a single declaration: EdenFsFileWatcher (3 blocks, 98-860). The bar is 500 significant lines; this is 125 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_file_watcher/src/edenfs/interface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9dc72b12f622e6065216755540a026337623c1082ae8f1815e6e36951580f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: layout/value.rs: FileTooLong \u2014 625 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: Value (8 blocks, 137-1175). The bar is 500 significant lines; this is 125 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/layout/value.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdb53ee53564b5a10b551f2b05ba9b48da41f50a6c189a0509952f69f637a78"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: critical-path.parseEntry: FunctionTooLong \u2014 parseEntry runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/critical-path.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1e9759eba469645625007c39c4d9db68e2750f8d41c7e923d7dbbd279f1d1e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Activity.explain: MethodTooLong \u2014 explain runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/activity.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a5784a981f07ee7663daef41632cdbbd510a5c21aa8d74ab5742f9b07b1ff2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReExecutor.exec_cmd: MethodTooLong \u2014 exec_cmd runs 124 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/re.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"793d3d80c291dc5e8cc5755e080cd9eea231dda3c5dbad7449b24151537b52a9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JarBuilder: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/util/zip/JarBuilder.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fb3159806c8382dcb13fcafc4c95caa1d535a98d796692684f794dd8728dca"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Heap: TooManyMethods \u2014 37 methods, declared across 11 files: heap/unfrozen.rs (19), avalues/str_.rs (5), avalues/list.rs (4), avalues/tuple.rs (2), \u002B7 more file(s). The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/layout/heap/unfrozen.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad48c571e577f282de4ea39530eef941d189ca1ba6a982c1a1eaa1bf70ee50b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: exopackage/AndroidDeviceImpl.kt: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: AndroidDeviceImpl (32-1023). The bar is 500 significant lines; this is 116 over it, 1.23\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/exopackage/AndroidDeviceImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"556c71bd7da38f3a328d44c3e6f94f235e3fab3c18522a0c77dbc8f72155f7bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: transitive_set/transitive_set.rs: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 116 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9b56683adfcf219f0d09e2fabd0c7d89f3914e29f2075af79e18f3a1653fed"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StatefulSuperConsoleImpl: ClassTooLong \u2014 492 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 20 methods, 2 blocks, lines 441-1588. The bar is 400 significant lines; this is 92 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b614b9cac729995993eed2b0f6adc49fa3b46306ab4c8ed0bc3e6fefed9bd8b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExecutionUi: ClassTooLong \u2014 492 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 14 methods, 3 blocks, lines 110-801. The bar is 400 significant lines; this is 92 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/execution_ui.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d2e05d2975b5846c220ca60188c6f241e58d1a4537db669cd0aaeca6b8acdd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Jsr199JavacInvocation: ClassTooLong \u2014 492 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 92 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/Jsr199JavacInvocation.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eff35a2178775636e63d897b0b3b558a89c1c32cd556a413bd6f81bc0478be1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: actions/calculation.rs: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 115 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/calculation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5acbfcf0af8301e0e7b327db24f66d95d96040a9f129750d1ab12713d86fdbd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OutputFormatWithWriter.emit_command: MethodTooLong \u2014 emit_command runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/what_ran.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdd8710a79a078a5b88cacedbfd394f44622651fc87154e2288ab3013986b7c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RageCommand.exec_impl: MethodTooLong \u2014 exec_impl runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_rage_client/src/rage.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3741ef4d4cc99577669e10c3a1418a6e6521f4d44d5833b6c5189f8c611565d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DiskTree: ClassTooLong \u2014 491 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 34 methods, 2 blocks, lines 514-1275. The bar is 400 significant lines; this is 91 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/v2/tree.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b750247716e7624a23f49e7d2548c1fc8842c872dacfd7e640c4b114af31935"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: context/output.rs: FileTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 113 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/output.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a84fcfea88a2436e695d7220184c78399ba23db5b9dbbe13f3909cd9948d14"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/blob_store.rs: FileTooLong \u2014 612 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 112 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/blob_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3221a5974f6fdc71dbe01abaf2e84b9ffb73d4065642b1526813be0c5d8027e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: deferred/io_handler.rs: FileTooLong \u2014 610 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 110 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/io_handler.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d351e181f7edff76bfed5345fdcdfcd8496b6dee50f7bb66dc5edf13b8fd0a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ingest.rs: FileTooLong \u2014 610 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 110 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a19f3cf485cf0857376adc417382c6657ab06ffb68c0a3830fb4f95e257da05"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GenerationContext.\u003Cinit\u003E: MethodTooLong \u2014 \u003Cinit\u003E runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/GenerationContext.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a87ca7abb1fb52a9702cf25fc5e5b4d43b7d5cc3f0dce14edf3f7e3ad74f0de"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_server_commands::install::handle_install_request: FunctionTooLong \u2014 buck2_server_commands::install::handle_install_request runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_commands/src/install.rs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1260ae6b22d8800f75c24203364f832dd9ce463cfd5975985e2e080c230b61a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: analysis/registry.rs: FileTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 107 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/analysis/registry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a410f9a2beda8af896a5cf5a28a18f4f0d0a95b30c583bdd137688f359d4841"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExprCompiled: ClassTooLong \u2014 485 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 41 methods, 3 blocks, lines 238-1082. The bar is 400 significant lines; this is 85 over it, 1.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/compiler/expr.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"75de63d3fee3e4d862a00779e972d806b0b4ad410de4b966da36e68563c76a15"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/anon_targets.rs: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 105 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/anon_targets.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cacb52747d4065f3e95588659f49bd00c0608fe03c53773baecec2bea0015ee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ApkBuilderExecutableMain.run: MethodTooLong \u2014 run runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/apk/ApkBuilderExecutableMain.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9a796a16ea574a9d16bb3ca00f58bc22afb07cee75fce0e69ceef8ec4b660e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_client_ctx::daemon::client::connect::establish_connection_inner: FunctionTooLong \u2014 buck2_client_ctx::daemon::client::connect::establish_connection_inner runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/daemon/client/connect.rs"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afc02059befdd16f83ec012c9b903786dcb174f09ee666630342c351b14a9ce"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Stats.fmt: MethodTooLong \u2014 fmt runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/summary.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"19638f120946551d9299604240bfec3df8a9834f325c5f428bb4f9bb9503c5f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_wrapper_common::kill::stop_and_kill_tree: FunctionTooLong \u2014 buck2_wrapper_common::kill::stop_and_kill_tree runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_wrapper_common/src/kill.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"efac600aafd07113b9539f4607ed548039f8c9085df3274828529af8a3967568"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nodes/unconfigured.rs: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 104 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/nodes/unconfigured.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd080e2fb10919540a745906b909d8d9a090abcfc5c6642469a48e95da896ea9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MorePaths: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/io/file/MorePaths.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c53c532154e15c6c3cd4c7552c5658a4c241e3d4900636bb2c5f3f60714837b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_query_derive::codegen::gen_for_method: FunctionTooLong \u2014 buck2_query_derive::codegen::gen_for_method runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_derive/src/codegen.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"483b7bf092d3da5de049518c4bb4e4eb55f0c00e6aaa21a99bd525fa317e5abd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BuckdServer.run: MethodTooLong \u2014 run runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/server.rs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e865ba4fa832c8c5802d423663e10b3723d073025c71f40a5cd49ec49933d7d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RunInfo: TooManyFields \u2014 36 stored fields. The bar is 30 stored fields; this is 6 over it, 1.20\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/types.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"976779e350a940a4d90713848b31d6625d03e941ad84210bcc3d40647231e883"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: execute/request.rs: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 99 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/execute/request.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b629edac4f50a2c3da04358cccadecc978789a3d3b78f7d567d5a528cac90414"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InlineBodyStage: ClassTooLong \u2014 479 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 79 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebd847afd5a4274e2f56014f1e104b35325f64877ad14fbcb1cd3bf6ecfc3ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/storage.rs: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 98 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/storage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb94d7a04d736f97f319b16b5f02ba011b04ca87dbd432278acc7dee8fbedbc5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: starlark_derive::module::parse::fun::parse_fun: FunctionTooLong \u2014 starlark_derive::module::parse::fun::parse_fun runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/module/parse/fun.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2a541d66d031ca8f90390a75e21cdb681ddb5e1c3fcfb7b0aa030651d47f2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::gui::reported_path::show: FunctionTooLong \u2014 retrace::gui::reported_path::show runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/reported_path.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cc629eb7e035974d05711e3dc2ee1e6df8c71ffcaec1e20969003e292b15e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/command_profile.rs: FileTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 94 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/command_profile.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2507780b0e55acf254dafd21ca32cbf21e3d71ddd82dacb54d6f1938b080bc27"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: heap/arena.rs: FileTooLong \u2014 593 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 93 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/layout/heap/arena.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11883e2aa44e5dfbf5ee815c264e19c90a7ad2ee043c852dd419d164848902d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compile_kotlin/compile_kotlin.py: FileTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 92 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/kotlin/tools/compile_kotlin/compile_kotlin.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1cf366a2a61d7d27334e6f29f599ddb7965823a2efa79771f78cb729b3534c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: starlark_defs/target_list_expr.rs: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 91 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"459416c6aea22df53aaf888409ca0bccd6258b8732fd6ec371b0cb5f33c1f7ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rage.rs: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 91 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_rage_client/src/rage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53e193e9e4c82ce24a58d097c64a7ed3102a632fdd1442dae90ccc0ebd7b336"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PostEnterCanonicalizer.getCanonicalType: MethodTooLong \u2014 getCanonicalType runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/PostEnterCanonicalizer.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"23411b5e691726151915615d1f62d57edbd5cadac5db1acd42fe3bf3f04add25"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BuckdLifecycle.start_server_unix: MethodTooLong \u2014 start_server_unix runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/daemon/client/connect.rs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69bc942788921db0b3ed03cc910af1eaa32ec7960807c1fd7c41e23e1bae59b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InvocationRecorder.handle_event: MethodTooLong \u2014 handle_event runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/recorder.rs"},"region":{"startLine":2599}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0364642df3c3fd3a01995dc0b6a4b6eda333eadae14de736f0ed00f4474f13c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rust_project::buck::to_project_json: FunctionTooLong \u2014 rust_project::buck::to_project_json runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/rust-project/src/buck.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92d627cc5ebe1b240dffdc5767bfe5c67c98a19fa349fc08ee445b80a0bd175"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::parse::parse_chunk: FunctionTooLong \u2014 retrace::parse::parse_chunk runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/parse.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f54e7a3a29fd10c143462f89478d16a140fde06cec2d12066dedcdd3253183"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: syntax/ast.rs: FileTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 85 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/ast.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"144ec26df1f0f144bca0cf99bd6b5a37a848f24154a4b4a8b9cd3366c4a13d09"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: APKModuleGraphExecutableMain.run: MethodTooLong \u2014 run runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/apkmodule/APKModuleGraphExecutableMain.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bbf7e378c3c13cd17d816ddc11da668580255e0aced6cb2ae451897e694fb8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_dynamic_actions::deferred::new_attr_value: FunctionTooLong \u2014 buck2_dynamic_actions::deferred::new_attr_value runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_dynamic_actions/src/deferred.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db0072f225c451921b4eeca4960211d9c80c1671eb79f96f56424a92409f3ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: starlark::stdlib::funcs::other::register_other: FunctionTooLong \u2014 starlark::stdlib::funcs::other::register_other runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/stdlib/funcs/other.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"210ecc6a9ef694abfabecf5cb3881cb0f95fe4e989d5b31179fef56f4a8a8300"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AdbHelper: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/AdbHelper.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff54607023ab8c87b65c0e99c8c71eb3008997679b3bac5e5f0c8112ad739041"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Vec2: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_util/src/vec2.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1db443cc653a73dd3ce0738b063cb78efc8141dea9c01dea9ec3b9fb22d8969"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Backend: TooManyMethods \u2014 35 methods, declared across 2 files: src/server.rs (29), src/completion.rs (6). The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/server.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c9b66c0f40febf0efb92d542a1a78e5ee4eb7a35f0b05bdb3897b731863c62"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KosabiStubgenStepsBuilder.prepareKosabiStubgenIfNeeded: MethodTooLong \u2014 prepareKosabiStubgenIfNeeded runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/KosabiStubgenStepsBuilder.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b21c75825835281fb42b8b324bd54ecad17eef06de78bce2815890519e5bec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AssembledDirAction.execute: MethodTooLong \u2014 execute runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/assembled_dir.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee510ee40d3d468677fed6527519a5f406cde6fb0ec48b9a673214d154722a19"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RunAction.execute_inner: MethodTooLong \u2014 execute_inner runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run.rs"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ae5caef298c5157aa3ee8a85128a15ee4e9b863c66f52e0dc42815676726df"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_bxl::bxl::starlark_defs::context::fs::fs_operations: FunctionTooLong \u2014 buck2_bxl::bxl::starlark_defs::context::fs::fs_operations runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/fs.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e37497284c4e8db35a5048737e291a7f1ffa663876b7316e677f11f7bc04e8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BootstrapBuckdClient.connect: MethodTooLong \u2014 connect runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/daemon/client/connect.rs"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba4a7d926697c3f8e3ef0c46ab13de11d2af96bed146986bdd01a140e6cb60a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_cmd_log_client::snoop::snoop_one: FunctionTooLong \u2014 buck2_cmd_log_client::snoop::snoop_one runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/snoop.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3c3e82a2f62a329480b9b1f9dcefc80661d11a5200a3e15f1db07a4d7ef59a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pagable_derive::typetag::pagable_typetag_impl: FunctionTooLong \u2014 pagable_derive::typetag::pagable_typetag_impl runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pagable_derive/src/typetag.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dfea6e6bacb3063e08a62abe10dcd375e554cbfa238dfa37e829a57faeee34"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Expr.render: MethodTooLong \u2014 render runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/fuzz_starlark.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d5985a1222d47b37e4eae916949a1f754f899801bbba7f6d563deb064b819c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bc/instr_arg.rs: FileTooLong \u2014 579 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 79 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/bc/instr_arg.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e0de340bb620b3599aeebc2c68408f258b227242ee66cdba916fa6d5292822"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: coerced/select.rs: FileTooLong \u2014 575 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 75 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/coerced/select.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba62bf78308299379f4ca1612db40f73464b536f63f2b5f171ad10c156b052a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_configured::nodes::gather_deps: FunctionTooLong \u2014 buck2_configured::nodes::gather_deps runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/nodes.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"59568fbde4f55e555caf14da39b6fd06901b495130f00c3dbe91e7b55de7b79c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StaleFinder.visit: MethodTooLong \u2014 visit runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":1869}}}],"partialFingerprints":{"codehealthFindingId/v1":"2226e6f3644ec800413ddf0098d57d9ac3dd4007ec3ebfc30a7ff6611ece137e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlobalTypesBuilder.from_type_expr_impl: MethodTooLong \u2014 from_type_expr_impl runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/fill_types_for_lint.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fec0eb1765b37554c137f0390ff47f80af3cc71236c64c6e226e73b111b138b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KwargSorter.process_call: MethodTooLong \u2014 process_call runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/autofixes/sort_kwargs.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0504288223df18e3d3aad3d0342faa44f2f27c2a44a3b557724a5aeba156f75d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GlobalTypesBuilder: ClassTooLong \u2014 459 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 34 methods, 2 blocks, lines 118-776. The bar is 400 significant lines; this is 59 over it, 1.15\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/fill_types_for_lint.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f55425ff5ea530885d9982990911f41b8f908a27274c81de3dd08797f8dcdf0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/snapshot.rs: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 79% of them inside a single declaration: SnapshotCollector (2 blocks, 109-770). The bar is 500 significant lines; this is 73 over it, 1.15\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/snapshot.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b9f093f130954582be7bef0ae36592465e038a96c0cef3f9ef8aee34035ff6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TenantStateRegistry: ClassTooLong \u2014 457 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 17 methods, 2 blocks, lines 1131-1823. The bar is 400 significant lines; this is 57 over it, 1.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/state.rs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a82982d97c17616f993e73ffcf1dec7f08606051a44ddf42cb06f5098c10d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: subscribers/simpleconsole.rs: FileTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 77% of them inside a single declaration: SimpleConsole (3 blocks, 190-832). The bar is 500 significant lines; this is 71 over it, 1.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/simpleconsole.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ba93bd1093cb9f3c3f3c1d3c7641a3ab33916122fd54d419d8078c282fba1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_anon_target::starlark_defs::analysis_actions_methods_anon_target: FunctionTooLong \u2014 buck2_anon_target::starlark_defs::analysis_actions_methods_anon_target runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/starlark_defs.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"621f11e9e0586542626173e0239d6b1ae3946768ab6b9c16cb397f5621a6650b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_cmd_audit_server::providers::server_execute_with_dice: FunctionTooLong \u2014 buck2_cmd_audit_server::providers::server_execute_with_dice runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_audit_server/src/providers.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c1d14d80b626ffa634d60e9b53a6c8fae52a3e07965a5705e7da789e06cd81"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_execute::directory::re_tree_to_directory: FunctionTooLong \u2014 buck2_execute::directory::re_tree_to_directory runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/directory.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"10522a7d85db703df72f6f8eddf9394e9a4a45c3cfc76da5362be8b35ce706ef"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TenantState: ClassTooLong \u2014 455 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 2 methods, 2 blocks, lines 192-1083. The bar is 400 significant lines; this is 55 over it, 1.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/state.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa1d9fd7e7cd5ab100e55d0ae9e03aa4ae519ef2c520fdc8852a24c49ecd2bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/directory.rs: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 68 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/directory.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a20c4044c7f39cf613001501bba390718a48bdffc9e3fe83f302f166401f43b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compiler/stmt.rs: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 68 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/compiler/stmt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1c3f2a03b1b5defaa0ef0e2c145dc9a74e7cee01ccd873df32ee8a011584c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parse/fun.rs: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 68 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/module/parse/fun.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"208a5f958b20db31e70dd9da29364bbcb049ae45c108f7c261286bcb8e34cc49"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TreeBackedElements: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/TreeBackedElements.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e554f52bf7b6a58f2d6c9db79591ce3c7b1ec07b18eeb3da185e6f8523ed581b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DiskTree: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/v2/tree.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbad8503a4b9afbf157dce44c5ce0fffd719f701cf991faf39a852f0cd045be7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GlobalTypesBuilder: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/fill_types_for_lint.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"944e324bad473819cea4eee190587b6d85c26d7edd63d18fa064a51abb9cb823"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TypingOracleCtx: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/oracle/ctx.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f04ca811611f4899a752bb72227491874acaf00f232fd8c01f40828673a8f1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ServerCommandContext: TooManyFields \u2014 34 stored fields beside 6 methods. The bar is 30 stored fields; this is 4 over it, 1.13\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/ctx.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcc8cd53db25c3e1077debcfdcfd9f5dfdb923b97b182a170dee467557df8b9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SnapshotCollector: ClassTooLong \u2014 453 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 18 methods, 2 blocks, lines 109-770. The bar is 400 significant lines; this is 53 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/snapshot.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"11744958cd8734f9cbb65187b39847b5fe4c43dd021d2db9821848227a993daa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FilterResourcesExecutableMain.run: MethodTooLong \u2014 run runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/resources/filter/FilterResourcesExecutableMain.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"60929b75cfb6c3df7f2e38abc0f19fb8d2635f3856230a91c5c6a5833b1f4a4c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StatefulSuperConsoleImpl.handle_console_interaction: MethodTooLong \u2014 handle_console_interaction runs 113 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole.rs"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c9c96fcb41573efc2b4749464f6c275147ca130a2b9ead5792b582bd442c65"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_cmd_audit_server::subtargets::server_execute_with_dice: FunctionTooLong \u2014 buck2_cmd_audit_server::subtargets::server_execute_with_dice runs 113 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_audit_server/src/subtargets.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91517f59e89cca6ac37db1579f1d7275ae947269c9e6b4fdbaadd23fe8dce4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DecodeTimeline.DecodeTimeline: FunctionTooLong \u2014 DecodeTimeline runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/DecodeTimeline.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db3ff5a420e61554b948fdea7cca99838c52953cca453a54d2d890ad8697bb1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::gui::compute_analysis_cancellable: FunctionTooLong \u2014 retrace::gui::compute_analysis_cancellable runs 113 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de19c49361a7de9b92689a5c82c7041a81fd53a96a3681cffd40ff019931e45"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: string/methods.rs: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 63 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/string/methods.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52a2b23d8c267fd8275ed00b1df590cd92ec08d6738fe2a4e5bf6b91f584b18"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: autofixes/sort_list_args.rs: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 60 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/autofixes/sort_list_args.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcb7a93a85605c1c2f2a3fc9c2774710548e2776494b0e3957c282d32240140"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PrivateMetadataStripper.transform: MethodTooLong \u2014 transform runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/BytecodeTransformer.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef724cbd4f6f4f319c40732645aef56ae5770bc289363b56de096ec882223c48"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_bxl::bxl::starlark_defs::aquery::aquery_methods: FunctionTooLong \u2014 buck2_bxl::bxl::starlark_defs::aquery::aquery_methods runs 112 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/aquery.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"666003f09fd11f6bbd66b006fbd0d52761ac34f734f4af084bc4695fdb97cbcb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EventLogTable.EventLogTable: FunctionTooLong \u2014 EventLogTable runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/event-log/EventLogTable.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96b4fc1c38e56cdde6b2da075a530206012608ffbe70a4ca8ec413856f4505b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: directory/builder.rs: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 75% of them inside a single declaration: DirectoryBuilder (9 blocks, 75-899). The bar is 500 significant lines; this is 59 over it, 1.12\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_directory/src/directory/builder.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6590d42a2996227d452e9a5ef41cbcde1f56e7a3f075674ebcaa3b9de96cb5e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommandKind.exec_no_daemon: MethodTooLong \u2014 exec_no_daemon runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2/src/lib.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"a945f929064f5beeda3940bd4e32f95862fdb112d9af09aeb64813300b339bff"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GatherPackageListingError.fmt: MethodTooLong \u2014 fmt runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/package_listing/interpreter.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10645f2b2aa48c90f5fa70ba543b976c142437fbcbc416696cf3159467a2558"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CriticalPathEntryDisplay.from_entry: MethodTooLong \u2014 from_entry runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_observer/src/display.rs"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"761e43df78c91955e15855f5f626047e9812a0c8b416c36eadc36e2e97272266"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ResultReporter.collect_result: MethodTooLong \u2014 collect_result runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_commands/src/build/result_report.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd56b33ff0c980952c2e0ff9ac21bc43b527ea99c540dad37cc87bcecc66b4f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: starlark::values::types::string::interpolation::percent: FunctionTooLong \u2014 starlark::values::types::string::interpolation::percent runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/string/interpolation.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1e7164ae825b212bdcc84b0d4ae48fdc9815ffa4c116d8ea699c550e2799ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: typing/fill_types_for_lint.rs: FileTooLong \u2014 553 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 83% of them inside a single declaration: GlobalTypesBuilder (2 blocks, 118-776). The bar is 500 significant lines; this is 53 over it, 1.11\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/fill_types_for_lint.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1fed27332409585be271c6c0cb76bfb72637ac95a77c05082ba7ea775ca3b8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TargetNode: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/nodes/unconfigured.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a6ad69b2daa8d85c197b9ba8c4fdc0c1d1dc5af02b00ef4c6c9ad367fe914c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SimpleConsole: ClassTooLong \u2014 440 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 21 methods, 3 blocks, lines 190-832. The bar is 400 significant lines; this is 40 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/simpleconsole.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daa457d3d10413d61ab2224e1f27c311c3ee5d9901669e712db6b27f74ec896"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pipeline/InlineBodyStage.kt: FileTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: InlineBodyStage (86-787). The bar is 500 significant lines; this is 50 over it, 1.10\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9767478d3fbeacb1385d30919d4ae74f7839e4a61f688db524350222e7178db"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BuckTestOrchestrator.setup_local_resources: MethodTooLong \u2014 setup_local_resources runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/orchestrator.rs"},"region":{"startLine":2112}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f724bba93d2d5ae4577b46f01601ad4d566e97141dfd4b66028a7edfaceacd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::analyses::retry_census: FunctionTooLong \u2014 retrace::analyses::retry_census runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/analyses.rs"},"region":{"startLine":2473}}}],"partialFingerprints":{"codehealthFindingId/v1":"640c6d5a0f8e9e207cd889d925bc6105b9caa3ba3e83ba7ae5df8cd2922b563f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: materialize/materializer.rs: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 48 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/materialize/materializer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fc5c31329cae7194f89d7dc285a51c647a124873e35c0d5f0fe5e7e1b62e4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: attrs/attrs_global.rs: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 48 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/attrs/attrs_global.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c7c49d94b931ee9d9650c306de891f51a433893ef23bbc7ff68c179baf083c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/starlark_value.rs: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 64% of them inside a single declaration: ImplStarlarkValue (3 blocks, 180-822). The bar is 500 significant lines; this is 48 over it, 1.10\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/starlark_value.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a3a5fed148324ce38f9286650e3c57f24dff4127103da0191471e52794a4b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: java/Jsr199JavacInvocation.java: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: Jsr199JavacInvocation (70-750). The bar is 500 significant lines; this is 47 over it, 1.09\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/Jsr199JavacInvocation.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3415545d32b4a84bfbaad51b3ff8011bb63451cee3177b13ee096117bbd89f21"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: interpreter/dice_calculation_delegate.rs: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 69% of them inside a single declaration: DiceCalculationDelegate (2 blocks, 209-764). The bar is 500 significant lines; this is 47 over it, 1.09\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/interpreter/dice_calculation_delegate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5322dd30f26c9e69dc34574a49f353bfb07fb31f2d4cad1a926ba043b5a3359"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/fuzz_starlark.rs: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 47 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/fuzz_starlark.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32a09bb7b8680e205290189ff5784264088508f469a354958ccd5fcca2055cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: targets/fmt.rs: FileTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 46 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_targets_server/src/targets/fmt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57023516a60ed28e61aabc93a1116caf5cc13c0080e57ee23e8ebbc3ac61fa27"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_tenant_proxy::process::run: FunctionTooLong \u2014 buck2_tenant_proxy::process::run runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_tenant_proxy/src/process.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"768f20eec004098f53a54f76b937cede114633bc8dcc78f026f33e5e2cbcae60"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MultiDexExecutableMain: ClassTooLong \u2014 435 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods. The bar is 400 significant lines; this is 35 over it, 1.09\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/dex/MultiDexExecutableMain.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f995e539a8e931478788bf30ad94b7b1cdeb21bd955e6b5be25089cb1249f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: daemon/client.rs: FileTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 43 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/daemon/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"838fc149c26f8990cbff58e79cc8c57503b67de195f63ee42990c01702f07fe9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/events_ctx.rs: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 42 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/events_ctx.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1330a112b0be6ce0a63e59e2264a4298f12a8548a37cf2aa17f5dc4d9cf0543"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ServerState: ClassTooLong \u2014 432 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 15 methods, 3 blocks, lines 268-997. The bar is 400 significant lines; this is 32 over it, 1.08\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_starlark_debug/src/server.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"330a61e93b09a94774a2dc50ad7ea26423e4828c6f2497f714361f10b8b947e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ingest/normalized.rs: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 40 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/normalized.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57eeda520835ee4a0234d69a8df0081d008fa29d014b86f53e34f97f24ed5696"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_action_impl::actions::impls::run::dep_files::match_if_identical_action: FunctionTooLong \u2014 buck2_action_impl::actions::impls::run::dep_files::match_if_identical_action runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run/dep_files.rs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ef9c2685e77b3bc9015ab2a0246c0155c707daa122ee5b2c23e4cfef216163"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_action_impl::context::copy::analysis_actions_methods_copy: FunctionTooLong \u2014 buck2_action_impl::context::copy::analysis_actions_methods_copy runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/context/copy.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f6771580fb1a07ac6076efa06beb2ba1290f8062eab521d426961175a9a55c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FieldsRef.visit_artifacts: MethodTooLong \u2014 visit_artifacts runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/cmd_args/typ.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ad873b0fa37e71915a53da9ccb57da688aee431b73aa750218e6f32c3bff22"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConfiguredTargetsServerCommand.command: MethodTooLong \u2014 command runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_targets_server/src/ctargets.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a34accfb4983c81b3a7f38bd99d6cc36cacf83739712549ead83964635a245a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IrSpanned.write_bc: MethodTooLong \u2014 write_bc runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/bc/compiler/expr.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"38130285425cd33670dace1664e0a1434ee5d1cad48424a6c1aa0e0505b0c388"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: starlark_derive::any_lifetime::derive_provides_static_type_for: FunctionTooLong \u2014 starlark_derive::any_lifetime::derive_provides_static_type_for runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/any_lifetime.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4928932b7421b6fa3e3171faef31ec6e51e5b7224ddb0143890855699e214d3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: interpreter/interpreter_for_dir.rs: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 67% of them inside a single declaration: InterpreterForDir (2 blocks, 152-767). The bar is 500 significant lines; this is 39 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/interpreter/interpreter_for_dir.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0867287041f9a7ff8a50407bdec532024ab9e4e80ce9702610625f00938270ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: simple/functions.rs: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 38 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query/src/query/syntax/simple/functions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1a6925a7a0b63aa4586c725b9a56c41273cfc7dc39838ee2b1bde4a75f111c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: invocation/EventLogProvider.tsx: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: EventLogProvider (215-893). The bar is 500 significant lines; this is 36 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/EventLogProvider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d8b84a86852a2ec75ebaa9a08ace5320ce348e77d0a4931cdadaf542127c78"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/daemon.rs: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 74% of them inside a single declaration: DaemonCommand (3 blocks, 81-896). The bar is 500 significant lines; this is 35 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_daemon/src/daemon.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6965aae65b7d1f4221d8461ebece7ae956b527a42947d1cbab00d03590f818b9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ScribeProducer.send_impl: MethodTooLong \u2014 send_impl runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shed/scribe_client/src/producer.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24ffbe83eae40f89afa15007ab8498c46640c99065130dcb5e600d363a5feb3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutionUi.show: MethodTooLong \u2014 show runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/execution_ui.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cff8ce5eef0e13066c1d58f8923cd56155edddc165eaad21d136ae7942251f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 34 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e249c3e460c45c9b966f480f21fa1f3db240db43b654d1c0495d10990e4b23"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Logger: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/core/util/log/Logger.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"96857b3dcdfeca320a44936a04bd31e8f59f11ca64c239eb41bdf6407ec303c7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NonAbiDeclarationsStrippingIrVisitor: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4373386579876257e408eb2317a38bd324f4755fca1a8cc271e7dd1248f594e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NonAbiDeclarationsStrippingIrVisitor: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"9639f59c8028e0cd907335e2693a0cf1fdb7bd55672a403c3863d04a2d1f1c61"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Cgroup: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_resource_control/src/cgroup.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7b7fb29142f6f2c91a57e9b2d866b5f8a6f0df2fc6df912c579d182cf1821a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CoreStateHandle: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/core/state.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"78129e168a801738b6e5d0cdecd8d04e06a3d87361156be83f83aa4d1fff0b65"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Ready: TooManyMethods \u2014 32 methods, declared across 2 files: src/gui.rs (30), gui/cascade.rs (2). The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1bd378c0e6e6e8c2cfce4bb981bda8d0c47854d9e5e71db2593899865890fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: uquery/environment.rs: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 33 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/uquery/environment.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6edfef2cfa8b9b0b1684ec39047a80d49327f5cdf0911debfee6e31531cc16"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/starlark_pagable.rs: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 33 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/starlark_pagable.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20a07c869b961f2ef04755f87a142ec252f1d66bd88070366e062d63eb5970d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Buck2OssReConfiguration.from_legacy_config: MethodTooLong \u2014 from_legacy_config runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_re_configuration/src/lib.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97302b190837b117a667419f29667cc2adf105e26012ce04b63407d6f041359"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ServerCommandContext.new: MethodTooLong \u2014 new runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/ctx.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1dd6914263559ef4f003318abb820fdd905cfd0099a10cad6b8aef9c1a8162"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::dag::build_full_with_cancel: FunctionTooLong \u2014 retrace::dag::build_full_with_cancel runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/dag.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd4a3f060301cd0b18b87677f253bed13a8300618f62a48a8b8657fcd8ffe21"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: starlark_fmt_lib::lib::autofixes::sort_loads::collect_edits: FunctionTooLong \u2014 starlark_fmt_lib::lib::autofixes::sort_loads::collect_edits runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/autofixes/sort_loads.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0c9f4f259fc8fb02513c7da49fb8d2044721227828c3d4e071aaaf0af6645e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DirectoryBuilder: ClassTooLong \u2014 421 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 22 methods, 9 blocks, lines 75-899. The bar is 400 significant lines; this is 21 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_directory/src/directory/builder.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ead599a0cf76390347cec7f33f1ee57c5ac26cf5eeba6674988e25373c3d81"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Cleaner: ClassTooLong \u2014 421 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 13 methods, 2 blocks, lines 113-696. The bar is 400 significant lines; this is 21 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/v2/clean_stale.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80bdc0f39c3cb547d07241d712d2110bb447e45ba14febe0469373161fa23ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_execute_impl::materializers::v2::core::download_task: FunctionTooLong \u2014 buck2_execute_impl::materializers::v2::core::download_task runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/v2/core.rs"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31e26c2743b57c6f76fdb2836e3d8761c4bafae8bf316f24812cd749bcb3202"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::detail::cache_diagnostic_lines: FunctionTooLong \u2014 retrace::detail::cache_diagnostic_lines runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/detail.rs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27da217007b3acb739be0bc9e48e0172ff90ddcf65bac0e9ae2551bbe5dd2bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rule_defs/command_executor_config.rs: FileTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 22 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/command_executor_config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5caea7966b39fbbd127d2186bd161f94c9f5cc521154b747ffeae451089ca96"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: epoch/ctx.rs: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/epoch/ctx.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea7cb70ed541e8b9c2e352784c0b0142ecd6c96d83a97a2a24ffaa10501cb70"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StarlarkRuleCallable.new: MethodTooLong \u2014 new runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/rule.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23fe426187f77621a24ad2b269000a63ac6032cac013bd257a0556340283586"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AstModule.typecheck: MethodTooLong \u2014 typecheck runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/typecheck.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51d445caa1a60602fee287704b51bcd9c061acd80edbc9fd0dded916b6295d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/cas_digest.rs: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 19 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/cas_digest.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17284f0a83949e3282df25bbcf24c92113ba95016c88f3d701025ea155301a5a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: CommandExecutionRequest: TooManyFields \u2014 31 stored fields beside 66 methods. The bar is 30 stored fields; this is 1 over it, 1.03\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/execute/request.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"9110166dc10e5db9ce97ceb5cf83ffd171632535bbad5464030851f1411d0908"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MiniFixedInsertionMap: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shed/mini_map/src/fixed_insertion_map.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2752c0fbb29a2714d8c8c25ebd2b23c8829174aecd253c24a63724e9378ba903"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Arena: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/layout/heap/arena.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae49b0ee7fd14fc53ea1b1b3a3621ae9c0e95714bb9c06b392e1af43fce04427"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/visibility.rs: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 15 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/visibility.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d20b914f05e0a187ae9c080e07419a82a7b77d8a76344cf4842da792205a22"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommandExecutionKind.to_proto: MethodTooLong \u2014 to_proto runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/execute/kind.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"716adf317b5227cc03c55d475b5bd85c0115be63271244b3f51e5c1792b60f5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_execute_impl::executors::worker::spawn_worker: FunctionTooLong \u2014 buck2_execute_impl::executors::worker::spawn_worker runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/worker.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf93fede736a771c7ce8a561d8dff7447a98d5c29049c153b159c28621797c2e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BuckTestOrchestrator.execute2: MethodTooLong \u2014 execute2 runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/orchestrator.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ce32c2fd1d3049fdfd555a9b9f6aa144b115e532195a46ea9506df66dc0b59"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StateProcessor.iteration: MethodTooLong \u2014 iteration runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/core/processor.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f485046f3bee865bf484248a484e8edc60f760f28a23786376b0b4b89bc4eb10"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/provider.rs: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 77% of them inside a single declaration: ProviderCodegen (2 blocks, 144-759). The bar is 500 significant lines; this is 14 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api_derive/src/provider.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefdb6096b99986989696e563734569d8364f183a8a85f36ccbb5ef284d0cba0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CliArgType: ClassTooLong \u2014 411 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 18 methods, 4 blocks, lines 332-901. The bar is 400 significant lines; this is 11 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bddd231709bddd6194d0a477360134ba8308cbc1eb6d748b3731bc6be87ed4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: D8ExecutableMain: ClassTooLong \u2014 411 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 11 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/dex/D8ExecutableMain.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"40738e4d1cf12089c55dff3c5d97d8e72d66c099d63ce56e4ac81e0c1ff7e181"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EventLogProvider: ClassTooLong \u2014 411 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 11 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/EventLogProvider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c268ab36678b4f2ea24df3282e996f9f888f54ca8061b74eab26fb6cddbbed44"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MiniAapt: ClassTooLong \u2014 409 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 9 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/aapt/MiniAapt.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fc4384fc0ea10bdf932790e3f380d5588f232c14d0b9eb5a630c822d82f6be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: 2.4.21/IrNonAbiStripper.kt: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: NonAbiDeclarationsStrippingIrVisitor (265-1013). The bar is 500 significant lines; this is 11 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d4a1ee1e952f0223dc7ffe911359ca637d7bb90a54dd5a04dabfc25b456892"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CacheUploader: ClassTooLong \u2014 408 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 5 methods, 3 blocks, lines 71-676. The bar is 400 significant lines; this is 8 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/caching.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c8a7fa5ef58aaa53ec34d4a4494be10ef07e22c16e52efbc810ec4874f572e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: games/sokoban.rs: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 10 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/sokoban.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4dd97d568d8125270629a10b19321ecde9b53c0ca555f1a80f579c118fa0b79"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InterfaceScanner.findReferences: MethodTooLong \u2014 findReferences runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/InterfaceScanner.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f6c8f8f9901c5effffbe24cd64de78d968186a113143e03e2f846c118b8a6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_client_ctx::subscribers::superconsole::io::do_render: FunctionTooLong \u2014 buck2_client_ctx::subscribers::superconsole::io::do_render runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole/io.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29c196560e597eaa5ac483ba2c95a2db4f41b0d7c4e939f96deac5f4151b093"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dispatch-worker.handleMessage: FunctionTooLong \u2014 handleMessage runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/parallel-decode/dispatch-worker.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"30af4be847eb2bbecb0d74bc12d047e30ee605e509cb5df3a553e347bd5ce39c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DiceExecutionOrder.execute_once: MethodTooLong \u2014 execute_once runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/fuzzy_dice/src/execution.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"789e408c477078f5cdb66ec97fe0d6e5bd4b8bec18a50aa14aa06ccd24e6fc86"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: toolchain/app_src_builder.erl: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 38 functions. The bar is 500 significant lines; this is 9 over it, 1.02\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/erlang/toolchain/app_src_builder.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9306557fc61ed7be85001fd2ba1f316a4824ad7f554b58fa7664c7360c24ceeb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/graph.rs: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 61% of them inside a single declaration: VersionedGraph (2 blocks, 309-845). The bar is 500 significant lines; this is 5 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/core/graph.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bbacad894a2b30785eaebe198173a83c5acc992c340555bd37149f7781d6a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_bxl::bxl::starlark_defs::context::anon_target::eval_bxl_for_anon_target_inner: FunctionTooLong \u2014 buck2_bxl::bxl::starlark_defs::context::anon_target::eval_bxl_for_anon_target_inner runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/anon_target.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"3482774d82a3ead31e7269feb1ccdc7b5d7d2a4e02f5b6f3b0489854c33dc87a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_cmd_targets_server::targets::streaming::targets_streaming: FunctionTooLong \u2014 buck2_cmd_targets_server::targets::streaming::targets_streaming runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_targets_server/src/targets/streaming.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e66fdd98495f334f4fb8a6b767460713bce3f23d0044dcefb1bf6c8ffcf6c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buck2_test::command::test_target: FunctionTooLong \u2014 buck2_test::command::test_target runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/command.rs"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f86d01d3d501f8de9fdb47647a8bae6b4c601b9d7ac4838de0a1a837b6fd05"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::export::stats_text: FunctionTooLong \u2014 retrace::export::stats_text runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/export.rs"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"db80d371c2e203bfed7f852592370f0bceac523d6b96c022a6cd4557cd6967d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrace::gui::detail_ui::build_detail: FunctionTooLong \u2014 retrace::gui::detail_ui::build_detail runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":2534}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e67f4dd8d42fd6da35bbe8cc3d7b90fb56ae10f3a60b3fbbd64caebee897683"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: 2.3.0/IrNonAbiStripper.kt: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: NonAbiDeclarationsStrippingIrVisitor (261-1004). The bar is 500 significant lines; this is 3 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d671a9275b8584d1faffae543d7c38f8ad01d23056ef5fa9a767e8e3bc0cf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (235 shared lines): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:130-693 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:118-648 \u2014 These two members are variants of one another: 235 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":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d1ad2c250177d8025967878ff94dfcb98802a676d020d630d1af64afa2aafa"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (57 shared lines): prelude/cxx/dist_lto/tools/dist_lto_prepare_darwin.py:67-150 | prelude/cxx/dist_lto/tools/dist_lto_prepare_gnu.py:76-164 \u2014 These two members are variants of one another: 57 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":"prelude/cxx/dist_lto/tools/dist_lto_prepare_darwin.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73daca51c55daa7f19f78ffefe82bea6ecd9829cdecffca0966e57ddf46e00f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): starlark-rust/starlark_syntax/src/lexer.rs:346-458 | starlark-rust/starlark_syntax/src/lexer.rs:519-623 \u2014 These two members are variants of one another: 39 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73e4fa801086e31aec7eecbabff9c9a4e57724fe82001563fcdc5a68dcc4424"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (25 shared lines): app/buck2_interpreter/src/types/configured_providers_label.rs:122-228 | app/buck2_interpreter/src/types/configured_providers_label.rs:292-361 \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":"app/buck2_interpreter/src/types/configured_providers_label.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"3989a11aae3f8d015aa4f75ff7d0974a3848ef568e270592a3a810199fd27b99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (89 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:570-658 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:607-695 \u2014 These two members are one piece of code written twice and then edited apart: 89 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"c645f474abed52a4e747edf21e7d535349238199103901b6076004f4b8196cce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:165-212 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:168-215 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3345be36b8e1fe564cec4a79fc1705b4668464b7f000fd81e9ae027e67605c16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/cd/workertool/MainUtils.java:28-57 | prelude/toolchains/android/src/com/facebook/buck/jvm/cd/workertool/grpc/WorkerGrpcServer.java:137-165 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/cd/workertool/MainUtils.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc3532c9dedfa7e86f6016481e9a5d5db06a33c8ccd7d0180a54dd618afd8ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (20 members, 50\u002B identical tokens): prelude/toolchains/android/src/com/facebook/buck/android/AndroidManifestReaderExecutableMain.java:38-50 | prelude/toolchains/android/src/com/facebook/buck/android/aapt/MergeAndroidResourceSourcesExecutableMain.java:35-48 | prelude/toolchains/android/src/com/facebook/buck/android/aapt/MiniAaptExecutableMain.java:46-58 | prelude/toolchains/android/src/com/facebook/buck/android/aar/AarBuilderExecutableMain.java:59-71 | prelude/toolchains/android/src/com/facebook/buck/android/apk/ApkBuilderExecutableMain.java:117-129 | prelude/toolchains/android/src/com/facebook/buck/android/apkmodule/APKModuleGraphExecutableMain.java:82-94 | prelude/toolchains/android/src/com/facebook/buck/android/build_config/GenerateBuildConfigExecutableMain.java:47-59 | prelude/toolchains/android/src/com/facebook/buck/android/buildinfo/BuildInfoGeneratorExecutableMain.java:37-49 | prelude/toolchains/android/src/com/facebook/buck/android/bundle/AndroidBundleApksBuilderExecutableMain.java:97-112 | prelude/toolchains/android/src/com/facebook/buck/android/bundle/AndroidBundleBuilderExecutableMain.java:82-94 | prelude/toolchains/android/src/com/facebook/buck/android/dex/D8ExecutableMain.java:216-228 | prelude/toolchains/android/src/com/facebook/buck/android/dex/JarSplitterExecutableMain.java:62-74 | prelude/toolchains/android/src/com/facebook/buck/android/dex/MultiDexExecutableMain.java:120-132 | prelude/toolchains/android/src/com/facebook/buck/android/dex/SecondaryDexCompressionExecutableMain.java:71-83 | prelude/toolchains/android/src/com/facebook/buck/android/resources/ExoResourcesRewriterExecutableMain.java:45-57 | prelude/toolchains/android/src/com/facebook/buck/android/resources/MergeAndroidResourcesExecutableMain.java:75-87 | prelude/toolchains/android/src/com/facebook/buck/android/resources/MergeAssetsExecutableMain.java:77-89 | prelude/toolchains/android/src/com/facebook/buck/android/resources/filter/FilterResourcesExecutableMain.java:87-99 | prelude/toolchains/android/src/com/facebook/buck/android/resources/strings/CopyStringResourcesExecutableMain.java:36-48 | prelude/toolchains/android/src/com/facebook/buck/android/resources/strings/PackageStringsAsAssetsExecutableMain.java:63-75 \u2014 These 20 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 20 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 20 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/AndroidManifestReaderExecutableMain.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e441431f516eae343c641cfc5c0375eaf7e61eabd2eeba7317990c8e179285"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): app/buck2_build_api/src/artifact_groups/calculation.rs:270-369 | app/buck2_cfg_constructor/src/calculation.rs:108-208 | app/buck2_configured/src/configuration.rs:357-398 | app/buck2_configured/src/nodes.rs:1748-1817 | app/buck2_configured/src/nodes.rs:1822-1893 | app/buck2_configured/src/target_platform_resolution.rs:48-108 | app/buck2_interpreter/src/allow_relative_paths.rs:59-150 | app/buck2_interpreter/src/import_paths.rs:106-158 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/artifact_groups/calculation.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"43aafef280a5c813dd50ce8913bf0fd9f8abc29197b803e517060e47e0944a04"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): tools/retrace/src/ingest/testlog.rs:324-625 | tools/retrace/src/ingest/testlog.rs:1433-1537 | tools/retrace/src/ingest/testlog.rs:1544-1645 | tools/retrace/src/ingest/testlog.rs:1654-1761 | tools/retrace/src/ingest/testlog.rs:1767-1812 | tools/retrace/src/ingest/testlog.rs:1817-2060 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/testlog.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"732a12522e0e9e1d9adb4d296923b6b3c48e315fb72580d26011b502046297a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): app/buck2_bxl/src/bxl/starlark_defs/context/methods.rs:91-862 | app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs:348-404 | app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs:493-528 | app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs:592-630 | app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs:765-798 \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":"app/buck2_bxl/src/bxl/starlark_defs/context/methods.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ea8ef20ca7be458d67a9806ad8bc5176b89297db4163c6ffbae61a89873317"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): prelude/toolchains/conan/conan_generate.py:50-158 | prelude/toolchains/conan/conan_init.py:28-54 | prelude/toolchains/conan/conan_lock.py:30-101 | prelude/toolchains/conan/conan_package.py:85-239 | prelude/toolchains/conan/conan_update.py:52-115 \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":"prelude/toolchains/conan/conan_generate.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70c31312c9787a9fd6e893aebc6dbd058c27456aaaae6f50f0cc3910f8ef634"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): app/buck2_file_watcher/src/edenfs/interface.rs:841-859 | app/buck2_file_watcher/src/fs_hash_crawler.rs:93-111 | app/buck2_file_watcher/src/notify.rs:300-318 | app/buck2_file_watcher/src/watchman/interface.rs:422-440 \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":"app/buck2_file_watcher/src/edenfs/interface.rs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"004d690f060fdc0fc3061131ea66c5e96404c7b6c691db47f9d84145b0116699"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): tools/retrace/src/ingest/testlog.rs:868-929 | tools/retrace/src/ingest/testlog.rs:1433-1537 | tools/retrace/src/ingest/testlog.rs:1544-1645 | tools/retrace/src/ingest/testlog.rs:1654-1761 \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":"tools/retrace/src/ingest/testlog.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1e1a3d88720f8934a7302b85b5af95eb99a86f90fb7fabb0512d408bb7053d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): starlark-rust/starlark_syntax/src/syntax/uniplate.rs:383-454 | starlark-rust/starlark_syntax/src/syntax/uniplate.rs:483-554 \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":"starlark-rust/starlark_syntax/src/syntax/uniplate.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff21a0350bf533e66085933167a38e396c40bbcf71e800150d24c581f8fd6d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): app/buck2_interpreter/src/types/target_label.rs:118-189 | app/buck2_interpreter/src/types/target_label.rs:254-349 \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":"app/buck2_interpreter/src/types/target_label.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8221e4a4a1704b22ed6268df25a48e6503a0a17d87476378797db62f37e2841c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): starlark-rust/starlark_syntax/src/syntax/uniplate.rs:104-142 | starlark-rust/starlark_syntax/src/syntax/uniplate.rs:144-197 \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":"starlark-rust/starlark_syntax/src/syntax/uniplate.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2069e1e5c2f9264081281aa3dfae383e2839b46ccc887187254e155b198493"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): shed/mini_map/src/fixed_insertion_map.rs:571-612 | shed/mini_map/src/mut_insertion_map.rs:1250-1289 \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":"shed/mini_map/src/fixed_insertion_map.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad323cec57bab2fb8f96df9b6dde5bddba8217c4dba3412c19ba1ffb3d08b983"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): app/buck2_bxl/src/bxl/starlark_defs/artifacts.rs:299-361 | app/buck2_bxl/src/bxl/starlark_defs/artifacts.rs:369-431 \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":"app/buck2_bxl/src/bxl/starlark_defs/artifacts.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e85b2111c2edf12d14935163197171b2c6b578184fa38b02376780801d0944f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): app/buck2_cmd_audit_server/src/includes.rs:69-156 | app/buck2_query_impls/src/uquery/environment.rs:737-808 \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":"app/buck2_cmd_audit_server/src/includes.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a60fdc89c7fdde60af7d1b884b96952bc7fe2ccf4c2355ebbfb0bf6ebb9fe7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): tools/retrace/src/gui/detail_ui.rs:1195-1235 | tools/retrace/src/gui/detail_ui.rs:1239-1275 \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":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24102856c8ca4cdaf0f40aa0bcc8ed381486697f48ede06e6b7b295b7567657"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): app/buck2_server/src/version_control_revision.rs:163-220 | app/buck2_server/src/version_control_revision.rs:260-323 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/version_control_revision.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"226a3ce353b8029047e3761e7155c41f609e5a8f1e6079cd9c6b4aa867b7cc43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:768-822 | starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:1415-1453 \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":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"49987755e9948c39887426bd13a077883ff0391d724cbd9e1a5531cb52c2cb59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:1210-1250 | starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:1269-1306 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac40517629657ae718eacf5599beeda7065b7010e3d68a4a57bb0a078dd5a52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): app/buck2_anon_target/src/anon_target_attr_coerce.rs:315-356 | app/buck2_interpreter_for_build/src/attrs/coerce/attr_type/any.rs:36-71 \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":"app/buck2_anon_target/src/anon_target_attr_coerce.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f2e1395d0ce00fa2179c18a7be884be915b9a6cf63bd9b2abb6b4592ce0e47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:786-840 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:795-849 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f40c9262844c7789909a5822bb0b58d6b85e90e2de14e05c760f59db824ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/util/zip/AppendableCentralDirectory.java:70-126 | prelude/toolchains/android/src/com/facebook/buck/util/zip/CentralDirectoryReader.java:92-139 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/util/zip/AppendableCentralDirectory.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab81d8db83c7d5b3233ebd5023c7458bf483eecd63e4f5d49d5738eab201111"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): app/buck2_forkserver/src/launch.rs:31-91 | app/buck2_test/src/unix/executor.rs:31-106 \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":"app/buck2_forkserver/src/launch.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e49b3c85754b9e1e06717c62d5b5ea31f4ec658f86e1b53460a7406ebad3835"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): starlark-rust/starlark_derive/src/module/parse/fun.rs:103-164 | starlark-rust/starlark_derive/src/module/parse/fun.rs:195-242 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/module/parse/fun.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b75f0d3fbe6f231e94151f21cc4a4ac4f5eb2f97aec1a66fc14486e8e1e5bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): pagable_storage/src/storage/sled.rs:200-237 | pagable_storage/src/storage/sqlite.rs:852-889 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pagable_storage/src/storage/sled.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b7a338da3750dd7009c7a31cd641986f1e14662ac39832bcf4a28743af10af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): app/buck2_anon_target/src/anon_target_attr.rs:170-203 | app/buck2_anon_target/src/anon_target_attr.rs:208-243 \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":"app/buck2_anon_target/src/anon_target_attr.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c71a0ed2a5a89f23608148c94d18d4b15009db8a96cd043f57ff69c468bc7d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): app/buck2_common/src/file_ops/dice.rs:205-246 | app/buck2_common/src/file_ops/io.rs:157-192 \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":"app/buck2_common/src/file_ops/dice.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a16f4970d53e28cf1bc31c52a9bb6b5adf2715009067b052b6b5a897bda489d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/android/resources/strings/StringResources.java:195-231 | prelude/toolchains/android/src/com/facebook/buck/android/resources/strings/StringResources.java:243-278 \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":"prelude/toolchains/android/src/com/facebook/buck/android/resources/strings/StringResources.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0276ed5c8708527daeff18f6c74cf428bf97e0ca67366aba7b82fa095b8540"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:1050-1082 | starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:1084-1124 \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":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c6d3d76037676891628ca75fdd73170bed07b5781fb0c32cf5336ad261dbd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app/buck2_query_impls/src/analysis/environment.rs:137-178 | app/buck2_query_impls/src/aquery/functions.rs:30-66 \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":"app/buck2_query_impls/src/analysis/environment.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddb9630a03d70c1bb6cc234a3c8179d23d9b4661bd9bf898101bc5ca2e5d458"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:951-995 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:960-1004 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0b855ffec02e0b5eafa9fe55ffec5b1d119788cf9f9433484a1896366fc854"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/android/resources/strings/CompileStrings.java:325-361 | prelude/toolchains/android/src/com/facebook/buck/android/resources/strings/CompileStrings.java:366-399 \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":"prelude/toolchains/android/src/com/facebook/buck/android/resources/strings/CompileStrings.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"33694da1b970963cc948cc7c537c73ba39d883621f3ace6ae875f992712bd2bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): app/buck2_action_impl/src/actions/impls/write_hmap.rs:223-264 | app/buck2_action_impl/src/actions/impls/write_json.rs:225-281 \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":"app/buck2_action_impl/src/actions/impls/write_hmap.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edf92f1d533890e18297b803a6913afdd55e03ce9afb2e9f851327a524024d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:853-883 | starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:1385-1412 \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":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c57538bfe19274878903c045d1a49f936d2066ae9afaa9ef57c4d9297b00a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): app/buck2_trailcam/src/invocation.rs:184-212 | tools/retrace/src/ingest/profile.rs:839-867 \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":"app/buck2_trailcam/src/invocation.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a80e2b8b4f369dcbfc2fdd5ba9c0c4297b31b2e5920b81636db858ea9ab40e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): app/buck2_build_api/src/actions/calculation.rs:789-827 | app/buck2_execute/src/execute/result.rs:424-466 \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":"app/buck2_build_api/src/actions/calculation.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f92d73bf86cf88b33d0022c82b9acc1780294ab030a3aa2d04c953347938df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): starlark-rust/starlark/src/values/types/list/globals.rs:91-131 | starlark-rust/starlark/src/values/types/tuple/globals.rs:33-66 \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":"starlark-rust/starlark/src/values/types/list/globals.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"caff36f099760273716a8c447d8032c1a014ec056b1b0046c8120ab817907829"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): app/buck2_file_watcher/src/edenfs/interface.rs:571-621 | app/buck2_file_watcher/src/edenfs/interface.rs:630-680 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_file_watcher/src/edenfs/interface.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83e683a547a6d2251291d9c20adc3d9ccaea9f0c4d5a8c21afa978640e37b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): starlark-rust/starlark_syntax/src/error.rs:369-384 | starlark-rust/starlark_syntax/src/error.rs:388-403 \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":"starlark-rust/starlark_syntax/src/error.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb7fbf91b17f22f01b27fb88ad979b000e642831217950dd51ab006c332786d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): app/buck2_query/src/query/environment.rs:310-344 | app/buck2_query/src/query/environment.rs:349-386 \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":"app/buck2_query/src/query/environment.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9feb884707bd99beee46f1298ea0ea851c89b7dc50e6d21a6e6c975a69b65b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app/buck2_node/src/attrs/attr_type/arg.rs:301-349 | app/buck2_node/src/attrs/attr_type/arg.rs:431-467 \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":"app/buck2_node/src/attrs/attr_type/arg.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4310acb302767ffe0d7959437dbcd4459b431f68609d43ab84bc6b70cb711e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): starlark-rust/starlark/src/typing/fill_types_for_lint.rs:426-452 | starlark-rust/starlark/src/typing/fill_types_for_lint.rs:499-523 \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":"starlark-rust/starlark/src/typing/fill_types_for_lint.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d37a1856af2bd9b669339796345ec49d01373e918dc446886571b8b596724b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (79 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:842-920 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:851-929 \u2014 These two members are one piece of code written twice and then edited apart: 79 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57d9bfd075991c2c5cc6d4bdf7c0f07dbd539d7ce2f8c39a6c9f6737bcfa932"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): pagable_derive/src/derive_pagable_panic.rs:27-64 | pagable_derive/src/derive_pagable_unsupported.rs:29-60 \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":"pagable_derive/src/derive_pagable_panic.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19a540c0b5eb82fd7e7dfda4dab94729c136a9d439b92f550ca56b68eeff3f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): shed/mini_map/src/fixed_insertion_map.rs:505-532 | shed/mini_map/src/mut_insertion_map.rs:956-991 \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":"shed/mini_map/src/fixed_insertion_map.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e590f2e0d065e154005e889c8eab82dc2941bb131a4348a01ecbcd5e5b0e573"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/testrunner/CrashAnalyzer.java:185-213 | prelude/toolchains/android/src/com/facebook/buck/testrunner/CrashAnalyzer.java:221-259 \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":"prelude/toolchains/android/src/com/facebook/buck/testrunner/CrashAnalyzer.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d08fc8701db7eef0f7a25039e58a36c7104ed99f5e6b97d9b608e4d5daf18b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_args_projection.rs:296-324 | app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_json_projection.rs:129-157 \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":"app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_args_projection.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"054dfd7fd797fa55d37b738286ecb1b1d33ee746068718f870cdd84f984b6590"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): starlark-rust/starlark_derive/src/starlark_pagable.rs:440-469 | starlark-rust/starlark_derive/src/starlark_pagable.rs:516-544 \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":"starlark-rust/starlark_derive/src/starlark_pagable.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13fe7bb4578974ee8ee51eb58bacab50716e058c747409f55dec8221e325e18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/buck2_execute_impl/src/materializers/deferred/data_tree.rs:502-525 | app/buck2_execute_impl/src/materializers/deferred/data_tree.rs:542-565 \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":"app/buck2_execute_impl/src/materializers/deferred/data_tree.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"57117048ffb5dadd465052b458d164bf1adfef36d1be00e8b0e3bca9beeb3c5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): starlark-rust/starlark/src/stdlib/extra.rs:37-71 | starlark-rust/starlark/src/stdlib/extra.rs:74-95 \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":"starlark-rust/starlark/src/stdlib/extra.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c08ecbb991afa6657bb14c45a17cd835d49b85de0db84a30b1083b803c1bfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): starlark-rust/starlark_derive/src/starlark_pagable_panic.rs:39-72 | starlark-rust/starlark_derive/src/starlark_pagable_via_pagable.rs:38-64 \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":"starlark-rust/starlark_derive/src/starlark_pagable_panic.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d276901eff0dec8c442d681c910496cfbb07c70502a05bae38a963f4be23b2be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): app/buck2_cmd_query_server/src/query/aquery.rs:99-147 | app/buck2_cmd_query_server/src/query/uquery.rs:125-181 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_query_server/src/query/aquery.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"333e23800044fb89a730eb455fbe63681f7f629da2f5e1f9829d41c6cea517fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): app/buck2_cmd_rage_client/src/source_control.rs:42-78 | app/buck2_cmd_rage_client/src/source_control.rs:80-108 \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":"app/buck2_cmd_rage_client/src/source_control.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f662d802d49316c510e02f8ba7c936a5896e6f5a5e5f4f0eb13dd42989b2a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): shed/mini_map/src/mut_insertion_map.rs:1379-1412 | shed/mini_map/src/mut_insertion_set.rs:676-708 \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":"shed/mini_map/src/mut_insertion_map.rs"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a181edccb7ee3ed2a08044679cab9bcbd4285aaefa330eeb0cb214ccd73df42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): remote_execution/oss/re_grpc/src/client.rs:1203-1247 | remote_execution/oss/re_grpc/src/client.rs:1280-1325 \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":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"109f7a4b1aee63c7648097dcdde2b8f74bd4bfdb8fe10cd13de49021a205e172"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/buck2_directory/src/directory/builder.rs:202-226 | app/buck2_directory/src/directory/builder.rs:240-265 \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":"app/buck2_directory/src/directory/builder.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"0241ed7c581dcd0ed53fad06ead79f8be4a7a4248fef2734892b3fdc2d4130aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/buck2_dynamic_actions/src/attrs.rs:267-283 | app/buck2_dynamic_actions/src/attrs.rs:286-302 \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":"app/buck2_dynamic_actions/src/attrs.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0d3d3f10565f4acc8e33c763680e99c2e20a8a8676a9843c5365a0c2928871"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/buck2_interpreter_for_build/src/interpreter/dice_calculation_delegate.rs:319-343 | app/buck2_interpreter_for_build/src/interpreter/dice_calculation_delegate.rs:348-373 \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":"app/buck2_interpreter_for_build/src/interpreter/dice_calculation_delegate.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d0c22e72bc7fd0a72f6847538aaee6949ccb4b1f852d0a38bf9587b22c3c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/buck2_anon_target/src/anon_target_attr_coerce.rs:417-447 | app/buck2_interpreter_for_build/src/attrs/coerce/attr_type/tuple.rs:40-63 \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":"app/buck2_anon_target/src/anon_target_attr_coerce.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b7552e302a07113e3fcdf64944ab2e573608965b5c89bab75042763003d366"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): app/buck2_node/src/attrs/attr_type/arg/parser.rs:196-239 | app/buck2_node/src/attrs/attr_type/arg/parser.rs:242-272 \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":"app/buck2_node/src/attrs/attr_type/arg/parser.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08c1a455b901d47cd78351b0c888ba9d555893821784556ffb52babd4bb8b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): app/buck2_execute_impl/src/executors/action_cache.rs:255-291 | app/buck2_execute_impl/src/executors/action_cache.rs:315-360 \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":"app/buck2_execute_impl/src/executors/action_cache.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea7832066a2c4da5634861b279de834163551fd173c39a45f48c7fb24a8a206"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java:312-354 | prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitSupport.java:177-217 \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":"prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b1d7ea4df8fee38d81b256aa7cfb6981a2a53c7866ffe5cc19d95cb333e346"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 45\u002B corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:64-108 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:67-111 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:71-115 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 45 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bd4d2dbd6223bc84d3ab5b93ef2c2c50f05705e74bbb71acb90c2e51b0cdd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): starlark-rust/starlark/src/eval/runtime/profile/bc.rs:163-189 | starlark-rust/starlark/src/eval/runtime/profile/bc.rs:211-231 \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":"starlark-rust/starlark/src/eval/runtime/profile/bc.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4991e27b9b41244a6b3887e93eec4b006e3f2929fd1f43a2ed4e6099fb3d7f69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): allocative/allocative_derive/src/derive_allocative.rs:56-87 | pagable_derive/src/derive_pagable.rs:234-261 \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":"allocative/allocative_derive/src/derive_allocative.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cec6b0a165f7bd6bda6b765dd2952c94e16334503725789b838774e39d79c29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/buck2_resource_control/src/cgroup_files.rs:116-142 | app/buck2_resource_control/src/cgroup_files.rs:144-168 \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":"app/buck2_resource_control/src/cgroup_files.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbac032fe1168aed5804122a9ee4d9a4fa8a7ce5bd1e9aea17f9d4fce4e07f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): dice/dice/src/deps/encoding.rs:153-175 | dice/dice/src/deps/encoding.rs:177-199 \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":"dice/dice/src/deps/encoding.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea1102079624886e5ecf7103bc940fd855fcf2366555ddf9bb3be4a2d4b2632"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/buck2_query_parser/src/lib.rs:514-529 | app/buck2_query_parser/src/lib.rs:532-547 \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":"app/buck2_query_parser/src/lib.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cfda702ff369741cfd25a9a6629872c805cc81422fbc3a19228411e0d4268e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): remote_execution/oss/re_grpc/src/client.rs:1045-1076 | remote_execution/oss/re_grpc/src/client.rs:1082-1117 \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":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4982c1653efff8c75f76d73b3fe4d9dda452f2a2e0fa5e4ce80b8cea3ce4e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): app/buck2_execute/src/re/uploader.rs:517-546 | app/buck2_execute_impl/src/materializers/deferred/io_handler.rs:686-719 \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":"app/buck2_execute/src/re/uploader.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"9142713ab1672216376ba75a4234041ac9bfc280d419a7121e9317d2e735edbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/buck2_bxl/src/command.rs:230-259 | app/buck2_bxl/src/command.rs:510-533 \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":"app/buck2_bxl/src/command.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"830c3df8ae44edff84e25294b94725589826ed25cb5cb148ce1678348a6e8f5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/buck2_bxl/src/bxl/starlark_defs/context/dynamic.rs:287-309 | app/buck2_dynamic_actions/src/dynamic_actions_globals.rs:106-128 \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":"app/buck2_bxl/src/bxl/starlark_defs/context/dynamic.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"a922a995c321282e0d4a1d31d4f0e565f6e74124c0f2195cd85afba5a89f6386"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/buck2_cmd_log_client/src/show_log.rs:35-55 | app/buck2_cmd_log_client/src/show_user_log.rs:36-60 \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":"app/buck2_cmd_log_client/src/show_log.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78d30213556886e15060eaec3deca02bc35bdde6b175ab184f5a2f3ad3481ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/java/stepsbuilder/javacd/main/JavaCDMain.java:32-55 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/cd/workertool/KotlinCDMain.java:32-56 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/stepsbuilder/javacd/main/JavaCDMain.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89ea2c64918fe6628df9b376d1e41115da2446170aba615fafabf2b5f052e1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/buck2_execute_impl/src/sqlite/tables/materializer_state_table.rs:725-744 | app/buck2_execute_impl/src/sqlite/tables/materializer_state_table.rs:750-770 \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":"app/buck2_execute_impl/src/sqlite/tables/materializer_state_table.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b396a156665d24d4824f599a6a13b1a7418b24a5dede2bbc9945f2a494f1607"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): pagable_derive/src/derive_pagable.rs:54-76 | pagable_derive/src/derive_pagable.rs:149-173 \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":"pagable_derive/src/derive_pagable.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbee900a41aa41e141c3928a5eab7873a232c9baaee4b4df536eaa721d82834b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): starlark-rust/starlark/src/values/types/dict/refs.rs:81-104 | starlark-rust/starlark/src/values/types/list/value.rs:104-125 | starlark-rust/starlark/src/values/types/set/refs.rs:86-109 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/dict/refs.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c568296b4e02c498f84512d7a9081c6a6e102a206ee3cedbbf35920fd67431"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): starlark-rust/starlark/src/values/types/int/int_or_big.rs:259-274 | starlark-rust/starlark/src/values/types/int/int_or_big.rs:322-335 \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":"starlark-rust/starlark/src/values/types/int/int_or_big.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"7caf6f71b87c0988f390dd5caa6dab05c6717d2072dd7e978a4cf8a2cc738f23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/io/file/MostFiles.java:400-420 | prelude/toolchains/android/src/com/facebook/buck/io/file/MostFiles.java:430-450 \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":"prelude/toolchains/android/src/com/facebook/buck/io/file/MostFiles.java"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da59676d8b3ca75d22043fd102099edf5d408198ce5af69656127b4c8433766"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/buck2_common/src/pattern/resolve.rs:143-169 | app/buck2_common/src/pattern/resolve.rs:174-202 \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":"app/buck2_common/src/pattern/resolve.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"552eeaa5df93927ce173972f13140a83fc2f72eff43d5eec1e7a5401319c4377"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): starlark-rust/starlark_syntax/src/syntax/uniplate.rs:590-607 | starlark-rust/starlark_syntax/src/syntax/uniplate.rs:609-626 \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":"starlark-rust/starlark_syntax/src/syntax/uniplate.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"526aeb8c6cadd2c70d2cf05012d7a462df739805bb2ecdc5a1fc9d8002606fda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:582-602 | starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:609-635 \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":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"188eb39be031bb0f8b83f810d49763c9463a2ce6b0d1a04f12a3f3ae0a1b23ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): prelude/java/tools/compile_and_package.py:268-302 | prelude/java/tools/fat_jar.py:184-206 \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":"prelude/java/tools/compile_and_package.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c1170584c8b81f94abd8a2c5c96c812e9e2d592eb501d0239e64c7afe6328a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): app/buck2_client/src/commands/lsp.rs:57-91 | app/buck2_cmd_starlark_client/src/debug.rs:80-122 \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":"app/buck2_client/src/commands/lsp.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7f3c53fbf319388c13137f20deac12ce419e6f1035a69e1330defae97ab308"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): starlark-rust/starlark/src/values/types/string/methods.rs:49-73 | starlark-rust/starlark/src/values/types/string/methods.rs:75-100 \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":"starlark-rust/starlark/src/values/types/string/methods.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e988b6b0142d075b3bf2c17b60689c6ae9dcf47f32ffab3433296cb101c512"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): prelude/java/tools/compiler_class_to_source_map.py:55-77 | prelude/java/tools/gen_class_to_source_map.py:125-153 \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":"prelude/java/tools/compiler_class_to_source_map.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6345636faaf99b9ec509c6d645f96b3908d03343cd1716c573b4ffff46c2786b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): starlark-rust/starlark_derive/src/util.rs:124-150 | starlark-rust/starlark_derive/src/util.rs:214-238 \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":"starlark-rust/starlark_derive/src/util.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92828a5d0bd6945c01f71a7d20ade75cd72cf488228e32ae8665d436e4a28c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): tools/starlark_fmt/lib/autofixes/sort_list_args.rs:388-419 | tools/starlark_fmt/lib/autofixes/sort_list_args.rs:574-600 \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":"tools/starlark_fmt/lib/autofixes/sort_list_args.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"4562005011ccaf456c40bcbf3da68e961f1ffdbece7bae7276519f2dae256524"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/buck2_node/src/nodes/configured.rs:1017-1037 | app/buck2_node/src/nodes/unconfigured.rs:852-874 \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":"app/buck2_node/src/nodes/configured.rs"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"593b97e7eaaa75a7db066258338c0688d3158273df25282a55c18c5162fe6777"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/java17/SourceVersionUtils.java:21-51 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/java21/SourceVersionUtils.java:21-53 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/java17/SourceVersionUtils.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf072fcc5e00a92745c7f81460ebf67abaec64390fb1da8376caead9eed06dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): starlark-rust/starlark_syntax/src/syntax/uniplate.rs:336-344 | starlark-rust/starlark_syntax/src/syntax/uniplate.rs:353-363 \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":"starlark-rust/starlark_syntax/src/syntax/uniplate.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb868dd74baff68c5a67da1cf8a451eace1f4a6c688ad6708b18b6d9e26b511"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): tools/retrace/src/gui/detail_ui.rs:281-292 | tools/retrace/src/gui/detail_ui.rs:297-311 \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":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57af94f3009b7d9910d41a4e294e2968f1aedf576c44532739986903d4f4cf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): tools/starlark_fmt/lib/autofixes/sort_list_args.rs:913-931 | tools/starlark_fmt/lib/autofixes/sort_list_args/structural.rs:178-196 \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":"tools/starlark_fmt/lib/autofixes/sort_list_args.rs"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0227d364ef090756e3faa41bc40971e9f35129bcde6a3c376629c6d418f5af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/buck2_fs/src/paths/relative_path.rs:545-561 | app/buck2_fs/src/paths/relative_path.rs:565-581 \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":"app/buck2_fs/src/paths/relative_path.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c5d046304251b7b970e1048016e08423d4021352d164f2df84a97108747fe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): starlark-rust/starlark/src/values/types/namespace/typing.rs:88-102 | starlark-rust/starlark/src/values/types/structs/structs.rs:65-79 \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":"starlark-rust/starlark/src/values/types/namespace/typing.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"18feaa5463fa92b986d198aef11977a19e8f29fd11259e283d8b973a51d6d340"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/java17/SourceVersionUtils.java:54-83 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/java21/SourceVersionUtils.java:56-87 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/java17/SourceVersionUtils.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df3bd543da1f1c0e32535c32fd9bf63f2e7c572f32b576bd6daf2bd3b2a049e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): app/buck2_client/src/commands/query/aquery.rs:97-121 | app/buck2_client/src/commands/query/uquery.rs:117-141 \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":"app/buck2_client/src/commands/query/aquery.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d02ca16707061801101e903ba5b9a28e8bddbe582e9478a6b4902f45d4225c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/buck2_interpreter_for_build/src/interpreter/testing.rs:271-293 | app/buck2_interpreter_for_build/src/interpreter/testing.rs:319-339 \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":"app/buck2_interpreter_for_build/src/interpreter/testing.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf675bda711dea75606d1f66e4db649f216f7def7d2c3e2a676a175ba572053"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java:676-704 | prelude/toolchains/android/src/com/facebook/buck/testrunner/TestNGRunner.java:215-234 \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":"prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40133feb41968513674e460fbad112fb80c9f4f6a71f8e7db5599f476a663ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/buck2_client_ctx/src/agent_context.rs:141-157 | app/buck2_client_ctx/src/client_metadata.rs:80-96 \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":"app/buck2_client_ctx/src/agent_context.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1efcb15ee08720cf0b6adbb5ef2abef8f1ea8f807464e98aeda31940b9a912"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): dice/dice/src/epoch/task/dice.rs:208-239 | dice/dice/src/epoch/task/dice.rs:246-267 \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":"dice/dice/src/epoch/task/dice.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"400c7b92c477e88e87a25549ef7b7321f5aecb19eae9073381c1a89a432de64b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): starlark-rust/starlark/src/values/layout/avalue.rs:258-278 | starlark-rust/starlark/src/values/layout/avalue.rs:299-315 \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":"starlark-rust/starlark/src/values/layout/avalue.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0019179fe8e2153088b04f1f2808d2160705e43daf1ff22f068528df8ea14e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): app/buck2_event_log/src/write.rs:523-547 | app/buck2_trailcam/src/invocation.rs:156-178 \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":"app/buck2_event_log/src/write.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2bb8ee855b8d4be1360aac8d4cc3d80cea9dd09e821a98abeeef5d63c5b949"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): starlark-rust/starlark/src/values/layout/avalues/array.rs:197-213 | starlark-rust/starlark/src/values/layout/avalues/list.rs:164-178 | starlark-rust/starlark/src/values/layout/avalues/str_.rs:141-161 \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":"starlark-rust/starlark/src/values/layout/avalues/array.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c217c7de2f51a35940df6f9448cf51efa3f4cd8ddd02ad302af3c7339d377ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/buck2_node/src/attrs/arena/storage.rs:116-124 | app/buck2_node/src/attrs/arena/storage.rs:678-687 \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":"app/buck2_node/src/attrs/arena/storage.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"776228322857bed8f99d49a96b0b8ed6a7632fbd6141cd8b5f959774bf3bc18f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:447-475 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:450-478 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:454-487 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"557e5e6a3a2f01bbdc0fbea93966705c48dd982f9eaf2d394a0811e22033579c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt:441-468 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt:470-495 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a018eaa29410de14461e43b4139e31012aede34e922954bb7a7d2ef56daf3d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): prelude/apple/tools/codesign_manifest_tree_postprocessor/main.py:18-46 | prelude/apple/tools/signing_context_tree_postprocessor/main.py:20-45 \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":"prelude/apple/tools/codesign_manifest_tree_postprocessor/main.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"090a23d14ceb7bdd5c6430fab8fec008ee8e3021bb5aecaf057cebfdd9160fc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/buck2_bxl/src/bxl/starlark_defs/file_set.rs:57-72 | app/buck2_bxl/src/bxl/starlark_defs/file_set.rs:98-113 \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":"app/buck2_bxl/src/bxl/starlark_defs/file_set.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac1acabfe4818ad92f7220d139faa86e771d5edf1ddce443ac34f71f876b2a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/buck2_event_log_format/src/decode.rs:25-39 | tools/retrace/src/ingest/decode_pool.rs:496-514 \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":"app/buck2_event_log_format/src/decode.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4ba6f728f0e57a6be73c075dbe655d1a7888d699089200dacc0c800f8d5343"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): app/buck2_query_impls/src/aquery/bxl.rs:67-88 | app/buck2_query_impls/src/cquery/bxl.rs:53-74 | app/buck2_query_impls/src/uquery/bxl.rs:52-71 \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":"app/buck2_query_impls/src/aquery/bxl.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fada35dabb5095256cdcc6e29538d7bd2f904d5fc60e0675886ec64fea45c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/buck2_resource_control/src/cgroup_files.rs:186-206 | app/buck2_resource_control/src/cgroup_files.rs:208-222 \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":"app/buck2_resource_control/src/cgroup_files.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"470739e66f13d09a1c622f641752e066142319d0c0592981a3ed5de7baa2a45c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): starlark-rust/starlark/src/values/layout/avalues/list.rs:187-204 | starlark-rust/starlark/src/values/layout/avalues/tuple.rs:169-186 | starlark-rust/starlark/src/values/layout/avalues/tuple.rs:204-221 \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":"starlark-rust/starlark/src/values/layout/avalues/list.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f8622e06b81734b8cd48d7e033c3a0f2b19fc0a47263000d96ced45265c845"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): starlark-rust/starlark/src/values/types/dict/value.rs:562-577 | starlark-rust/starlark/src/values/types/set/value.rs:320-333 \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":"starlark-rust/starlark/src/values/types/dict/value.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"86968d5402b539a1c2ba25c36374b8727d8d93d96cadad26f5cc33938024d85f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/buck2_bxl/src/bxl/starlark_defs/bxl_function.rs:57-66 | app/buck2_bxl/src/bxl/starlark_defs/bxl_function.rs:69-78 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/bxl_function.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"208c6bb422c06468ae64ac98208173eaeb73ca6413cf8fbef071eaea7b4e1cdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/buck2_core/src/pattern/ascii_pattern.rs:115-138 | app/buck2_core/src/pattern/ascii_pattern.rs:140-164 \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":"app/buck2_core/src/pattern/ascii_pattern.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd87e43019d752bc837a83b440061c52422d200b968582588ba2423b28b27842"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): dice/dice/src/epoch/cache.rs:144-163 | dice/dice/src/epoch/cache.rs:168-187 \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":"dice/dice/src/epoch/cache.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"74910d97fc3077ed89e3c6e6ca0f43eddec3378d775defb28715fc2bc70c5aba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/buck2_common/src/package_listing/interpreter.rs:45-56 | app/buck2_common/src/package_listing/interpreter.rs:62-83 \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":"app/buck2_common/src/package_listing/interpreter.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd02ad731291f914d2e4db0dac2e05ccde04322686330ebfaa1288a5650c13d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/buck2_execute_impl/src/materializers/v2/core.rs:1427-1445 | app/buck2_execute_impl/src/materializers/v2/core.rs:1501-1516 \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":"app/buck2_execute_impl/src/materializers/v2/core.rs"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0deb81f07cda680f388ebb27e793ae179624ea1f56b0a1ee0e3c0868239617"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/common/stub/render/StubRender.kt:243-260 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/common/stub/render/StubRender.kt:262-276 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/common/stub/render/StubRender.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42d13f325aaa5f75a5533e4e6bc31f9794a4910868cfc787ea904ac63985137"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): app/buck2_bxl/src/bxl/eval.rs:135-167 | app/buck2_bxl/src/bxl/starlark_defs/context/anon_target.rs:199-235 \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":"app/buck2_bxl/src/bxl/eval.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9105125b9c2d48d60d0b648ccfdfcf61a5a7857e8e28b73ca11834ca9f84c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/buck2_util/src/arc_str/slice.rs:141-158 | app/buck2_util/src/arc_str/thin_slice.rs:143-159 \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":"app/buck2_util/src/arc_str/slice.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d6e935be2c6482580999dc402fdfe505800dd253f7b3e8807b4521e408bd14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/kotlin/KotlinMetadataReader.java:161-177 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/kotlin/KotlinMetadataReader.java:209-222 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/kotlin/KotlinMetadataReader.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5df1ce6b7979e5dbf257c58cdd86ddd6fb401c4a368379947950c846dfde9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): app/buck2_cmd_completion_client/src/completion.rs:79-98 | app/buck2_cmd_completion_client/src/completion.rs:100-119 \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":"app/buck2_cmd_completion_client/src/completion.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"080a461ce3f495f4b75379c309171ae0a9f21f96e13082e4541bf90a9d52525a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): starlark-rust/starlark/src/typing/fill_types_for_lint.rs:211-222 | starlark-rust/starlark/src/typing/fill_types_for_lint.rs:230-243 | starlark-rust/starlark/src/typing/fill_types_for_lint.rs:251-262 \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":"starlark-rust/starlark/src/typing/fill_types_for_lint.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"106848cae0d701edd40815ac8b2f3f8f04ebd3cde01cec93211173514da6c542"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:928-939 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:937-948 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"9451bf6d9ea84ebfca4d834f0cb323db35978d3a9e33c84bd0853f44769a87d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/buck2_node/src/load_patterns.rs:333-350 | app/buck2_node/src/load_patterns.rs:356-373 \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":"app/buck2_node/src/load_patterns.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b2338fbd35c9dc6c7798e5abe03a43836a81a4e43189714b734d586627c4a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/android/aapt/ResourceSourceMapFormat.kt:94-107 | prelude/toolchains/android/src/com/facebook/buck/android/aapt/ResourceSourceMapFormat.kt:138-151 \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":"prelude/toolchains/android/src/com/facebook/buck/android/aapt/ResourceSourceMapFormat.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"381bc27644b3942dcdc1ea224a3ba0197ca5daa34e6606bd678125853cee12c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/buck2_server/src/daemon/dice_dump.rs:125-141 | app/buck2_server/src/daemon/dice_dump.rs:143-155 \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":"app/buck2_server/src/daemon/dice_dump.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"725f7b1ce75384c1939f6532254cd5a156429068b4ba51f4c495e4ce6ebd73e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): games/src/games/sokoban.rs:667-680 | games/src/games/twenty48.rs:277-292 \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":"games/src/games/sokoban.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"5701c0198f4ee3f5635370a64563df65ec8a95193014851331dc00d086601bd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): starlark-rust/starlark/src/values/types/structs/alloc.rs:63-73 | starlark-rust/starlark/src/values/types/structs/alloc.rs:84-94 \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":"starlark-rust/starlark/src/values/types/structs/alloc.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad06f1aa20faaaff2d5b290f1492d1e5a251b5f3d3ef7e68540bd06ecb80ae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): starlark-rust/starlark_syntax/src/syntax/top_level_stmts.rs:23-38 | starlark-rust/starlark_syntax/src/syntax/top_level_stmts.rs:41-60 \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":"starlark-rust/starlark_syntax/src/syntax/top_level_stmts.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef34a5acbbfc8b61857c06310f29f63695123410a2997998a8fc275bb45c361"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/buck2_client_ctx/src/subscribers/recorder.rs:2528-2549 | app/buck2_client_ctx/src/subscribers/recorder.rs:2555-2576 \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":"app/buck2_client_ctx/src/subscribers/recorder.rs"},"region":{"startLine":2528}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ba33c29100c59f61011fc406e180a161c8056e810ef0260c65749daebc1bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/buck2_common/src/sqlite/key_value_table.rs:74-84 | app/buck2_common/src/sqlite/key_value_table.rs:86-99 \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":"app/buck2_common/src/sqlite/key_value_table.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b45cfa7b121863924e8b7e8a8182175965b2655db8f825d3e8036bbf83ddcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/buck2_health_check/src/health_check_client.rs:166-191 | app/buck2_health_check/src/health_check_client.rs:196-219 \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":"app/buck2_health_check/src/health_check_client.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4ff4292d5108e64dd28d86179bb11ee74f52551d85b9b7a3d056a9965df983"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pagable_derive/src/derive_pagable.rs:78-90 | pagable_derive/src/derive_pagable.rs:175-192 \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":"pagable_derive/src/derive_pagable.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6e08a746b339069bde385d0b78e6cc9646bb8766c46640a3b92d842c0f7923"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:279-311 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:282-314 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:286-318 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89043f2270e31e0001c7885a3864e010d2306086e3a1fba8a9ff3e3ea9feeb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): starlark-rust/starlark_syntax/src/syntax/uniplate.rs:631-643 | starlark-rust/starlark_syntax/src/syntax/uniplate.rs:645-657 \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":"starlark-rust/starlark_syntax/src/syntax/uniplate.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93daf33e2350ab9af1b3c5f65684c0d0be5593afaf28cc84b8d1c8b6fcfdaf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/android/apk/sdk/ApkBuilder.java:403-425 | prelude/toolchains/android/src/com/facebook/buck/android/apk/sdk/ApkBuilder.java:438-465 \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":"prelude/toolchains/android/src/com/facebook/buck/android/apk/sdk/ApkBuilder.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f9bda6e4243648d6ac6c17af71acf21a171ae3f068ede127a9e80ac174fbfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/buck2_bxl/src/bxl/starlark_defs/nodes/node_attrs.rs:47-58 | app/buck2_bxl/src/bxl/starlark_defs/nodes/node_attrs.rs:79-90 \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":"app/buck2_bxl/src/bxl/starlark_defs/nodes/node_attrs.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f811a6063015cae7021b5c69252da43e253f39d3eb9cf4f0d855b0f3fcda71e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/buck2_query_impls/src/aquery/evaluator.rs:39-65 | app/buck2_query_impls/src/uquery/evaluator.rs:40-68 \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":"app/buck2_query_impls/src/aquery/evaluator.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e4a467fe88d880914a7772aa563a6fee3abe4b70964cfbb61aee0cf8122865"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): dice/dice_core/src/state.rs:351-366 | dice/dice_core/src/state.rs:372-387 \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":"dice/dice_core/src/state.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbe27d55d54602cbb46d32bd8f271b57cc37feb6781166ea54c7240227eebe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): starlark-rust/starlark/src/values/types/dict/alloc.rs:94-105 | starlark-rust/starlark/src/values/types/dict/alloc.rs:116-127 \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":"starlark-rust/starlark/src/values/types/dict/alloc.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2ca4061a8d1d501a5b5188998a4494be734c7a5287e74b283457e39239a669"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/java/JavaPaths.java:72-88 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/JavaPaths.java:95-112 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/JavaPaths.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29fcec92c92d6cb44178504375784b95828563c4dbd7249fb819efd29e0377c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/buck2_action_impl/src/actions/impls/write_hmap.rs:124-136 | app/buck2_action_impl/src/actions/impls/write_json.rs:131-151 \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":"app/buck2_action_impl/src/actions/impls/write_hmap.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b059127a785057729494b49aefbbd040ba521535b08c485d6baf9270035f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): app/buck2_configuration_providers/src/constraint_setting_info.rs:84-95 | app/buck2_configuration_providers/src/constraint_value_info.rs:89-99 | app/buck2_configuration_providers/src/dep_only_incompatible_rollout.rs:45-57 \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":"app/buck2_configuration_providers/src/constraint_setting_info.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f90a32fe7f0e59dd207ad4972fd48f5a78065aa3d4ddd8183e3c826e4586bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): starlark-rust/starlark/src/values/types/list/value.rs:492-504 | starlark-rust/starlark/src/values/types/string/str_type.rs:353-364 \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":"starlark-rust/starlark/src/values/types/list/value.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"e260b0262204695395d4a4f5cabda7e9939cc8c1def30cc8f3ebb5a81e740ece"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/java/JavaStepsBuilder.java:65-86 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/JavaStepsBuilder.java:88-106 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/KotlinStepsBuilder.java:88-113 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/KotlinStepsBuilder.java:118-139 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/JavaStepsBuilder.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92639ee9b5afddfa68f88c9e7ff5c79ed7d992b8890ce84e65abbbaee72a4de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/InterfaceScanner.java:195-227 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/InterfaceScanner.java:234-257 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/InterfaceScanner.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3e1e381c2c0ca4be2b0e335f0a5b6a457314b110fe37d09db2e7d5bb334d28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/JavaSourceInfo.kt:71-98 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/JavaSourceInfo.kt:212-231 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/JavaSourceInfo.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6812209ec24168caf4980658741e3aa6fd2419c125fb1f9dbca13e40f4a47763"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): app/buck2_event_observer/src/humanized.rs:128-138 | app/buck2_event_observer/src/humanized.rs:142-156 | app/buck2_event_observer/src/humanized.rs:160-169 \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":"app/buck2_event_observer/src/humanized.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc11f2cc027ee1d380db47a5fca162b0b37300bbe3a5e2d1e575387b7e852ef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): starlark-rust/starlark_syntax/src/error.rs:332-347 | starlark-rust/starlark_syntax/src/error.rs:350-365 \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":"starlark-rust/starlark_syntax/src/error.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7844e55fb98402e0d99f5dacdcd06e1b069f528d89628641b77eb761d8e15aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/api/FrontendOnlyJavacTaskProxy.java:34-60 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/plugin/api/BuckJavacTaskProxy.java:43-60 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/api/FrontendOnlyJavacTaskProxy.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ef73ba0e2663c3876bb756ce31739453b2b89d1f793bdcd89472553da3efc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): app/buck2_fs/src/fs_util.rs:497-517 | app/buck2_fs/src/fs_util.rs:674-695 | app/buck2_fs/src/fs_util.rs:702-722 | app/buck2_fs/src/fs_util.rs:818-838 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_fs/src/fs_util.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5d67d0dfdc82d8383533e47a2c768abb958a252dca94df60968322a96f8006"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/buck2_fs/src/paths/forward_rel_path.rs:455-470 | app/buck2_fs/src/paths/forward_rel_path.rs:489-504 \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":"app/buck2_fs/src/paths/forward_rel_path.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc08be98b564020e11dedf8e0e4f7f5ae9b6219b1ae8441179902a02f0c7790d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/buck2_query_impls/src/analysis/environment.rs:282-298 | app/buck2_query_impls/src/cquery/environment.rs:227-244 \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":"app/buck2_query_impls/src/analysis/environment.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ad8e56c598a85564269ca541902f40d116754bec18bb06c1ebbc454b9361cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): starlark-rust/starlark/src/eval/compiler/expr.rs:708-722 | starlark-rust/starlark/src/eval/compiler/expr.rs:729-737 \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":"starlark-rust/starlark/src/eval/compiler/expr.rs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"764231252d7221c559e8b70da44ed54c931ba958c8f4d8c329dac8a3f086e073"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/buck2_build_api/src/interpreter/rule_defs/artifact/starlark_artifact.rs:230-242 | app/buck2_build_api/src/interpreter/rule_defs/artifact/starlark_declared_artifact.rs:226-241 \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":"app/buck2_build_api/src/interpreter/rule_defs/artifact/starlark_artifact.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5758de35728dc47d66e1e22925f5285b9d4e767f5eb2962112403546e99ec733"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): app/buck2_query_derive/src/codegen.rs:52-72 | app/buck2_query_derive/src/codegen.rs:78-98 \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":"app/buck2_query_derive/src/codegen.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"99486d3242c8ca7f41e286aaff6e7922bbc668757a9383f8d3851e8e1714bc17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/buck2_query_impls/src/aquery/bxl.rs:289-307 | app/buck2_query_impls/src/aquery/bxl.rs:313-331 \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":"app/buck2_query_impls/src/aquery/bxl.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4458d91a3291105cbfca7ae798526591536fe3f1cabeae3bf15b410ff0e2e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pagable_derive/src/derive_pagable.rs:263-276 | starlark-rust/starlark_derive/src/starlark_pagable.rs:195-206 \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":"pagable_derive/src/derive_pagable.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea0e62beb0fd5c56168f6ddffbcd5af81351545dd1eaf7e59d8a959021d736a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): starlark-rust/starlark/src/values/types/int/view.rs:180-186 | starlark-rust/starlark/src/values/types/int/view.rs:188-194 | starlark-rust/starlark/src/values/types/int/view.rs:196-202 \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":"starlark-rust/starlark/src/values/types/int/view.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"600c18183e91ac7812645aae20b29ba937c26e8cc2eda3b85181efda07854b13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/buck2_execute_impl/src/materializers/deferred/data_tree.rs:319-335 | app/buck2_execute_impl/src/materializers/deferred/data_tree.rs:343-359 \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":"app/buck2_execute_impl/src/materializers/deferred/data_tree.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"2453ceb6eea320076f4a6078d1c67c86297cec1171fb3847e159738885465a6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/buck2_fs/src/paths/intern_forward_rel_path/interner.rs:129-150 | app/buck2_fs/src/paths/intern_forward_rel_path/interner.rs:154-171 \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":"app/buck2_fs/src/paths/intern_forward_rel_path/interner.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb37f155f4a55948c9f9227870de738c06f2305dc84dd6e2af30a8e7aef7478"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/buck2_build_api/src/build/detailed_aggregated_metrics/buck2_sketches.rs:331-345 | app/buck2_build_api/src/build/detailed_aggregated_metrics/implementation/traverse.rs:303-316 \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":"app/buck2_build_api/src/build/detailed_aggregated_metrics/buck2_sketches.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22714c90a5d0a8db2e32e003f58da1606556e545da4e26bbd300bd7ed0bf12d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/buck2_client_ctx/src/subscribers/superconsole/io.rs:41-62 | games/src/games/sokoban.rs:102-123 \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":"app/buck2_client_ctx/src/subscribers/superconsole/io.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd459840cb72131c2f00903951b38e2fc14cc248593148f4c5c80c7a7a39dcaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): gazebo/dupe_derive/src/util.rs:155-161 | gazebo/dupe_derive/src/util.rs:163-169 \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":"gazebo/dupe_derive/src/util.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d1b7935df78a4ba76716145d58eb6bc10bdac16301799122f96acd63e12408"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): starlark-rust/starlark/src/values/types/dict/refs.rs:64-75 | starlark-rust/starlark/src/values/types/set/refs.rs:55-66 \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":"starlark-rust/starlark/src/values/types/dict/refs.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b117d4b6753cfc27885ba5233946f8755accbc0e35a680c61ceaed189ddec24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): starlark-rust/starlark/src/eval/compiler/expr.rs:1219-1230 | starlark-rust/starlark/src/eval/compiler/expr.rs:1236-1251 \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":"starlark-rust/starlark/src/eval/compiler/expr.rs"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"2917fa0c4149eda408e6d105b7a92c0cd7b4bcbe17c60be9f1bdc733445f3113"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/buck2_client_ctx/src/subscribers/superconsole.rs:792-806 | app/buck2_client_ctx/src/subscribers/superconsole.rs:808-822 \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":"app/buck2_client_ctx/src/subscribers/superconsole.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d2dbce789739433a99e723aa9add519b85ceb34295a99e82d13591e87ac99d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/buck2_interpreter/src/execution_group.rs:147-162 | app/buck2_interpreter_for_build/src/plugins.rs:135-148 \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":"app/buck2_interpreter/src/execution_group.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f285dc22fb4f725428fa9a1fca68e4e8396edc3a1f6acc7b5077f9c4f31ecc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/buck2_resource_control/src/scheduler.rs:615-631 | app/buck2_resource_control/src/scheduler.rs:671-692 \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":"app/buck2_resource_control/src/scheduler.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57c8f15f848c07c5352c8c2ac8071c4ada6065ab854cf86867b6d6ed26785d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): dice/dice_core/src/key_vec.rs:116-126 | dice/dice_core/src/key_vec.rs:129-139 \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":"dice/dice_core/src/key_vec.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edbabae12c82e0086190e2fe0a8f557b77442c152554a3a1dcaccffc745370a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/android/apk/sdk/ApkBuilder.java:494-517 | prelude/toolchains/android/src/com/facebook/buck/android/bundle/AndroidBundleUtils.java:208-225 \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":"prelude/toolchains/android/src/com/facebook/buck/android/apk/sdk/ApkBuilder.java"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bedd98314dd940a73e4790a298f4f8bee14d74b6c958ef645d87917c20bcbbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/buck2_build_api/src/interpreter/rule_defs/artifact/starlark_artifact.rs:163-175 | app/buck2_build_api/src/interpreter/rule_defs/artifact/starlark_artifact.rs:193-205 \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":"app/buck2_build_api/src/interpreter/rule_defs/artifact/starlark_artifact.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbbece623acc3a94e2a8e260caa8613cfa25d28697aeadbee5544265200e8f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/buck2_common/src/file_ops/io.rs:221-238 | app/buck2_external_cells/src/git.rs:363-379 \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":"app/buck2_common/src/file_ops/io.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7b6980c321bedcec53fb408b56793d434f8cb85df8931dd2f4f71012de0837"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/buck2_execute/src/execute/manager.rs:167-190 | app/buck2_execute/src/execute/manager.rs:263-286 \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":"app/buck2_execute/src/execute/manager.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56e9ffa54493d36d5358afe45c3f314b2de7f8a1c89592361f92e80ea792e61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/buck2_node/src/attrs/coerced/select.rs:715-726 | app/buck2_node/src/attrs/coerced/select.rs:732-744 \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":"app/buck2_node/src/attrs/coerced/select.rs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"43904f65b74720e123a6c36da500363f4c09e94fc9822ce57feef8399081d9ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): prelude/python/tools/sourcedb_merger/inputs.py:31-49 | prelude/python/tools/sourcedb_merger/inputs.py:64-81 \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":"prelude/python/tools/sourcedb_merger/inputs.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f442489ecb7db15e60f6cd4a70e6fa0be095d0c4cdd138fcf6a7aca1686e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/buck2_node/src/attrs/attr_type/one_of.rs:108-120 | app/buck2_node/src/attrs/attr_type/one_of.rs:132-143 \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":"app/buck2_node/src/attrs/attr_type/one_of.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db8ccdab1bc4f4e81a0c76f6dc27c2bad66454c3cf923ecb09a0a36a15e09da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): dice/dice_examples/src/math_computation.rs:177-189 | dice/fuzzy_dice/src/computation.rs:62-71 \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":"dice/dice_examples/src/math_computation.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"088e96b26e54a1d05c076a119b26106435b06d6d7b72c58a0a482d8e021503b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): starlark-rust/starlark/src/values/thin_box_slice_value/packed_impl.rs:83-94 | starlark-rust/starlark/src/values/thin_box_slice_value/packed_impl.rs:103-113 \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":"starlark-rust/starlark/src/values/thin_box_slice_value/packed_impl.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a517a10f56cd8531933df0624292d6c8a6151db9c876e434dd60d07db9455c0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:1193-1208 | starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:1252-1267 | starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:1318-1333 \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":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae2e1c0a5a32350cd368c8ea24aa0f0a0a932831d51fdde0fc5c7eeaac5ca8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs:170-178 | app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs:217-225 \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":"app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f5ed4022a45c9befa690eb594d590441a5318e72854c949453610c17d00f33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/buck2_directory/src/directory/builder.rs:731-747 | app/buck2_directory/src/directory/immutable_or_exclusive.rs:56-77 \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":"app/buck2_directory/src/directory/builder.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"2404de1f4b02a03f15aa09191bc8f7c7e2aad76bee1ab813b4ef9b600f80d574"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/buck2_execute/src/execute/request.rs:838-851 | app/buck2_execute/src/execute/request.rs:858-871 \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":"app/buck2_execute/src/execute/request.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c5d0b20e28ef92ca3fe9301d1497b592bf4f67f51bbb3fe7b202c62e3170fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): app/buck2_query_impls/src/aquery/bxl.rs:352-367 | app/buck2_query_impls/src/cquery/bxl.rs:319-336 | app/buck2_query_impls/src/uquery/bxl.rs:284-301 \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":"app/buck2_query_impls/src/aquery/bxl.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f16a075cd54b873671c8634460c517915d325ea80d08df0fe380e9dda9a5b6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/buck2_client_ctx/src/subscribers/build_graph_stats.rs:79-96 | app/buck2_client_ctx/src/subscribers/recorder.rs:2907-2928 \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":"app/buck2_client_ctx/src/subscribers/build_graph_stats.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fe1b97ddb7b6fd27b94eb80a9c4aeefd8a0bdb9100590550f975bcfe76f42b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/buck2_event_observer/src/debug_events.rs:89-101 | app/buck2_event_observer/src/debug_events.rs:129-144 \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":"app/buck2_event_observer/src/debug_events.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"188acf9612a58705d536fe4617c4e67410f8a6370e63298be2aca8bf8123707f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): shed/mini_map/src/mut_insertion_map.rs:1349-1359 | starlark-rust/starlark_map/src/unordered_map.rs:344-354 \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":"shed/mini_map/src/mut_insertion_map.rs"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"378ce53a2e5d0be7ded5bac711493573e0086e8a25e522dc2176238d30a78d1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): starlark-rust/starlark/src/stdlib/extra.rs:135-147 | starlark-rust/starlark/src/stdlib/extra.rs:150-160 \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":"starlark-rust/starlark/src/stdlib/extra.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca095c55961cc4fc5f5a76b687dd8f35b7c9cfde7416d7cb1459b047aeb6cdee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): prelude/toolchains/conan/conan_generate.py:28-40 | prelude/toolchains/conan/conan_lock.py:16-26 | prelude/toolchains/conan/conan_package.py:29-40 \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":"prelude/toolchains/conan/conan_generate.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daf4aa5cc820380533a8ddb1abb8b797eb74601167b77fa682a55c0e1df22f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/buck2_client_ctx/src/subscribers/simpleconsole.rs:214-229 | app/buck2_client_ctx/src/subscribers/simpleconsole.rs:236-251 \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":"app/buck2_client_ctx/src/subscribers/simpleconsole.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b018d84f34bf8b49e4a24e22478f17a372d14127cc6e4980a4d39e59044a61eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/buck2_event_observer/src/two_snapshots.rs:52-63 | app/buck2_util/src/sliding_window.rs:53-61 \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":"app/buck2_event_observer/src/two_snapshots.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f566f183325da8534a5c90a5915934e13fb4d94d34611c2b2b503b610402c5c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/buck2_server/src/daemon/proxies.rs:109-124 | app/buck2_tenant_proxy/src/registry.rs:72-90 \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":"app/buck2_server/src/daemon/proxies.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7099dc1b28aae4ed92845bcb58ef3e70fae03c7fc99e02b7aa2c4f66e8a7e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): games/src/console.rs:230-238 | games/src/games/snake.rs:276-288 \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":"games/src/console.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"6982355208eea7f140aff9142bde2cf03b60a2f46c37611ca3b8a03c1d698c30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): starlark-rust/starlark/src/analysis/incompatible.rs:118-132 | starlark-rust/starlark/src/analysis/performance.rs:114-123 \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":"starlark-rust/starlark/src/analysis/incompatible.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dbbb11112d8de135aae2cfb50295d1c652e9899884b4cf3028c01a48eb54bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): starlark-rust/starlark/src/environment/methods.rs:225-242 | starlark-rust/starlark/src/environment/methods.rs:254-268 \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":"starlark-rust/starlark/src/environment/methods.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bfa514fe360d97350924e823c6c5338f5b4c03ea27b09a9bc694bb2765d175"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): starlark-rust/starlark/src/typing/starlark_value.rs:93-93 | starlark-rust/starlark_syntax/src/codemap.rs:288-288 \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":"starlark-rust/starlark/src/typing/starlark_value.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"998dd82aabb2b3d16ae3ca137acf95125e1b51068cbf701b20fbdb87b420b866"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): starlark-rust/starlark/src/typing/tuple.rs:140-159 | starlark-rust/starlark/src/typing/tuple.rs:163-177 \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":"starlark-rust/starlark/src/typing/tuple.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb45929b80468910a41601d218e8d40f3a85c8d38119ec9f1ea749d31c685a5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): starlark-rust/starlark/src/values/layout/avalues/str_.rs:90-106 | starlark-rust/starlark/src/values/layout/avalues/str_.rs:111-127 \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":"starlark-rust/starlark/src/values/layout/avalues/str_.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bbbded125dc75a2c157f2baed36b2e3a67827e8ef327fc2f9b163f120ed4fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): starlark-rust/starlark_syntax/src/lexer.rs:625-640 | starlark-rust/starlark_syntax/src/lexer.rs:642-657 | starlark-rust/starlark_syntax/src/lexer.rs:883-898 | starlark-rust/starlark_syntax/src/lexer.rs:900-915 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"93352227af7c7f9c7800d0e14ae03201cf8eb96e0074e88cee5940f473a9fb2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/buck2_build_api/src/interpreter/rule_defs/cmd_args/options.rs:178-192 | app/buck2_build_api/src/interpreter/rule_defs/cmd_args/options.rs:208-222 \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":"app/buck2_build_api/src/interpreter/rule_defs/cmd_args/options.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf852c4b3ed5efc69be484907232fe46ffb46554530f6490bd820e33c63d7e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/buck2_cmd_audit_client/src/lib.rs:145-165 | app/buck2_cmd_starlark_client/src/lib.rs:91-109 \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":"app/buck2_cmd_audit_client/src/lib.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad5151ca45432d04728759c92781a2cf8b02372e1f6943a62d77b7271719744"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/buck2_fs/src/paths/forward_rel_path.rs:841-854 | app/buck2_fs/src/paths/relative_path.rs:398-410 \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":"app/buck2_fs/src/paths/forward_rel_path.rs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5179b1d49407704564325b04759e82a298520c46782a90f4236f5f455acc90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): games/src/games.rs:442-453 | games/src/games.rs:466-478 \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":"games/src/games.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7ad69f2d322a31a617f84f2c7f157106b6a21fdcc82126073439ef79694a6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): integrations/rust-project/src/scuba.rs:17-27 | integrations/rust-project/src/scuba.rs:33-43 \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":"integrations/rust-project/src/scuba.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da9b4f667e876b71570a0d0a8f04ad6ed46a36dbd66dec5c01603570544639e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): starlark-rust/starlark/src/eval/runtime/evaluator.rs:1020-1038 | starlark-rust/starlark/src/eval/runtime/evaluator.rs:1077-1093 \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":"starlark-rust/starlark/src/eval/runtime/evaluator.rs"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0e606dbfa9501234d10a50e520fe7e6e9954ab3b1f46645e3fa5ba56979c58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:1155-1163 | starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:1176-1184 \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":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b52920211e5903afb6918ae9a09aa762a1b254a2d38f8b97fc4339522371f68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): superconsole/src/content/line.rs:220-231 | superconsole/src/content/lines.rs:471-482 \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":"superconsole/src/content/line.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff0fadd5cf2b2ff12d69f15e2f3dfcbfb2c951b00f8394bd8947c0b241adf6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/buck2_action_impl/src/context/copy.rs:42-52 | app/buck2_action_impl/src/context/copy.rs:101-122 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/context/copy.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e98c3e5b11032539aeb6064a1bc049a67c8ed8a063c9dc87161117f7a64ea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/buck2_common/src/file_ops/error.rs:89-102 | starlark-rust/starlark/src/errors/did_you_mean.rs:26-44 \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":"app/buck2_common/src/file_ops/error.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1cad5077e24df3d3de42fea462ada285ad3a6d6861d66829d681b3571e628a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/buck2_interpreter_for_build/src/interpreter/functions/sha1.rs:18-28 | app/buck2_interpreter_for_build/src/interpreter/functions/sha256.rs:18-28 \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":"app/buck2_interpreter_for_build/src/interpreter/functions/sha1.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5a53a6a1c69e2863e7de06ba16b251fef3d7ae0c194253bff38e419ef1dbd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): gazebo/cmp_any/src/eq.rs:29-42 | gazebo/cmp_any/src/ord.rs:26-39 \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":"gazebo/cmp_any/src/eq.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24f0688cc0b992d6af40fbe02fcf135440156cf22a935f074ee7b585afb46c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): starlark-rust/starlark/src/values/layout/heap/owned_frozen_ext.rs:235-248 | starlark-rust/starlark/src/values/layout/heap/owned_frozen_ext.rs:403-413 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/layout/heap/owned_frozen_ext.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3023095c4bbfabad094ac724991532efbb58e9a334db2e1375327a441b3bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/buck2_build_api/src/interpreter/rule_defs/artifact/starlark_artifact.rs:258-270 | app/buck2_build_api/src/interpreter/rule_defs/artifact/starlark_declared_artifact.rs:263-276 \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":"app/buck2_build_api/src/interpreter/rule_defs/artifact/starlark_artifact.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15643b09a5dce304e79e5081e1606f245676fc8b52e2dd2df0c258e4fe94429"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): dice/dice/src/dice.rs:499-521 | dice/dice/src/dice.rs:540-554 \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":"dice/dice/src/dice.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"da20ec615e8d91324f75975238f8e79fc3e76ae58437d5f3e4facfe1c3dc549a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): prelude/apple/tools/codesign_manifest_tree_postprocessor/main.py:72-93 | prelude/apple/tools/signing_context_tree_postprocessor/main.py:71-92 \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":"prelude/apple/tools/codesign_manifest_tree_postprocessor/main.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"429775322d51910472cfa6a3cdb4ff85e5c5a416b25cf8f72fe06057781f7bb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): games/src/games.rs:514-523 | games/src/games.rs:563-575 \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":"games/src/games.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac307f25ff20d4633369f0b366be23d72c66c82816d00afca44ebccd50e31861"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): starlark-rust/starlark/src/environment/names.rs:134-144 | starlark-rust/starlark/src/values/types/dict/value.rs:338-347 \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":"starlark-rust/starlark/src/environment/names.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a74d10dca4f60e25187a082a775c57415fdb8d3ebdc80ddbb96e0f4ecd8bfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): dice/dice/src/epoch/cache.rs:102-119 | dice/dice/src/epoch/cache.rs:121-137 \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":"dice/dice/src/epoch/cache.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b612129bc83848b168defcc2791fe6210c1591e093c70bed779dd972eace2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/core/util/graph/MutableDirectedGraph.java:216-223 | prelude/toolchains/android/src/com/facebook/buck/core/util/graph/MutableDirectedGraph.java:225-232 \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":"prelude/toolchains/android/src/com/facebook/buck/core/util/graph/MutableDirectedGraph.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e4c0579b67e1fcf5a6f0a7003797ff1bfc7dfb200cd8ad955b01aa7f2ea0f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/buck2_action_impl/src/actions/impls/write_json.rs:180-191 | app/buck2_action_impl/src/actions/impls/write_macros.rs:141-156 \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":"app/buck2_action_impl/src/actions/impls/write_json.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b23df09211bb4f4923a0fc1c1af12474189c04bbd926729a1f83dc74a67ffa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): app/buck2_fs/src/paths/forward_rel_path.rs:352-364 | app/buck2_fs/src/paths/forward_rel_path.rs:368-383 | app/buck2_fs/src/paths/forward_rel_path.rs:386-401 \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":"app/buck2_fs/src/paths/forward_rel_path.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"2275cf00cd7ebb8f26be7c2de6aebf723e64dd136e1740c850cdbb83e36c1ba0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/InnerClassesTable.java:68-81 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/InnerClassesTable.java:84-93 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/InnerClassesTable.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e49508987acb10d10ebde799e544ff78cb10baeda38073d700bd29816ab4b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:483-496 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:492-505 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"9470badbb359025117ccd696bf71d111c8a7c7c606b4138b3c06c32788c67e58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/buck2_build_api/src/build/build_report.rs:1251-1279 | app/buck2_build_api/src/build/build_report.rs:1293-1319 \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":"app/buck2_build_api/src/build/build_report.rs"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9deba6ba886400e3d437874e671155df70277cec24f4ef7349307cb750873f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): dice/dice/src/storage.rs:753-760 | pagable/src/storage/traits.rs:130-137 \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":"dice/dice/src/storage.rs"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40918d8af7c93b63458ca16abf684045fac244ba3be2669f14d47a481704058"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/android/exopackage/ExopackageUtil.java:23-30 | prelude/toolchains/android/src/com/facebook/buck/android/exopackage/ExopackageUtil.java:33-40 \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":"prelude/toolchains/android/src/com/facebook/buck/android/exopackage/ExopackageUtil.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0cde8465182c7068ecc29b3743589c1d7d4e3bcca1225c86f63e9a3ebe2168"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/buck2_node/src/nodes/targets_map.rs:142-152 | app/buck2_node/src/nodes/targets_map.rs:212-222 \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":"app/buck2_node/src/nodes/targets_map.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1119e7fc72a074f4b7136cb59b0abe56fd618dad797bdc0924ddc07ea3b0c54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): starlark-rust/starlark/src/typing/fill_types_for_lint.rs:357-370 | starlark-rust/starlark/src/typing/fill_types_for_lint.rs:393-405 \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":"starlark-rust/starlark/src/typing/fill_types_for_lint.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"184a51d1e7995e73b388d6d3585890721b15fc3547cf5f67359bc6c3d09b1725"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:100-111 | starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:116-129 \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":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc0fb99ec95ed6e3ecbff9a2f452e7f6c06c9cd5e19564563c7b3cfab01f158"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/android/manifest/GenerateManifestExecutableMain.java:58-70 | prelude/toolchains/android/src/com/facebook/buck/android/manifest/ReplaceApplicationIdPlaceholdersExecutableMain.java:40-53 \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":"prelude/toolchains/android/src/com/facebook/buck/android/manifest/GenerateManifestExecutableMain.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddfbcfd3e2ad62ddbd5c7fe604bd36ab88e270f901cac426e2e4220e7eb7300"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/buck2_client_ctx/src/subscribers/simpleconsole.rs:386-401 | app/buck2_client_ctx/src/subscribers/superconsole.rs:890-906 \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":"app/buck2_client_ctx/src/subscribers/simpleconsole.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaea31aeeacb367e54b08c61aa313033349c532c8d5e943ffb21c2a4b0979f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/buck2_configured/src/nodes.rs:1896-1908 | app/buck2_configured/src/nodes.rs:1911-1923 \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":"app/buck2_configured/src/nodes.rs"},"region":{"startLine":1896}}}],"partialFingerprints":{"codehealthFindingId/v1":"e674d3e02a59cbfa4ff8215f047a9fa8f24df241fdca1333fee5914b469d13dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/buck2_file_watcher/src/fs_hash_crawler.rs:304-318 | tools/retrace/src/ingest/cache.rs:63-78 \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":"app/buck2_file_watcher/src/fs_hash_crawler.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68c60de04b6eafa69eebaf9d4488d6ad28c47ba01e8108cf62436727ff391ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): app/buck2_bxl/src/bxl/starlark_defs/nodes/configured/attr_resolution_ctx.rs:107-120 | app/buck2_bxl/src/bxl/starlark_defs/nodes/configured/attr_resolution_ctx.rs:125-138 | app/buck2_bxl/src/bxl/starlark_defs/nodes/configured/attr_resolution_ctx.rs:140-153 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/nodes/configured/attr_resolution_ctx.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6a6a32dcb273a19e7bc0428c1c2ac05158316238b2d40eff259a49772aa3d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/buck2_artifact/src/artifact/artifact_path.rs:144-159 | app/buck2_artifact/src/artifact/artifact_path.rs:167-182 \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":"app/buck2_artifact/src/artifact/artifact_path.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdcf1d06dc41bc9bcd27b95ab563032d091070e3525e4bce443fa6dc909f8b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/buck2_node/src/attrs/attr_type/dict.rs:167-174 | app/buck2_node/src/attrs/attr_type/dict.rs:204-211 \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":"app/buck2_node/src/attrs/attr_type/dict.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1e63c9d1e1dd5742fd340681cb463050c1a3fbd7c15ff52ce82ad5e385a0ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): tools/retrace/src/sim.rs:337-347 | tools/retrace/src/sim.rs:352-364 \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":"tools/retrace/src/sim.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cb308558b5bdf0540f71ebe3fe0ac5cf307abc59fc1564fd90917c3e178108"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/cd/ErrorInterceptor.java:356-368 | prelude/toolchains/android/src/com/facebook/buck/jvm/cd/ErrorInterceptor.java:370-386 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/cd/ErrorInterceptor.java"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9cafd8decc93e34ebd228b402d850d4d840bcf3d2ba3ea585d1c03e5e2015a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/kotlin/KotlinMetadataReader.java:350-359 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/kotlin/KotlinMetadataReader.java:366-375 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/kotlin/KotlinMetadataReader.java"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbf2be4172b2460381a55316adc0e6809bad37c2fa158a006fd7dc0577d0e52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/util/zip/DeterministicZipBuilder.java:39-50 | prelude/toolchains/android/src/com/facebook/buck/util/zip/DeterministicZipBuilder.java:79-89 \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":"prelude/toolchains/android/src/com/facebook/buck/util/zip/DeterministicZipBuilder.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b657b5e0031f080f11dc66e0df0f67bda1d6ab7fb25ef23c0e82da514c962168"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/buck2_http/src/client.rs:95-102 | app/buck2_http/src/client.rs:109-116 \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":"app/buck2_http/src/client.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba9354462be6abb1b7cfeecec57072fd7324ca51ca62b7872b2386d3f611203"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): starlark-rust/starlark/src/stdlib/extra.rs:176-188 | starlark-rust/starlark/src/stdlib/extra.rs:191-199 \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":"starlark-rust/starlark/src/stdlib/extra.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87a0d7635aef73612e9bfd3d448f9dbb332c488266bfd06b9d3521e89ac30be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): starlark-rust/starlark/src/values/types/num/value.rs:193-200 | starlark-rust/starlark/src/values/types/num/value.rs:202-209 \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":"starlark-rust/starlark/src/values/types/num/value.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6afb97380c28a530d7d9a735f4029b5bef1199350aab4615ddafc64512225c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/java/lang/model/MoreElements.java:107-118 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/lang/model/MoreElements.java:120-132 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/lang/model/MoreElements.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ecfa70070c74040fe24fe895a46ea8d0abd84ebb669d69c871a004092d3e90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): app/buck2_build_api/src/interpreter/rule_defs/resolve_query_macro.rs:59-70 | app/buck2_dynamic_actions/src/storage.rs:79-89 | app/buck2_transition/src/transition/starlark.rs:145-154 | starlark-rust/starlark/src/collections/symbol/map.rs:180-189 | starlark-rust/starlark/src/pagable/starlark_pagable_impls.rs:209-218 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/resolve_query_macro.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb12e215612b44019fb4ad9f93a322bc34daaf8adfcb056665e9c4181269788"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/buck2_bxl/src/bxl/starlark_defs/nodes/node_attrs.rs:35-42 | app/buck2_bxl/src/bxl/starlark_defs/nodes/node_attrs.rs:67-74 \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":"app/buck2_bxl/src/bxl/starlark_defs/nodes/node_attrs.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5e8e26432fa173a951b9708dd58d52f41c23438ea0e50827d90b88a5e2958f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/buck2_cmd_lsp_server/src/lib.rs:799-809 | app/buck2_server_starlark_debug/src/run.rs:49-59 \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":"app/buck2_cmd_lsp_server/src/lib.rs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb32a7131fa2a738ebb7fee6cc563c1bf611a1c3bd5cd965d951ea815f6ad1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): shed/mini_map/src/mut_insertion_map.rs:327-333 | shed/mini_map/src/mut_insertion_map.rs:341-347 | shed/mini_map/src/mut_insertion_map.rs:374-380 | shed/mini_map/src/mut_insertion_map.rs:458-464 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shed/mini_map/src/mut_insertion_map.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5263e77f89a3373de5e1f31ea019d8073004fb017bc99f42dc8a2f73f202c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): starlark-rust/starlark/src/values/freeze.rs:381-392 | starlark-rust/starlark/src/values/freeze.rs:401-410 | starlark-rust/starlark/src/values/freeze.rs:423-434 \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":"starlark-rust/starlark/src/values/freeze.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"688f660d17041a4b051ad40bd869996e2cada7c64fa8743a80490a9727088ab3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): tools/starlark_fmt/lib/autofixes/sort_loads.rs:172-177 | tools/starlark_fmt/lib/autofixes/sort_loads.rs:202-211 \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":"tools/starlark_fmt/lib/autofixes/sort_loads.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"576e02fda3c2d2045160d07403c506cee2689fb63b84871ce6dfe391fabf727c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): prelude/toolchains/android/src/com/facebook/buck/android/IsolatedApkInfo.java:51-61 | prelude/toolchains/android/src/com/facebook/buck/android/build_config/BuildConfigFields.java:80-91 | prelude/toolchains/android/src/com/facebook/buck/util/zip/collect/FileZipEntrySource.java:41-51 | prelude/toolchains/android/src/com/facebook/buck/util/zip/collect/ZipEntrySourceFromZip.java:55-66 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/IsolatedApkInfo.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdd3feb7fc983cad0b28a326bf4192ff44a3ca2b25f879c291b9d302cc6c912"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): app/buck2_build_api/src/interpreter/rule_defs/cmd_args/builder.rs:560-573 | app/buck2_build_api/src/interpreter/rule_defs/cmd_args/builder.rs:575-589 | app/buck2_build_api/src/interpreter/rule_defs/cmd_args/builder.rs:609-620 \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":"app/buck2_build_api/src/interpreter/rule_defs/cmd_args/builder.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7de56d465aab51ac9b72b722a2d788aa4955aef9cfccdcfdce93c2eaa328710"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/buck2_directory/src/directory/builder.rs:271-282 | app/buck2_directory/src/directory/builder.rs:284-296 \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":"app/buck2_directory/src/directory/builder.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2c5624cb2302974e2dcfa84c90c25e5e84d9f52b3a79c79cfd91deccff514b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/buck2_execute/src/digest.rs:65-73 | app/buck2_execute/src/digest.rs:78-87 \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":"app/buck2_execute/src/digest.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8c7ea38116a4745586a447833a08323a2b0277608e124edfa50984fa3d6df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): app/buck2_node/src/attrs/attr_type/plugin_dep.rs:96-106 | app/buck2_node/src/attrs/attr_type/source.rs:91-102 | app/buck2_node/src/attrs/attr_type/source.rs:175-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 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":"app/buck2_node/src/attrs/attr_type/plugin_dep.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"095581d3540142331ffddcc64cd3aaf21124c855790f017229527e923813c9dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/buck2_util/src/os/win/network_interface.rs:33-42 | app/buck2_util/src/os/win/network_interface.rs:66-75 \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":"app/buck2_util/src/os/win/network_interface.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f74e23504a92d887fe0319d75990b77eaf44f1defcab5d8b65b9cdb2ce75f60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pagable/src/typetag.rs:318-325 | pagable/src/typetag.rs:333-340 \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":"pagable/src/typetag.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d203f1954574700e1d45ee70612a418f778657f1cb9d3715795a273ed20679"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): shed/mini_map/src/insertion_map/raw.rs:214-221 | shed/mini_map/src/insertion_map/raw.rs:224-231 \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":"shed/mini_map/src/insertion_map/raw.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"530666ae794afd4f63ca09d47d79ae79bd9c0912183ebd80630927118edac072"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): starlark-rust/starlark/src/eval/bc/compiler/expr.rs:197-211 | starlark-rust/starlark/src/eval/bc/compiler/expr.rs:218-231 \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":"starlark-rust/starlark/src/eval/bc/compiler/expr.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3c59193a4615be10761c2d47c3783ad2af89153163e7f12747e109c34c7083"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): starlark-rust/starlark/src/values/types/int/int_or_big.rs:554-561 | starlark-rust/starlark/src/values/types/int/int_or_big.rs:567-574 \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":"starlark-rust/starlark/src/values/types/int/int_or_big.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d34e54fd34d2ecb70ba7f10bdefba853a9832d2a7d3225c99f2f27f33a1a76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): starlark-rust/starlark_derive/src/bc.rs:68-84 | starlark-rust/starlark_derive/src/bc.rs:94-108 \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":"starlark-rust/starlark_derive/src/bc.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4826410afabf0e6761928b5bf7c1aa4028632a712f6ee5b1c913ee7d8df05f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): prelude/toolchains/android/src/com/facebook/buck/features/zip/rules/utils/ZipMain.java:62-74 | prelude/toolchains/android/src/com/facebook/buck/util/zip/JarBuilderMain.java:84-96 | prelude/toolchains/android/src/com/facebook/buck/util/zip/ZipScrubber.java:247-259 \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":"prelude/toolchains/android/src/com/facebook/buck/features/zip/rules/utils/ZipMain.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6859637c6fb6e4da800ffef3826e9876d4a5a728933e03b49b9f23feea53f1e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/ImportsTracker.java:113-127 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/ImportsTracker.java:177-187 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/ImportsTracker.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d11451b137a12804ce2aa14eb51f6ccc139636063da00accda5f08d1be7b519"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/util/zip/Zip.java:129-135 | prelude/toolchains/android/src/com/facebook/buck/util/zip/Zip.java:139-145 \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":"prelude/toolchains/android/src/com/facebook/buck/util/zip/Zip.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b94a9d606aef82a74cbd7843b1082a13d2d731c05b38afe66c82c1b8735a06e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/buck2_build_api/src/build/graph_properties.rs:213-221 | app/buck2_configured/src/nodes.rs:1629-1641 \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":"app/buck2_build_api/src/build/graph_properties.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe970144457f10bb5f6c14a8fd8145f9ced6fdac8d0a5c4175253c857007ef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): app/buck2_bxl/src/bxl/starlark_defs/file_set.rs:140-146 | app/buck2_bxl/src/bxl/starlark_defs/file_set.rs:161-167 | app/buck2_bxl/src/bxl/starlark_defs/targetset.rs:250-256 | app/buck2_bxl/src/bxl/starlark_defs/targetset.rs:265-271 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/file_set.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d189efe8cd55f88a72e3655a9f961930c321dab6d25cb189a103aad930ac0578"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/buck2_cmd_starlark_server/src/typecheck.rs:67-78 | app/buck2_cmd_starlark_server/src/typecheck.rs:80-89 \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":"app/buck2_cmd_starlark_server/src/typecheck.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea945aaaa3897e1990c2978907217d40df0a8a91cf02351c57d4ccdad219db08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): app/buck2_event_log/src/writer.rs:127-140 | app/buck2_event_log/src/writer.rs:186-196 | app/buck2_execute_local/src/status_decoder.rs:162-173 \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":"app/buck2_event_log/src/writer.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c642e8fbb9a99b7fe66eee5f03a182cd711a93755fae77807f8c66c410c2d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/buck2_node/src/attrs/attr_type/tuple.rs:139-145 | app/buck2_node/src/attrs/attr_type/tuple.rs:170-176 \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":"app/buck2_node/src/attrs/attr_type/tuple.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73d3fecfa61fc739a08aa16adfe413bccd743794b06694d10f9eadff8bae1bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): integrations/rust-project/src/scuba.rs:59-67 | integrations/rust-project/src/scuba.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":"integrations/rust-project/src/scuba.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afacd57f9c51bdb7bd00523e1249c148b149b99e1eea9de56cb368d706ccaa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): shed/lock_free_hashtable/src/fixed_cap.rs:158-168 | shed/lock_free_hashtable/src/fixed_cap.rs:172-183 \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":"shed/lock_free_hashtable/src/fixed_cap.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe576c7f633fe83007c91c838cea83433eaab2f731c10b04fbe70a5518629d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): starlark-rust/starlark_derive/src/module/parse/fun.rs:613-628 | starlark-rust/starlark_derive/src/module/parse/fun.rs:631-645 \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":"starlark-rust/starlark_derive/src/module/parse/fun.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fe2aa3f1bd214ddbd2cea0f9017cc54464e61b2768300ba59a5cc2854b9f63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/ImportsTracker.java:74-85 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/ImportsTracker.java:224-237 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/ImportsTracker.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42d5eb279b4a383655ad758bbb4e22e422e874e4cd16e358bcb3fcb936f3bec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/buck2_action_impl/src/actions/impls/cas_artifact.rs:439-452 | app/buck2_action_impl/src/actions/impls/download_file.rs:414-427 \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":"app/buck2_action_impl/src/actions/impls/cas_artifact.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"a949fee319e2f8fef3eae3b8ea77b57e4e904088ddf2818b1b296f1e34496679"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): app/buck2_cmd_targets_server/src/targets/fmt.rs:343-363 | app/buck2_cmd_targets_server/src/targets/fmt.rs:457-477 | app/buck2_cmd_targets_server/src/targets/fmt.rs:479-493 \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":"app/buck2_cmd_targets_server/src/targets/fmt.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"95501bad41adcb5ab5e4184747a31c4f9a630223fa292e935523f4b637e4f0a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): app/buck2_events/src/lib.rs:231-254 | shed/scribe_client/src/producer.rs:104-127 \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":"app/buck2_events/src/lib.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"7387bc2aa71abf00158f212038131c10444440db0cd661658e1b3c7fb2dc1300"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/buck2_fs/src/fs_util.rs:283-289 | app/buck2_fs/src/fs_util.rs:291-297 \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":"app/buck2_fs/src/fs_util.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b355abf316b3bfe013a97e4bc8771b82ea20362b2437a2f6f9226bbaf8c45df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/buck2_fs/src/fs_util.rs:1306-1314 | app/buck2_fs/src/fs_util.rs:1349-1357 \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":"app/buck2_fs/src/fs_util.rs"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"f720f96c53a729c51ac3f09c7422b40768d2ddbbb5f1bc2b6b652e8b8ce56758"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/buck2_node/src/nodes/configured.rs:928-936 | app/buck2_node/src/nodes/configured.rs:966-974 \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":"app/buck2_node/src/nodes/configured.rs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ee1dc55fa86c5e7219c3d0e6aa87c2bf05162f23fd2d9d39f4b764ab6d5e06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): starlark-rust/starlark/src/values/layout/avalue.rs:331-340 | starlark-rust/starlark/src/values/layout/avalues/list.rs:151-159 \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":"starlark-rust/starlark/src/values/layout/avalue.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae7475743d29e9ba7bb56a1d8fac4a4b692599491aa101b5d5b1140d467fb02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): tools/retrace/src/ingest/profile.rs:214-224 | tools/retrace/src/ingest/profile.rs:232-243 \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":"tools/retrace/src/ingest/profile.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28ee7aba4230a18a521b8e435a38cebabd45e4491bc0e99ed52b3cfd69440c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/buck2_action_impl/src/actions/impls/run/dep_files.rs:2289-2307 | app/buck2_action_impl/src/actions/impls/run/dep_files.rs:2352-2370 \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":"app/buck2_action_impl/src/actions/impls/run/dep_files.rs"},"region":{"startLine":2289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dc6eb854ee176384729ac2055013e15fe92d6c683e5ddd29389e12eabe72a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_iterator.rs:94-104 | app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_iterator.rs:261-271 | app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_iterator.rs:316-326 \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":"app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_iterator.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e380fe3c6a64dd07af9a0a74007f9073c6b390234168a05c215b6cd507529e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/buck2_event_observer/src/two_snapshots.rs:33-41 | app/buck2_util/src/sliding_window.rs:63-71 \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":"app/buck2_event_observer/src/two_snapshots.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"278cde08f33b69e15e3e797eb8511938073dba3dd17499e8f10977a706a30436"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): app/buck2_execute_impl/src/materializers/v2/tree.rs:480-494 | app/buck2_execute_impl/src/materializers/v2/tree.rs:497-509 \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":"app/buck2_execute_impl/src/materializers/v2/tree.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"d366c54ef0001987577588202fafd0588d91c27817288fc7511996a53c0ffeac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/buck2_interpreter/src/paths/module.rs:92-99 | app/buck2_interpreter/src/paths/path.rs:144-151 \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":"app/buck2_interpreter/src/paths/module.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc75995b8916f9924ee2422bf4c6c64fce597ed5b9cc2e02d8ae88d9cfe8819"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/buck2_node/src/nodes/configured.rs:1105-1114 | app/buck2_node/src/nodes/configured.rs:1121-1131 \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":"app/buck2_node/src/nodes/configured.rs"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df3387a0cc2032035fd88794643a395660c6e6ef24fddef200560debb0792ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/buck2_node/src/nodes/unconfigured.rs:402-410 | app/buck2_node/src/nodes/unconfigured.rs:418-429 \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":"app/buck2_node/src/nodes/unconfigured.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd48ca7f5ed314613275280ad5b7ad9a22c38b038a2e4f47dab61f83fdb1e42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/buck2_node/src/nodes/unconfigured.rs:764-771 | app/buck2_node/src/nodes/unconfigured.rs:774-784 \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":"app/buck2_node/src/nodes/unconfigured.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43470b18aaa3191807ab4bede1fc7f5c935828799b91c9672c59a62b015bbb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/buck2_server_ctx/src/target_resolution_config.rs:116-125 | app/buck2_server_ctx/src/target_resolution_config.rs:131-148 \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":"app/buck2_server_ctx/src/target_resolution_config.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"897ef40dd107ee2b9f48e0b83c5c5e87953bc45d04284e8d589ea49b63b05343"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): starlark-rust/starlark/src/values/types/set/value.rs:356-362 | starlark-rust/starlark/src/values/types/set/value.rs:365-375 \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":"starlark-rust/starlark/src/values/types/set/value.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bc35f940277b0eefdb3c477d47c1c9dec3dd2bcdcbb79a180f01fd259d9f9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): tools/retrace/src/execution.rs:344-353 | tools/retrace/src/gui/load_pipeline.rs:60-67 | tools/retrace/src/types.rs:1192-1200 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/execution.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"7787c08b535be81f36b444c9f9bc9e4ee3771b6c97bce3c4afd3077045a50756"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): prelude/cxx/tools/clang_tidy_wrapper.py:83-94 | prelude/cxx/tools/make_comp_db.py:26-41 \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":"prelude/cxx/tools/clang_tidy_wrapper.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf414027aa97d3ba405166ea6c139a30b12904f72e407ae33c65c80d604e935f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:377-389 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:380-392 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:384-396 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"0901b09411dd14f8ceafb354d8e01628beac711577e3713b635f3ee8302db362"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): app/buck2/src/panic.rs:122-136 | dice/fuzzy_dice/src/execution.rs:608-616 | pagable_storage/src/storage/sqlite.rs:715-723 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2/src/panic.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8617d094d1b3509c3cd291fa85d1c815dc09ab34114f045293d415a6e3b58651"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/buck2_cmd_targets_server/src/json.rs:30-41 | starlark-rust/starlark/src/eval/runtime/profile/csv.rs:40-56 \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":"app/buck2_cmd_targets_server/src/json.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6662fbe4e003b0648587307fc33b3ef3d1b71756e0413aa90b11d3f2f1e182"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/buck2_query/src/query/syntax/simple/functions/helpers.rs:254-263 | app/buck2_query/src/query/syntax/simple/functions/helpers.rs:271-280 \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":"app/buck2_query/src/query/syntax/simple/functions/helpers.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bc96295d45f5eaee0735968825f16a822e054d2d5c1f35ff2626b52ef22708"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 17\u002B corresponding lines): app/buck2_query_impls/src/aquery/bxl.rs:107-123 | app/buck2_query_impls/src/aquery/bxl.rs:130-146 | app/buck2_query_impls/src/aquery/bxl.rs:153-170 | app/buck2_query_impls/src/aquery/bxl.rs:178-196 | app/buck2_query_impls/src/uquery/bxl.rs:95-111 | app/buck2_query_impls/src/uquery/bxl.rs:118-134 | app/buck2_query_impls/src/uquery/bxl.rs:141-158 | app/buck2_query_impls/src/uquery/bxl.rs:166-184 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/aquery/bxl.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec6e6d4f630241814137bfdae17e3b59d744ed1e78d5a9f0cc17f23932436e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 18\u002B corresponding lines): app/buck2_query_impls/src/cquery/bxl.rs:102-123 | app/buck2_query_impls/src/cquery/bxl.rs:131-152 | app/buck2_query_impls/src/cquery/bxl.rs:178-197 | app/buck2_query_impls/src/cquery/bxl.rs:206-226 | app/buck2_query_impls/src/cquery/bxl.rs:299-316 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/cquery/bxl.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eda7e9882a856c0374eced5b77306d836ab851697aef046d9753a9aa0e25ffd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): dice/dice/src/api/computations.rs:288-296 | dice/dice/src/api/computations.rs:316-323 \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":"dice/dice/src/api/computations.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd9f4876c977fb5ec8a568dfb5610c864e79849ac3c5335716fd7b9bdd053d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): starlark-rust/starlark/src/values/comparison.rs:31-41 | starlark-rust/starlark/src/values/comparison.rs:51-66 \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":"starlark-rust/starlark/src/values/comparison.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4a188c69734739c79d3671d9847939ba0f9baa3f51636178522e1a4047a4b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/InterfaceValidator.java:211-223 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/InterfaceValidator.java:225-236 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/InterfaceValidator.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d05380d29adac1cd9c765f9aec4701cc4985a9a5257d6f7b26aea6e734ba163"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/buck2_file_watcher/src/edenfs/sapling.rs:265-273 | app/buck2_file_watcher/src/edenfs/sapling.rs:283-291 \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":"app/buck2_file_watcher/src/edenfs/sapling.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dff687d0e09eb482c6a0ad94d4622eb5459c782728f21c9864940f1363aec29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): app/buck2_node/src/attrs/attr_type/arg.rs:1320-1333 | app/buck2_node/src/attrs/attr_type/query.rs:477-484 | app/buck2_node/src/attrs/attr_type/query.rs:490-503 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/attr_type/arg.rs"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"3115584d08ff46306af3d6fe9487cc76912e0ab90f3cda5a1cb95911784c6a3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/buck2_node/src/attrs/coerced/select.rs:340-346 | app/buck2_node/src/attrs/coerced/select.rs:351-357 \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":"app/buck2_node/src/attrs/coerced/select.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"498cfa881869e63567d17cf38e278d057a2cbee01d6c474000462b0400868a49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): dice/dice/src/updater.rs:113-124 | dice/dice/src/updater.rs:128-138 \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":"dice/dice/src/updater.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"600224cfc891f0771971d7862bff268e203928dc1fb6e1c7e3921adfdb09e99c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): games/src/games/sokoban.rs:539-552 | games/src/games/sokoban.rs:554-568 \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":"games/src/games/sokoban.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e84f849adf7aad44f6ade8c7c937a0555b054523cfdef1e9ea9f5409376d890"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): starlark-rust/starlark/src/eval/bc/instr_impl.rs:1532-1539 | starlark-rust/starlark/src/eval/bc/instr_impl.rs:1553-1559 \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":"starlark-rust/starlark/src/eval/bc/instr_impl.rs"},"region":{"startLine":1532}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfa4652fc410d0127e357b31a0187a6b38a3bb4a74f39150e1ec82f40a9cb0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): starlark-rust/starlark/src/values/types/num/value.rs:250-255 | starlark-rust/starlark/src/values/types/num/value.rs:261-266 | starlark-rust/starlark/src/values/types/num/value.rs:272-277 \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":"starlark-rust/starlark/src/values/types/num/value.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5e458bd18d58115180494624d834152c908b0004f9ce5479ad1a44cc44488e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): tools/retrace/src/analyses.rs:103-115 | tools/retrace/src/analyses.rs:117-129 \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":"tools/retrace/src/analyses.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db89373074bad6a11b5742fd16e4db78821cb1c61975f684e26a3935d9d2d04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): app/buck2_node/src/attrs/attr_type/one_of.rs:56-65 | app/buck2_node/src/attrs/attr_type/split_transition_dep.rs:102-112 | app/buck2_node/src/attrs/attr_type/tuple.rs:64-73 \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":"app/buck2_node/src/attrs/attr_type/one_of.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa32e3d32acd0455c10d73757a37244b64f454c6caa1415be9a0429cd4c984d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): dice/dice/src/key.rs:166-172 | dice/dice/src/key.rs:216-222 \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":"dice/dice/src/key.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e54b41ef3ad80585a83aa447fc989d91b8887ec46f2d400ce4000af24fca6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): shed/mini_map/src/mut_insertion_set.rs:301-310 | shed/mini_map/src/mut_insertion_set.rs:320-326 \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":"shed/mini_map/src/mut_insertion_set.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3adc60c90c7f5fb7827bb8fa681da10af391f32712ce190ad6517650fde20d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): shed/mini_vec/src/mini_vec/into_iter.rs:57-68 | shed/mini_vec/src/mini_vec/into_iter.rs:79-85 \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":"shed/mini_vec/src/mini_vec/into_iter.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2cdbdfc914442bd72432fb1b6a6cbcbf706b1546c7152ef5214b55891e098c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): starlark-rust/starlark/src/values/types/dict/value.rs:487-499 | starlark-rust/starlark/src/values/types/list/value.rs:406-416 \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":"starlark-rust/starlark/src/values/types/dict/value.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"699c1665140fdc6c8d864195f0e45d3d4418744577078549777bcaa8b6a9d175"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): starlark-rust/starlark/src/values/types/namespace/value.rs:128-137 | starlark-rust/starlark/src/values/types/structs/value.rs:91-100 \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":"starlark-rust/starlark/src/values/types/namespace/value.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc876848b42eb05e4a6ca33a08b00af3037f286552be0c2d321a23992fe3f94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): app/buck2_common/src/sqlite/key_value_table.rs:33-47 | app/buck2_execute_impl/src/sqlite/tables/materializer_state_table.rs:622-644 \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":"app/buck2_common/src/sqlite/key_value_table.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5edd0debcde6ab91d96599ed48dcc3c42d41e18019305b8f96e91a878b35f54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/buck2_core/src/deferred/dynamic.rs:59-66 | app/buck2_artifact/src/actions/key.rs:94-101 \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":"app/buck2_core/src/deferred/dynamic.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa150c69958dbf6266c13245e641faee75602d4c21cebc172dc182885a3ef7e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/buck2_directory/src/directory/builder.rs:185-195 | app/buck2_directory/src/directory/find.rs:80-90 \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":"app/buck2_directory/src/directory/builder.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e53c6d95e4f5a063c36fd5858df32f363eb7af960a115f5654b06aa06d0924"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/buck2_execute_local/src/win/job_object.rs:178-194 | app/buck2_execute_local/src/win/job_object.rs:196-212 \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":"app/buck2_execute_local/src/win/job_object.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc13a056bd6361812d54ac270a794b41de222857a42153d1b03d22c2b33b6bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): app/buck2_node/src/attrs/attr_type/query.rs:186-196 | app/buck2_node/src/attrs/attr_type/split_transition_dep.rs:87-98 | app/buck2_node/src/metadata/map.rs:44-51 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/attr_type/query.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a886d8d41721aa8789059118a70270ae49766534f904e84ab7ec67452023e2c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): dice/dice/src/dice.rs:187-196 | dice/dice/src/dice.rs:202-211 \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":"dice/dice/src/dice.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"2161328e9f58a030913ffa17cd7043c794e158835fad9caea57fceb8cd13b7c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): starlark-rust/starlark/src/eval/runtime/inlined_frame.rs:79-85 | starlark-rust/starlark/src/values/layout/heap/sealed.rs:1132-1138 \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":"starlark-rust/starlark/src/eval/runtime/inlined_frame.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"799c3411687dfec0d87ee3d7364d37367dffb1db0ecee1fea806a0563d9d5a5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/buck2_action_impl/src/actions/impls/run/dep_files.rs:2276-2285 | app/buck2_action_impl/src/actions/impls/run/dep_files.rs:2374-2383 \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":"app/buck2_action_impl/src/actions/impls/run/dep_files.rs"},"region":{"startLine":2276}}}],"partialFingerprints":{"codehealthFindingId/v1":"437ef301cc7c5fe063e78011ca8c1e856fff041d0c845c55c397b12b53017abe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): app/buck2_build_api/src/interpreter/rule_defs/resolve_query_macro.rs:48-55 | app/buck2_dynamic_actions/src/storage.rs:67-74 | app/buck2_transition/src/transition/starlark.rs:134-141 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/resolve_query_macro.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6e425a9fb4795da8dc2676996063d4719c3530b2090fd6bc7da610340cd92e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): app/buck2_health_check/src/service/health_check_rpc_client.rs:64-75 | app/buck2_execute/src/re/manager.rs:146-158 \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":"app/buck2_health_check/src/service/health_check_rpc_client.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d45e18d9b14b46aae17234436517e0c2b0ff4f984afc410098d1bdd92162bba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/buck2_util/src/arc_str/packed.rs:62-67 | starlark-rust/starlark/src/values/layout/heap/owned_frozen_ext.rs:350-355 \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":"app/buck2_util/src/arc_str/packed.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfdc13eb326c0d631f6483904349e7853b18eb9aad1bb5ac20c9e78bb854f13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): starlark-rust/starlark/src/typing/oracle/ctx.rs:387-397 | starlark-rust/starlark/src/typing/oracle/ctx.rs:561-572 \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":"starlark-rust/starlark/src/typing/oracle/ctx.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"6534da72b06517994d907210d9d818bbad6ca17598835fbd206782a8f7472630"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): starlark-rust/starlark/src/typing/structs.rs:137-148 | starlark-rust/starlark/src/values/types/namespace/typing.rs:140-151 \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":"starlark-rust/starlark/src/typing/structs.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7a050c232688b66b520dc8d60d257e735638dced0592d20382b9e121cd80eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): tools/starlark_fmt/lib/autofixes/sort_kwargs.rs:307-319 | tools/starlark_fmt/lib/autofixes/sort_list_args.rs:978-990 | tools/starlark_fmt/lib/formatting/subscript_commas.rs:119-130 \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":"tools/starlark_fmt/lib/autofixes/sort_kwargs.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"5610b1638fb6afba7cb1a9acdc298c2800a266e3710a9df15e45ce506c38f20d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/buck2_node/src/attrs/attr_type/plugin_dep.rs:84-91 | app/buck2_node/src/attrs/attr_type/source.rs:79-86 \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":"app/buck2_node/src/attrs/attr_type/plugin_dep.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea7457077ef5875ed3b790854d322c2070b0a0fc9a4d331697bcd30e9142970"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): shed/mini_map/src/fixed_insertion_map.rs:688-696 | shed/mini_map/src/mut_insertion_map.rs:1332-1340 | starlark-rust/starlark_map/src/unordered_map.rs:324-333 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shed/mini_map/src/fixed_insertion_map.rs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"859b9b98788d4de6d2d9a8e9234ba92a293fc39b5a4abee52bb2c0a9f1d00a57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): tools/starlark_fmt/lib/autofixes/sort_list_args.rs:212-222 | tools/starlark_fmt/lib/autofixes/sort_list_args.rs:775-787 \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":"tools/starlark_fmt/lib/autofixes/sort_list_args.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88b3e8e775e3ddbd9f49c0ea25d7be6d136ab94d508e1ef8f6c7ce495b5f7f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): tools/starlark_fmt/lib/formatting/join_plus_call.rs:136-146 | tools/starlark_fmt/lib/formatting/collapse_single_literal_call.rs:238-248 \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":"tools/starlark_fmt/lib/formatting/join_plus_call.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"283d4fcda88aaa22c034044f330d7ccee47c54173e23a66bca430e33e05981ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): prelude/apple/tools/bundling/assemble_bundle_types.py:48-65 | prelude/apple/tools/bundling/incremental_state.py:61-76 \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":"prelude/apple/tools/bundling/assemble_bundle_types.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed63988c669f6108bb7976edfea2f53b59f26572124bc09b7e7521390f7f3c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/buck2_build_api/src/build/detailed_aggregated_metrics/events.rs:192-203 | app/buck2_build_api/src/build/detailed_aggregated_metrics/events.rs:208-217 \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":"app/buck2_build_api/src/build/detailed_aggregated_metrics/events.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdc793e765e9c55f999891fecfcd8b2ada7a7c3d86c0038c2743722b0ea9a56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/buck2_core/src/pattern/pattern.rs:324-332 | app/buck2_query_impls/src/dice.rs:80-92 \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":"app/buck2_core/src/pattern/pattern.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"02caeed4763285b5826eb9e43a344c1eb47c1680f81e3f1e6758f3273f94bbf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/buck2_node/src/attrs/attr_type/string.rs:97-104 | app/buck2_node/src/attrs/attr_type/enumeration.rs:117-124 \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":"app/buck2_node/src/attrs/attr_type/string.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d5058b78cd0633d033ab3a9b4e007d8b04b8be855fcab4b8dee3caffe7041e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/buck2_query/src/query/syntax/simple/eval/set.rs:83-90 | app/buck2_query/src/query/syntax/simple/eval/set.rs:92-102 \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":"app/buck2_query/src/query/syntax/simple/eval/set.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"421a5e34558654e1d175282134ed8d96ef91daaad7b2b2d5d7b592687d1fd355"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): starlark-rust/starlark/src/eval/bc/instr_impl.rs:517-526 | starlark-rust/starlark/src/eval/bc/instr_impl.rs:538-547 \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":"starlark-rust/starlark/src/eval/bc/instr_impl.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbef21205c12637bfcb75dda76eddd8ee1cfe7f1cfa1828c498ff7c1d02bea1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): starlark-rust/starlark/src/values/types/list/value.rs:433-438 | starlark-rust/starlark/src/values/types/tuple/value.rs:165-170 \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":"starlark-rust/starlark/src/values/types/list/value.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"be758d870c853acb93ce0fe71c7fb0ad6ab875243637c622fd60f929ec297038"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/android/dex/MultiDexExecutableMain.java:566-576 | prelude/toolchains/android/src/com/facebook/buck/android/dex/SecondaryDexCompressionExecutableMain.java:173-181 \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":"prelude/toolchains/android/src/com/facebook/buck/android/dex/MultiDexExecutableMain.java"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"062dbf8348651ec1b2e2e8b0412d5e0fddc46c39bbff6b01c740ec70e763bf07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/local_resource_info.rs:133-141 | app/buck2_configuration_providers/src/configuration_info.rs:123-131 \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":"app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/local_resource_info.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3132f97da1590babd7553c99c9c96bf74e6bdab03284ed11f83529e1e250dcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): app/buck2_query_impls/src/frontend.rs:78-108 | app/buck2_query_impls/src/frontend.rs:136-157 \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":"app/buck2_query_impls/src/frontend.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9e616105c29ecfecc9e5afe1dfd8ed71aec6d83547ee3a8d3f5669e16a38d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/java/lang/model/BridgeMethod.java:42-56 | prelude/toolchains/android/src/com/facebook/buck/util/zip/DirectoryJarEntryContainer.java:163-172 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/lang/model/BridgeMethod.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1c19b30403c7cab9f1bb9495e255a53652d5d6d30aef3febe5b9de3c342862"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): app/buck2_execute_impl/src/materializers/deferred.rs:887-903 | app/buck2_execute_impl/src/materializers/deferred.rs:909-924 | app/buck2_execute_impl/src/materializers/deferred.rs:1034-1049 \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":"app/buck2_execute_impl/src/materializers/deferred.rs"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"517e4760d7f3a99926c1b110b71312882030724c326297064f56ded208f63ec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/buck2_execute_impl/src/sqlite/dep_file_state_db.rs:110-127 | app/buck2_execute_impl/src/sqlite/materializer_db.rs:109-124 \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":"app/buck2_execute_impl/src/sqlite/dep_file_state_db.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7151bd52a96c7803705e162a8f8c7d782b031578f35d3d6105eb3d80020cfd47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): starlark-rust/starlark/src/collections/symbol/map.rs:167-174 | starlark-rust/starlark/src/pagable/starlark_pagable_impls.rs:194-201 \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":"starlark-rust/starlark/src/collections/symbol/map.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1605e0a6e86357ef3022b3c348f4eac8ae196954598d17e13de95f46f8fccce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): app/buck2_cmd_debug_client/src/persist_event_logs.rs:351-365 | app/buck2_cmd_rage_client/src/rage.rs:554-567 \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":"app/buck2_cmd_debug_client/src/persist_event_logs.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd641f848e0a6fc53abe17e237354c4533c0db9b3f056177904efcbb8748f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): starlark-rust/starlark/src/values/types/bigint.rs:161-169 | starlark-rust/starlark/src/pagable/starlark_pagable_impls.rs:448-455 \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":"starlark-rust/starlark/src/values/types/bigint.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc47798bf49d5b8a8e2feb60feb1addf661df6855eb1f21ce94fbedd64372c7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/buck2_bxl/src/bxl/starlark_defs/bxl_function.rs:173-181 | app/buck2_interpreter_for_build/src/rule.rs:860-868 \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":"app/buck2_bxl/src/bxl/starlark_defs/bxl_function.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c805e861144146f6e9be3b7a8d9a1a0fb4c0e0d4933c0209cbc3239ec106f126"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/buck2_node/src/attrs/attr_type/split_transition_dep.rs:164-171 | app/buck2_node/src/attrs/attr_type/transition_dep.rs:214-221 \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":"app/buck2_node/src/attrs/attr_type/split_transition_dep.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49e9548c68e820277e8ed4018a2bf3a5b686f7d12d5f3e22d035195c9c1b49d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prelude/erlang/toolchain/dependency_analyzer.erl:48-54 | prelude/erlang/toolchain/dependency_finalizer.erl:22-28 \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":"prelude/erlang/toolchain/dependency_analyzer.erl"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8f7f185ce81cb8f52f3a4056e70adb0e8d7a2eea45554b1b4666a4b855b371"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): starlark-rust/starlark/src/values/types/float/float.rs:338-343 | starlark-rust/starlark/src/values/types/int/view.rs:166-171 \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":"starlark-rust/starlark/src/values/types/float/float.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"243fbba7a74408f17972994496f77fe4fe231b12b195d52dd56621f97920e0fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): starlark-rust/starlark/src/values/types/dict/value.rs:509-514 | starlark-rust/starlark/src/values/types/list/value.rs:426-431 \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":"starlark-rust/starlark/src/values/types/dict/value.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"a371db78e17d8283bd6111990b9cc3ae7cc95bc15f559d67fda0bb61f0f6078b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): shed/mini_map/src/mut_insertion_map.rs:1140-1147 | starlark-rust/starlark_map/src/unordered_map.rs:312-319 \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":"shed/mini_map/src/mut_insertion_map.rs"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"793792c873137a7ff908b59aadd9501ff6295ac6050635740dd674e5896079e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/buck2_bxl/src/bxl/starlark_defs/file_set.rs:155-159 | app/buck2_bxl/src/bxl/starlark_defs/targetset.rs:244-248 \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":"app/buck2_bxl/src/bxl/starlark_defs/file_set.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"54541d999e5be19918a7531cf39a953f3a5d3e9a63c5e3f1bd66103c89eb612b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/buck2_action_impl/src/actions/impls/write.rs:113-120 | app/buck2_action_impl/src/context/write.rs:141-148 \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":"app/buck2_action_impl/src/actions/impls/write.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"04320b6f7d8662bc647b3aca8de8f927834792ce2f88b9fb1e139c032bfc02ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/buck2_build_api/src/analysis/calculation.rs:102-107 | app/buck2_node/src/nodes/configured_frontend.rs:65-70 \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":"app/buck2_build_api/src/analysis/calculation.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"91afbd63d23c92958eaf395ac24cae55e402738d9f2c287dbabed9421c1ff886"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): starlark-rust/starlark/src/values/layout/avalues/tuple.rs:191-202 | starlark-rust/starlark/src/values/layout/avalues/record.rs:165-172 \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":"starlark-rust/starlark/src/values/layout/avalues/tuple.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ab6ad29019094b64583e3b68858d497b8029b968df8f2b405875118735f707"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/buck2_build_api/src/analysis/extra_v.rs:121-129 | app/buck2_interpreter_for_build/src/interpreter/extra_value.rs:91-99 \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":"app/buck2_build_api/src/analysis/extra_v.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a113eba39ddceac5016bddbc48cb60f283a0fc89bbb083fd78c4eff0145ac2fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/buck2_settings_derive/src/lib.rs:80-85 | starlark-rust/starlark_derive/src/type_matcher.rs:111-116 \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":"app/buck2_settings_derive/src/lib.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"65da9f97766828be61bda79c2e3829d1c777f11dedc44536795192e3e3169592"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/default_info.rs:207-215 | app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/install_info.rs:67-72 \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":"app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/default_info.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e1c7ef6b0a718faa01b8210afde686be39ce42490ba674bacc7fcf95709704"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/buck2_directory/src/directory/sorted_slice_map.rs:41-46 | app/buck2_execute_impl/src/materializers/v2/entry.rs:248-253 \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":"app/buck2_directory/src/directory/sorted_slice_map.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"075333709cc1e792d47692d7f0bd239713fc6006d0cc141ce0381fca9dc0346b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/buck2_execute_impl/src/materializers/deferred.rs:186-196 | app/buck2_server/src/paging.rs:360-372 \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":"app/buck2_execute_impl/src/materializers/deferred.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bc0107c8d0d324eb6d080685ca68f6f93426b55ff1bb9ffb2f1b46ec13ac78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/buck2_interpreter_for_build/src/interpreter/calculation.rs:78-87 | app/buck2_node/src/nodes/frontend.rs:100-108 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/interpreter/calculation.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c7ff6fcd22893aeb88af4b6b4227a54ccfe840eabf86392b8a952e8782fe48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): app/buck2_build_api/src/actions/calculation.rs:766-771 | app/buck2_build_api/src/artifact_groups/calculation.rs:622-627 | app/buck2_common/src/legacy_configs/dice.rs:307-312 \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":"app/buck2_build_api/src/actions/calculation.rs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"a510089cb3ff4a0a9597e63d5edccf81d28069b6b914dadcc3c72e306fe0e413"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): starlark-rust/starlark/src/values/types/float/float.rs:308-314 | starlark-rust/starlark/src/values/types/int/view.rs:136-142 \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":"starlark-rust/starlark/src/values/types/float/float.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"920676778b21192eace4aef5248c64c258a4805ea4340fc054c5f9f526af87e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): starlark-rust/starlark/src/values/types/float/float.rs:323-329 | starlark-rust/starlark/src/values/types/int/view.rs:151-157 \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":"starlark-rust/starlark/src/values/types/float/float.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7359fced879dac758d5f665dff93574973fe221995291481a1d5d0301a51107"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/java/AnnotationProcessorFactory.java:69-83 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/PluginFactory.java:36-51 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/AnnotationProcessorFactory.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b44272c74a0ffb2268d87f1c0a985c4f8ec66901ff6743e7acf1d619b8e1a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): app/buck2_build_api/src/dynamic/calculation.rs:56-61 | app/buck2_interpreter/src/load_module.rs:105-110 | app/buck2_node/src/execution.rs:95-100 \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":"app/buck2_build_api/src/dynamic/calculation.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c457e8dd41252d5900b30ae74db6c71b290f95dcf9a0f980526dca86d8a99c69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/buck2_bxl/src/bxl/starlark_defs/bxl_function.rs:152-157 | app/buck2_interpreter_for_build/src/rule.rs:153-158 \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":"app/buck2_bxl/src/bxl/starlark_defs/bxl_function.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a70623eecd96cb9738b0c85ee782317c039de6a43c121316c779d29a6640b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/buck2_daemon/src/daemon.rs:168-175 | app/buck2_tenant_proxy/src/process.rs:61-67 \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":"app/buck2_daemon/src/daemon.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb775f91fb1d09cb99caaf7282b267f7df9f4e4f40abd0ea4ecd81363931b798"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): prelude/erlang/toolchain/app_src_builder.erl:443-453 | prelude/erlang/toolchain/appup_src_builder.erl:171-176 \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":"prelude/erlang/toolchain/app_src_builder.erl"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"7463eb7fac25c5cc47092c8e4faca63f35afffe0a82f72abd2678b229ce9fa7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): starlark-rust/starlark/src/values/types/float/float.rs:358-363 | starlark-rust/starlark/src/values/types/int/view.rs:112-117 \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":"starlark-rust/starlark/src/values/types/float/float.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e2b7534b46d8718476c0b66c4cfeb98a6fc30b88d49aaae66b909846c62284"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/FrontendPipelineCompat.kt:188-194 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/FrontendPipelineCompat.kt:143-152 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/FrontendPipelineCompat.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33234c8a63662cf455dc2e54c8ecd12507e200962bd0ca152cdaec5c451d6e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:724-727 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:761-764 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:770-773 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"087df587eae37c276d75ceb539b01ebeaabe93cca02fae00ba60bd8bd024d71f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 6\u002B corresponding lines): allocative/allocative_derive/src/derive_allocative.rs:46-51 | allocative/allocative_derive/src/root.rs:15-20 | pagable_derive/src/derive_pagable_panic.rs:18-23 | pagable_derive/src/derive_pagable_unsupported.rs:20-25 | starlark-rust/starlark_derive/src/starlark_pagable_panic.rs:30-35 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocative/allocative_derive/src/derive_allocative.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6eaf39861389d473e815fafec9ec16df9abf8fcc99435dcc9e4ba82d4b6ce0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/buck2_action_impl/src/actions/impls/run/dep_files.rs:2825-2831 | app/buck2_execute/src/directory.rs:98-104 \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":"app/buck2_action_impl/src/actions/impls/run/dep_files.rs"},"region":{"startLine":2825}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf851c24bbadee7e28aff57b316e8c01d2d95157dda9e788dd856d7cec0afe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/buck2_core/src/rollout_percentage.rs:186-196 | app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs:2344-2355 \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":"app/buck2_core/src/rollout_percentage.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf7d945dc711b1dcbd37147e83cbde0a7060cd057261f5dd27168646e1a1db1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTimeoutEnforcingRunListener.kt:41-53 | prelude/toolchains/android/src/com/facebook/buck/testrunner/RobolectricTimeoutEnforcingRunListener.kt:41-55 \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":"prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTimeoutEnforcingRunListener.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ccf769f8e7836fae1782339d6c791b29a459d0ed1456e264c3401070a09224"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/buck2_build_api/src/bxl/unconfigured_attribute.rs:68-76 | app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs:918-926 \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":"app/buck2_build_api/src/bxl/unconfigured_attribute.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4158b6370a17b96e3f338766b6b10ddb5810b73521adf73cfe63d049ccd8089f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): app/buck2_build_api/src/bxl/unconfigured_attribute.rs:83-91 | app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs:933-941 \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":"app/buck2_build_api/src/bxl/unconfigured_attribute.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9845ad18cc7cd7409b199617c0f4c230ed323cacaeb08d410eee1264685e98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/buck2_cmd_audit_server/src/server.rs:66-75 | app/buck2_cmd_starlark_server/src/lib.rs:80-89 \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":"app/buck2_cmd_audit_server/src/server.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1cfe70e1c5c4e0b4b023a64cc5d50bdf1a1dde401ccdf773c16707caec68b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/buck2_core/src/configuration/config_setting.rs:36-39 | starlark-rust/starlark_map/src/unordered_map.rs:288-293 \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":"app/buck2_core/src/configuration/config_setting.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c61f4165d49c14c8c82d4b0ab278d912c69ddf6c6c4fca275e9855280c4efe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): app/buck2_execute_impl/src/materializers/deferred.rs:1174-1189 | app/buck2_execute_impl/src/materializers/v2/core.rs:211-229 \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":"app/buck2_execute_impl/src/materializers/deferred.rs"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94208548169c2965637b391752d1cedae4c0991f5fe767c67c51f4632794ebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): starlark-rust/starlark/src/values/typing/any.rs:50-64 | starlark-rust/starlark/src/values/typing/callable.rs:81-107 | starlark-rust/starlark/src/values/typing/iter.rs:90-107 | starlark-rust/starlark/src/values/typing/never.rs:69-87 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/typing/any.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf59692686e291b2da1a2494d0f271ba0a2cd1abeb95020c38de75d34497fa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/buck2_bxl/src/bxl/starlark_defs/file_set.rs:148-153 | app/buck2_bxl/src/bxl/starlark_defs/targetset.rs:258-263 \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":"app/buck2_bxl/src/bxl/starlark_defs/file_set.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"919a9715a7d10a45928a07b2e11e4f5bf58cffbee81fe873308a7ececfe7b4d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/buck2_client_ctx/src/agent_context.rs:54-60 | app/buck2_server/src/agent_config_guard.rs:226-232 \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":"app/buck2_client_ctx/src/agent_context.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7c10e89c46ee9a9bd98d6c0c4595490a1525a314783abadc304d6f66c5c0db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/buck2_configured/src/nodes.rs:1532-1537 | app/buck2_execute/src/re/error.rs:63-68 \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":"app/buck2_configured/src/nodes.rs"},"region":{"startLine":1532}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7815d8384f11da0e158d4ea4b07bcec86555cf30156716efa29b40a207e03d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): prelude/erlang/toolchain/app_src_builder.erl:473-482 | prelude/erlang/toolchain/appup_src_builder.erl:149-154 \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":"prelude/erlang/toolchain/app_src_builder.erl"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d271ffd76897e7c677f8d0d502a21a0b00ea81ceb5cea15ff4b6eafd08bd1c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/buck2_build_api/src/actions/errors/error_handler.rs:444-450 | app/buck2_build_api/src/interpreter/rule_defs/cmd_args/typ.rs:1322-1328 \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":"app/buck2_build_api/src/actions/errors/error_handler.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa724a9f29ed533d8833e68930aefd350826af6ae254533c314999d97a38b6bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/buck2_query/src/query/syntax/simple/eval/file_set.rs:54-57 | app/buck2_query/src/query/syntax/simple/eval/set.rs:221-224 \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":"app/buck2_query/src/query/syntax/simple/eval/file_set.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"541a6c426625e48488ef74300f9394be50c3dbf12e6837dc4d8c408aa276bc34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/buck2_util/src/strong_hasher.rs:78-83 | starlark-rust/starlark/src/pagable/heap_ref_id.rs:111-116 \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":"app/buck2_util/src/strong_hasher.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3679fd8fcd64db2eacc1e0a732b1dc9f51e282ef7f7a832fa1694e439878ef88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): starlark-rust/starlark_syntax/src/lexer.rs:133-139 | starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:198-204 \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":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6c1fa1ae89b08a97914dc173c25be35050ced534d9097d88af04b32828c45e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): starlark-rust/starlark_derive/src/any_lifetime.rs:140-145 | starlark-rust/starlark_derive/src/visit_span.rs:78-84 \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":"starlark-rust/starlark_derive/src/any_lifetime.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda9b751abd64d7f51fa1e27d6480aa639b2b04f840921d11886ab16b9e5e20d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): superconsole/src/content/line.rs:180-187 | tools/starlark_fmt/lib/fuzz_starlark.rs:503-510 \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":"superconsole/src/content/line.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"000517efb35790fa1718a60c0a65e280e5e248c83a15096037729b31b66873ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): app/buck2_cli_proto/src/lib.rs:244-247 | app/buck2_proto_serde/src/lib.rs:23-26 \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":"app/buck2_cli_proto/src/lib.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"264f238e5b86a6a689b16c1f9bcfaea4a1a5ff7cb7bfe6b193dd59676deba423"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/buck2_util/src/self_ref.rs:63-67 | starlark-rust/starlark/src/values/layout/heap/owned_frozen.rs:196-200 \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":"app/buck2_util/src/self_ref.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"022a930152456d87e24e0a06300b29ff42a0c22fb04667d877514cfce8741416"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pagable/src/context.rs:49-57 | pagable/src/storage/support.rs:30-38 \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":"pagable/src/context.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a77b1a4d1cd6fbc00cd362e7206b6df338a98879fa99b88a9fafe731d9cd44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): starlark-rust/starlark/src/__derive_refs/parse_args.rs:80-85 | starlark-rust/starlark/src/eval/runtime/params/parser.rs:60-65 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/__derive_refs/parse_args.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ec003ba62248268f419a9ac5e831450228e95ee78f1e9c5a7d44efa6b49ea1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): app/buck2_core/src/plugins.rs:320-322 | app/buck2_settings/src/parser.rs:231-236 \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":"app/buck2_core/src/plugins.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"46834d4eb9028a34a28b7f950b04f339e70cae7783c77b377143f6a3bc280b45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): app/buck2_query_impls/src/aquery/environment.rs:215-229 | app/buck2_query_impls/src/cquery/environment.rs:177-187 \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":"app/buck2_query_impls/src/aquery/environment.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7b92100516073e1712d0d9e562324ea50a2ce8aea376d81b1a34b408ec4ca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): app/buck2_tenant_proxy/src/registry.rs:63-69 | starlark-rust/starlark/src/values/deferred/pending.rs:292-298 \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":"app/buck2_tenant_proxy/src/registry.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea8cbfbbcf19c818dc4f30caed7dc23bc7d93ff956275ae55e914824926e147"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): prelude/erlang/toolchain/app_src_builder.erl:401-405 | prelude/erlang/toolchain/appup_src_builder.erl:134-136 \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":"prelude/erlang/toolchain/app_src_builder.erl"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b82648524d8a4cf02a60b7d5c54ba845141132fa21f06e9a012d6d4997c7be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): prelude/erlang/toolchain/app_src_builder.erl:410-414 | prelude/erlang/toolchain/appup_src_builder.erl:141-143 \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":"prelude/erlang/toolchain/app_src_builder.erl"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"05031261ff1463bde6d8b967c55c8964904f6f6aa5e00756aeb3e9a927e7e170"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): prelude/erlang/toolchain/app_src_builder.erl:458-467 | prelude/erlang/toolchain/appup_src_builder.erl:159-164 \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":"prelude/erlang/toolchain/app_src_builder.erl"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86e86ac948c17b0be1c20aa1e6913d6c0f134b8673277740d2c3d5e45464e30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): starlark-rust/starlark/src/eval/runtime/profile/bc.rs:52-56 | starlark-rust/starlark/src/eval/runtime/profile/heap.rs:53-57 \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":"starlark-rust/starlark/src/eval/runtime/profile/bc.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f445f2fdc6ab9016e34ef649f736ea1509c2ce1c9945cac3fb334ca0ad1742a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): starlark-rust/starlark/src/values/types/list/value.rs:450-457 | starlark-rust/starlark/src/values/types/tuple/value.rs:181-188 \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":"starlark-rust/starlark/src/values/types/list/value.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"984554bb447ca101614a5186e8f71448934881753220b1b32b2126336367b202"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/android/apk/ApkBuilderUtils.java:58-74 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/Jsr199Javac.java:64-81 \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":"prelude/toolchains/android/src/com/facebook/buck/android/apk/ApkBuilderUtils.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a933f785a25c1937f99e5641abb2c4ed80fbebf9d99c8afaf8de8030e65feaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): app/buck2_directory/src/directory/walk.rs:214-218 | starlark-rust/starlark_map/src/unordered_map.rs:244-248 \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":"app/buck2_directory/src/directory/walk.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b50e5ee63daa4cbd68565b07e45b5eb0f092d7b6cac9fbe6952d78e174a8469"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): app/buck2_query_impls/src/dice/aquery.rs:243-248 | app/buck2_server/src/ctx.rs:226-233 \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":"app/buck2_query_impls/src/dice/aquery.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ce3c26248c14983e4dd4c02642f7bc3a14c97e3939075b2458b35be8e84039"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/cli/bootstrapper/ClassLoaderFactory.java:80-86 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/ResolvedJavacPluginProperties.java:118-126 \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":"prelude/toolchains/android/src/com/facebook/buck/cli/bootstrapper/ClassLoaderFactory.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a569f7d5b24881b838616832aeb44f058eed5df46e374f64c492f4c91647e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/TreeBackedProcessorWrapper.java:73-77 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/TreeBackedRoundEnvironment.java:61-65 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/TreeBackedProcessorWrapper.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0db12c7b3e6f39eb85fa7aa093cb177180dd66c1ed085704f337dc395c2ea4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:719-722 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:756-759 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:765-768 \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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"718a114086b83df6014697015b503d5a6368d223968037464578745f86070924"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTimeoutEnforcingRunListener.kt:89-94 | prelude/toolchains/android/src/com/facebook/buck/testrunner/RobolectricTimeoutEnforcingRunListener.kt:78-86 \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":"prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTimeoutEnforcingRunListener.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d052fae47439854ffbcbd6f4dd5b97cec12e8b99e6fe2602d3fea27f9e777fe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): app/buck2_build_api/src/actions/execute/action_executor.rs:575-595 | app/buck2_client_ctx/src/client_ctx.rs:137-155 | app/buck2_execute_impl/src/executors/local.rs:174-190 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/execute/action_executor.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"628a4be43c5f600d19aa6561926f71b2b9725869827873250ab2521dc29130cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): app/buck2_query_impls/src/aquery/environment.rs:191-207 | app/buck2_query_impls/src/cquery/environment.rs:160-169 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/aquery/environment.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abbde4472d7fc9801a6ae8ef754ae6061e012f8d55f99b1020f616eb69450c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): games/src/games/breakout.rs:492-498 | games/src/games/twenty48.rs:269-275 \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":"games/src/games/breakout.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68a4d3be21a16cf1d4a8f10991d35efd0f6f1fad04596ae38a15b9242134234"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): app/buck2_node/src/attrs/attr_type/list.rs:87-89 | app/buck2_node/src/attrs/attr_type/tuple.rs:90-92 \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":"app/buck2_node/src/attrs/attr_type/list.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a310cb614fd78a51d8ca0286d53d0556afabb266bbcf998fe10789c23253ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): app/buck2_server/src/version_control_revision.rs:177-220 | app/buck2_server/src/version_control_revision.rs:280-323 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_server/src/version_control_revision.rs:177\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/version_control_revision.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbb862aa392d2ec2291c441c3a093f90534e2ecb8a45214e4b9b136ebce2217"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs:844-877 | app/buck2_execute_impl/src/materializers/v2/clean_stale.rs:403-436 \u2014 \u0060app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs\u0060 and \u0060app/buck2_execute_impl/src/materializers/v2/clean_stale.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 59 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs:844\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":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b713b3ccaceaff028f68110b21e9557d90bc04fb4f0e5192fbdf87b76109f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): app/buck2_query_impls/src/uquery/environment.rs:519-551 | app/buck2_query_impls/src/uquery/environment.rs:738-770 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_query_impls/src/uquery/environment.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31163e65e81679f40731480998b86282a9b8296022e12f9f71fdd002945d91d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): app/buck2_build_api/src/actions/calculation.rs:794-824 | app/buck2_execute/src/execute/result.rs:433-463 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_build_api/src/actions/calculation.rs:794\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":"app/buck2_build_api/src/actions/calculation.rs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"0661a3bfb0e9e81a1cc842fd3e8295699e9820ec175f66a016cdade236500b05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): app/buck2_action_impl/src/actions/impls/run.rs:734-763 | app/buck2_action_impl/src/actions/impls/run.rs:838-867 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_action_impl/src/actions/impls/run.rs:734\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":"app/buck2_action_impl/src/actions/impls/run.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2f3b972ad52fffe8cbadc8b90c2f4e18decda28f6aaf024eee9b0dfd1cecfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201328 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/context/output.rs:680-707 | app/buck2_bxl/src/bxl/starlark_defs/context/output.rs:743-768 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/context/output.rs:680\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":"app/buck2_bxl/src/bxl/starlark_defs/context/output.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"0410c2d603d2e38131ef05fdffb24d74288ae136ad168bb35c519e52ce92e9c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): tools/retrace/src/ingest/testlog.rs:1610-1637 | tools/retrace/src/ingest/testlog.rs:1726-1753 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/ingest/testlog.rs:1610\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/testlog.rs"},"region":{"startLine":1610}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb224d13eacc0b085a1fe643b016dba83b505717eaa94bc59a5e7531a62bd146"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): app/buck2_common/src/file_ops/dice.rs:221-246 | app/buck2_common/src/file_ops/io.rs:167-192 \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 \u0060app/buck2_common/src/file_ops/dice.rs:221\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/file_ops/dice.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65032f6cbd003d216ebd87e54e4ab560feb785bfdbb0cfa1d2375e939c7c3d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): starlark-rust/starlark_derive/src/starlark_pagable.rs:675-699 | starlark-rust/starlark_derive/src/starlark_pagable.rs:715-739 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark_derive/src/starlark_pagable.rs:675\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/starlark_pagable.rs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"3646a6669fc178d86ac30762b96e1a0b88fd51359a1b8fab0319cec971f48db5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:796-822 | starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:1428-1453 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:796\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":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6e0b6b5c83faf53d60f80a46176fa354cc9150201a716b9a6c85db9bb39d85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 4): starlark-rust/starlark_derive/src/starlark_pagable.rs:568-591 | starlark-rust/starlark_derive/src/starlark_pagable.rs:602-625 | starlark-rust/starlark_derive/src/starlark_pagable.rs:789-811 | starlark-rust/starlark_derive/src/starlark_pagable.rs:823-845 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060starlark-rust/starlark_derive/src/starlark_pagable.rs:567\u0060 calls \u0060as_ref\u0060, \u0060unwrap\u0060 and \u0060starlark-rust/starlark_derive/src/starlark_pagable.rs:601\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":"starlark-rust/starlark_derive/src/starlark_pagable.rs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c59d2b32ac0772582fd4ad0036854037f06a07a596c8f774c0c68e7b5e4693"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): app/buck2_cmd_audit_client/src/lib.rs:109-131 | app/buck2_cmd_audit_server/src/lib.rs:86-108 \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":"app/buck2_cmd_audit_client/src/lib.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c62d69b795b58c49c19ae974a9df04767ce86810fdd77f0ba55cdc9c96b29a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): app/buck2_forkserver/src/launch.rs:59-78 | app/buck2_test/src/unix/executor.rs:71-92 \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 \u0060app/buck2_test/src/unix/executor.rs:71\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_forkserver/src/launch.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"932735c04bd642e56bfc2e2a88a0884d35c9a7476ef4ba43794cec0f1584ff79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): app/buck2_node/src/attrs/attr_type/arg.rs:303-324 | app/buck2_node/src/attrs/attr_type/arg.rs:432-453 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_node/src/attrs/attr_type/arg.rs:303\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/attr_type/arg.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d60ac82cb20d5cd7e8fc3c37ea8e96fc8328b916bce706470607206f81019f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): app/buck2_file_watcher/src/edenfs/interface.rs:287-307 | app/buck2_file_watcher/src/edenfs/interface.rs:328-348 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_file_watcher/src/edenfs/interface.rs:287\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_file_watcher/src/edenfs/interface.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"549505bfbc0eadc84c9b5dc1b0025eb1ebc4612438bb2dd6bd987977b786cc8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): app/buck2_log_common/src/chrome_trace.rs:1927-1947 | app/buck2_log_common/src/chrome_trace.rs:2061-2078 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_log_common/src/chrome_trace.rs"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5a811d5f9fbdd531a27cbd535c4acee699afe2005d9f503746551849a7775e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): remote_execution/oss/re_grpc/src/client.rs:2256-2275 | remote_execution/oss/re_grpc/src/pool.rs:70-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 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":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":2256}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d72b6b8d4dea2d1b52312b90ae8ba843c8a0f7f629412b65b9925dfeb0f2bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): app/buck2_execute/src/execute/manager.rs:172-190 | app/buck2_execute/src/execute/manager.rs:268-286 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_execute/src/execute/manager.rs:172\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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 \u0060mut\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":"app/buck2_execute/src/execute/manager.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffc7bc7c57ff173c9b13aea9679d4c0a08df1d59507475a638f3a862006739c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 2): starlark-rust/starlark_syntax/src/lexer.rs:409-427 | starlark-rust/starlark_syntax/src/lexer.rs:575-589 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark_syntax/src/lexer.rs:409\u0060 it begins part-way through the construct above it, so those exact 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 \u0060res\u0060 to \u0060\u0026mut String\u0060 in one and \u0060\u0026mut Vec\u003Cu8\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":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceac49bb31da3aea7fcd5f0d88351906fa6ff3e86886cedddc8f6512cadee65f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:889-907 | starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:914-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2489f5ff74172940f84fa8fefe82a81527fea5ac248c673b16b26bf8f47b8fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/context/dynamic.rs:206-221 | app/buck2_dynamic_actions/src/deferred.rs:211-228 \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 \u0060app/buck2_bxl/src/bxl/starlark_defs/context/dynamic.rs:206\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/dynamic.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d10b215bc3202d685c28e4ff12b795b903ac812fb01c333a17e7a491b3b29ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/buck2_client_ctx/src/subscribers/superconsole.rs:1674-1690 | app/buck2_client_ctx/src/subscribers/superconsole.rs:1709-1725 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_client_ctx/src/subscribers/superconsole.rs"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b4ed095f8ff98e2214f58a3b0930511a4deb1ed7d993a88d52d99964e5e980"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/buck2_cmd_targets_server/src/targets/fmt.rs:347-363 | app/buck2_cmd_targets_server/src/targets/fmt.rs:461-477 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"app/buck2_cmd_targets_server/src/targets/fmt.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"960ae722255f9234d0eb4a8df1655061202f6e3d237c8d0d321e3133b7b31647"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/buck2_core/src/deferred/base_deferred_key.rs:207-223 | app/buck2_core/src/deferred/base_deferred_key.rs:229-245 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_core/src/deferred/base_deferred_key.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"022f81e54d6cdf2c0e2c551c86dc3b63a4e8dd32feaab00edb4308ba5f51506e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): app/buck2_query/src/query/environment.rs:311-326 | app/buck2_query/src/query/environment.rs:350-366 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_query/src/query/environment.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. 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":"app/buck2_query/src/query/environment.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d493bb7451ea4b43e5dfd2e48446804f14fc6f99fccfc8cd3460417eb4718436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): starlark-rust/starlark/src/values/types/string/methods.rs:986-1005 | starlark-rust/starlark/src/values/types/string/methods.rs:1089-1108 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark/src/values/types/string/methods.rs:986\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":"starlark-rust/starlark/src/values/types/string/methods.rs"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"45852c0810496ed4f560f4ef24435b13cccf73587938369fae5165b27364f995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): app/buck2_action_impl/src/actions/impls/run.rs:727-742 | app/buck2_action_impl/src/actions/impls/run.rs:831-846 | app/buck2_action_impl/src/actions/impls/run.rs:904-919 \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 \u0060app/buck2_action_impl/src/actions/impls/run.rs:727\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":"app/buck2_action_impl/src/actions/impls/run.rs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ba8beb4082ce35a86562468e5bec76c13b44d4283c08f55a6c8eca169be47e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): app/buck2_client_ctx/src/subscribers/superconsole.rs:1675-1690 | app/buck2_client_ctx/src/subscribers/superconsole.rs:1710-1725 | app/buck2_client_ctx/src/subscribers/superconsole.rs:1728-1743 \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 \u0060app/buck2_client_ctx/src/subscribers/superconsole.rs:1675\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":"app/buck2_client_ctx/src/subscribers/superconsole.rs"},"region":{"startLine":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"f645bee5b162955e228a8738007110700dd4080249c0c882da5249bea4104bef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): games/src/games/blocks.rs:722-737 | games/src/games/blocks.rs:750-764 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060games/src/games/blocks.rs:722\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":"games/src/games/blocks.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d6303cecfffe0c80fb7a9522ae7c0779b94733482d95c8b21756395f9a7d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): starlark-rust/starlark_syntax/src/lexer.rs:301-316 | starlark-rust/starlark_syntax/src/lexer.rs:463-476 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark_syntax/src/lexer.rs:301\u0060 it does not close everything it opens, so those exact 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 \u0060res\u0060 to \u0060\u0026mut String\u0060 in one and \u0060\u0026mut Vec\u003Cu8\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":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a62fc9ea074f8d6a0ba3b99e54a3165b8a3e14f7c49666b857902b3c9ec543c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): tools/retrace/src/ingest/testlog.rs:1846-1861 | tools/retrace/src/ingest/testlog.rs:2015-2030 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/ingest/testlog.rs:1846\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/testlog.rs"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e4005e68eea947fb814754dc2b563d31e0b4e09842c9f8bb30e0b3d4503e36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): tools/retrace/src/ingest/testlog.rs:1434-1448 | tools/retrace/src/ingest/testlog.rs:1545-1559 | tools/retrace/src/ingest/testlog.rs:1655-1669 | tools/retrace/src/ingest/testlog.rs:1768-1782 \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 \u0060tools/retrace/src/ingest/testlog.rs:1434\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/testlog.rs"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51db45062ac00d1160af988b94a1d51be9946a058bfe5d553a417d34f42bae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): app/buck2_interpreter_for_build/src/interpreter/check_starlark_stack_size.rs:112-126 | app/buck2_interpreter_for_build/src/interpreter/dice_calculation_delegate.rs:471-485 | app/buck2_interpreter_for_build/src/interpreter/dice_calculation_delegate.rs:572-586 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_interpreter_for_build/src/interpreter/check_starlark_stack_size.rs:112\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":"app/buck2_interpreter_for_build/src/interpreter/check_starlark_stack_size.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"353a4b32923ab48c271e8a0405f4a43e65bea581384b1a4fe56d16f570ff594f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/buck2_action_impl/src/actions/impls/run.rs:704-718 | app/buck2_action_impl/src/actions/impls/run.rs:806-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run.rs"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"df74ca1d26697b674c4b2ba6313564f74791e1f2f3071fe4a7d123b5fa66aa97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/buck2_analysis/src/analysis/calculation.rs:380-394 | app/buck2_anon_target/src/anon_targets.rs:195-209 \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 \u0060app/buck2_analysis/src/analysis/calculation.rs:380\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_analysis/src/analysis/calculation.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddc3f272e415a0bcc090eca574ea9365bd99baa5b9b27aecf6bdbc0664e42e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:777-790 | app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:825-839 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:777\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":"app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"26759840a07c79d95a189d3f40c67de87fb23556e460b12a29696c57d1de85b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:380-394 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:345-359 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:380\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"79560acdfcbe7c4d30f8c786eb77f5a1e40ef951586901513ae3be8d3f6a1bfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): app/buck2_file_watcher/src/watchman/interface.rs:139-153 | app/buck2_file_watcher/src/watchman/interface.rs:173-187 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_file_watcher/src/watchman/interface.rs:139\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":"app/buck2_file_watcher/src/watchman/interface.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"178618f9ea5b6a38f60c2cb15902d9c588801da6e73e54f7d7f9d44b0abb3c1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): dice/dice/src/epoch/task/dice.rs:225-239 | dice/dice/src/epoch/task/dice.rs:253-267 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dice/dice/src/epoch/task/dice.rs:225\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/epoch/task/dice.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"49be8fab07696e04abe57d4df1f57a032433aeba1ef0ce3ddfaaefeed70e88bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): dice/dice/src/epoch/task/dice.rs:424-438 | dice/dice/src/epoch/task/dice.rs:451-465 \u2014 both copies are in the same file, so extract the block 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":"dice/dice/src/epoch/task/dice.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b35599e60a47c24139b18dce132b1905e49402a10fea5d1287b1ae0fd93d7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): games/src/games/life.rs:209-223 | games/src/games/life.rs:226-240 \u2014 both copies are in the same file, so extract the block 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":"games/src/games/life.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa862f90ed41192baec395bc405d7d414684efd6538cfb6fde31d2e2e4522bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): starlark-rust/starlark/src/typing/typecheck.rs:238-252 | starlark-rust/starlark/src/typing/typecheck.rs:264-277 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark/src/typing/typecheck.rs:238\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":"starlark-rust/starlark/src/typing/typecheck.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"d478ba963e223f7e8d2e8bbe18ccca3e0a49f77c96c8b261b3aba75d9d0c3821"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): tools/retrace/src/graph.rs:909-923 | tools/retrace/src/graph/parallel.rs:126-139 \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":"tools/retrace/src/graph.rs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9fb3081ceb442e21896fa2a67991cebf25285e9d35ad0f0c008c866f2d7156"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): tools/retrace/src/gui/command_ui.rs:367-381 | tools/retrace/src/gui/command_ui.rs:595-609 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/gui/command_ui.rs:367\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/command_ui.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5813ebc789adaf0c020d542b4592b769c1d9c85d62af95f47546e436445f539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): tools/retrace/src/gui/panels.rs:838-852 | tools/retrace/src/gui/panels.rs:881-895 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/gui/panels.rs:838\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":"tools/retrace/src/gui/panels.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97156ee589af333d9e2edb4b6d9e5b974853a6d25a488475f2d443d3ea50930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u201314 lines \u00D7 4): starlark-rust/starlark/src/typing/fill_types_for_lint.rs:619-623 | starlark-rust/starlark/src/typing/fill_types_for_lint.rs:654-667 | starlark-rust/starlark/src/typing/fill_types_for_lint.rs:680-693 | starlark-rust/starlark/src/typing/fill_types_for_lint.rs:712-725 \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 \u0060starlark-rust/starlark/src/typing/fill_types_for_lint.rs:619\u0060 it does not close everything it opens, so those exact 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":"starlark-rust/starlark/src/typing/fill_types_for_lint.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"6daf2088417b0cc192e58d8fa2820873cb6cf258089eac62bbf17dc9bd7dbf48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/aquery.rs:244-256 | app/buck2_bxl/src/bxl/starlark_defs/aquery.rs:273-286 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/aquery.rs:244\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":"app/buck2_bxl/src/bxl/starlark_defs/aquery.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff371c9ebfe9150ed189390eee8395ecfe920c48376465b5a3f168080537efc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/aquery.rs:333-349 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:616-632 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/aquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.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 \u0060app/buck2_bxl/src/bxl/starlark_defs/aquery.rs:333\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":"app/buck2_bxl/src/bxl/starlark_defs/aquery.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"336eff4743490fdfc1aa2dac6903e5ad3ae9c3780dc204e8254239f36b376b58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:615-628 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:428-441 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:615\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"825522aabcf1765f76a3d2a6aea8cdcc9dd820f1ce7b4d17814b67161b7eb989"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:651-664 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:529-542 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:651\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b38ead2686ee368dd4cce8b8da12ae696340efee9680f8ea63f396fb263527e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/buck2_cmd_log_client/src/show_log.rs:36-48 | app/buck2_cmd_log_client/src/show_user_log.rs:37-50 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_cmd_log_client/src/show_log.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/buck2_cmd_log_client/src/show_user_log.rs:52\u0060 calls \u0060Some\u0060, \u0060try_get_user_event_for_read\u0060 and \u0060app/buck2_cmd_log_client/src/show_log.rs:49\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":"app/buck2_cmd_log_client/src/show_log.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"60902a083d26eb9d82784b432f84d43471439c75ae4e5e55f423090a6ff3f33f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/buck2_dynamic_actions/src/deferred.rs:683-696 | app/buck2_dynamic_actions/src/deferred.rs:724-737 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_dynamic_actions/src/deferred.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f07ec0a8b8949eade65e4cdf17dc1feed6c5016f1a5127599e530b1d6e26254"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/buck2_execute_impl/src/sqlite/tables/dep_file_state_table.rs:415-428 | app/buck2_execute_impl/src/sqlite/tables/incremental_state_table.rs:110-123 \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 \u0060app/buck2_execute_impl/src/sqlite/tables/dep_file_state_table.rs:415\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/sqlite/tables/dep_file_state_table.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97cacfc6595f4ac2df978b68823663e29887b414df44bc413d37b07605492fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/buck2_explain/src/flatbuffers.rs:275-288 | app/buck2_explain/src/flatbuffers.rs:290-303 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_explain/src/flatbuffers.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d07699a25823a3c5ddedb3eba6c00a08d0b83f32d3225ab6064d83c36384bed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): app/buck2_interpreter_for_build/src/attrs/attrs_global.rs:321-334 | app/buck2_interpreter_for_build/src/attrs/attrs_global.rs:370-382 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_interpreter_for_build/src/attrs/attrs_global.rs:321\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":"app/buck2_interpreter_for_build/src/attrs/attrs_global.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06d80038bd5373f3a1f8d39fcc60081e51b0461e00b26cba755592bc660021e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pagable_storage/src/storage/sled.rs:224-237 | pagable_storage/src/storage/sqlite.rs:876-889 \u2014 before extracting anything, compare \u0060pagable_storage/src/storage/sled.rs\u0060 and \u0060pagable_storage/src/storage/sqlite.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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 \u0060pagable_storage/src/storage/sled.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":"pagable_storage/src/storage/sled.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae12ac308d660e51236e0b2106a05fea71175655d4128254e79bbcefaff7236"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): remote_execution/oss/re_grpc/src/client.rs:1221-1234 | remote_execution/oss/re_grpc/src/client.rs:1298-1311 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060remote_execution/oss/re_grpc/src/client.rs:1221\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":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"715b8c4280830c4b6c7fe11d5994a35e73e641afeedb95dedbccf40f87af01d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): starlark-rust/starlark_derive/src/module/parse/fun.rs:104-117 | starlark-rust/starlark_derive/src/module/parse/fun.rs:196-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 \u0060starlark-rust/starlark_derive/src/module/parse/fun.rs:104\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/module/parse/fun.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed527af707834ce3f4909d4424c787630842ed77baccb07975ff761b6629cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): starlark-rust/starlark_syntax/src/lexer.rs:627-640 | starlark-rust/starlark_syntax/src/lexer.rs:644-657 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark_syntax/src/lexer.rs:627\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":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"f707ee41b8b4762041b72dc50806ec475206a8b70a2c1f81bc2479b6acdce107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): starlark-rust/starlark_syntax/src/lexer.rs:885-898 | starlark-rust/starlark_syntax/src/lexer.rs:902-915 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark_syntax/src/lexer.rs:885\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":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd1b5b0abab46452fdd605d0b714c34cb00f3177cbf6ce7f99e355ae097c517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): starlark-rust/starlark_syntax/src/lexer.rs:952-965 | starlark-rust/starlark_syntax/src/lexer.rs:971-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 \u0060starlark-rust/starlark_syntax/src/lexer.rs:952\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"078fea59be4bab0609501ea77958a3ae0aa37e8cd6257e74beb7f0c530398d19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): tools/retrace/src/graph.rs:925-938 | tools/retrace/src/graph/parallel.rs:141-154 \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 \u0060tools/retrace/src/graph.rs:925\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/graph.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec49a4881b4108484716891c89520a2333b1874c2d1c1ef8436d265b969c2bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): tools/starlark_fmt/lib/autofixes/sort_kwargs.rs:151-164 | tools/starlark_fmt/lib/autofixes/sort_kwargs.rs:244-257 \u2014 both copies are in the same file, so extract the block 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":"tools/starlark_fmt/lib/autofixes/sort_kwargs.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9377790b87cff57cee7431ea24cdb9dadbce51171fa557fc4465f441e785a6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): tools/retrace/src/ingest/testlog.rs:332-344 | tools/retrace/src/ingest/testlog.rs:1434-1446 | tools/retrace/src/ingest/testlog.rs:1545-1557 | tools/retrace/src/ingest/testlog.rs:1655-1667 | tools/retrace/src/ingest/testlog.rs:1768-1780 \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 \u0060tools/retrace/src/ingest/testlog.rs:332\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/testlog.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a394c36f040b24a1d39440297b8820e17dc51491b2b0d8ead38be40b5213344"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:575-587 | app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:593-605 | app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:611-623 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:575\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ab5cd56c9b16c65bf71a7015c7f4aa525cb3d406b0703941bbbc216088b4f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): app/buck2_cmd_audit_server/src/includes.rs:83-95 | app/buck2_query_impls/src/uquery/environment.rs:528-540 | app/buck2_query_impls/src/uquery/environment.rs:747-759 \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":"app/buck2_cmd_audit_server/src/includes.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6323856c4dfecbdd80410749b334d678f4e22b7abe8b8dd817b85306062dfc3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/buck2_anon_target/src/anon_target_attr_resolve.rs:155-167 | app/buck2_build_api/src/artifact_groups/promise.rs:202-214 \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 \u0060app/buck2_anon_target/src/anon_target_attr_resolve.rs:155\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/anon_target_attr_resolve.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d18c79709d0a64decd9b9439b335d471b26767d21bdda7a8d815b7b0122115"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/buck2_anon_target/src/anon_targets.rs:621-633 | app/buck2_bxl/src/bxl/starlark_defs/context/anon_target.rs:340-352 \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 \u0060app/buck2_anon_target/src/anon_targets.rs:621\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/anon_targets.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b31997cf0abc2502e6acab2c19870b59fd2b5b443d614e11167abc395a2dbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_args_projection.rs:299-311 | app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_json_projection.rs:132-144 \u2014 before extracting anything, compare \u0060app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_args_projection.rs\u0060 and \u0060app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_json_projection.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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 \u0060app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_args_projection.rs:299\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":"app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_args_projection.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea12092c927b3abb34dae0d7ec1ff97b2601aab4bf169178991e1ebabf97075"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/context/dynamic.rs:294-306 | app/buck2_dynamic_actions/src/dynamic_actions_globals.rs:113-125 \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 \u0060app/buck2_bxl/src/bxl/starlark_defs/context/dynamic.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/dynamic.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"83af682cdfda5bc773809cf8019a5ab650dd9318d16143cfdfa837056a1ec87a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:562-574 | app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_cquery_ctx.rs:102-113 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed049a9bbeefb0f30def8c5341e037ea844ed6ce67f66e20c790ad0464e4af8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:680-692 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:558-570 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:680\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd5eb492c21826080a5f63fe8c94d1de4267f63adb1e0b294f800b9c72ba3ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs:614-626 | app/buck2_bxl/src/bxl/starlark_defs/nodes/unconfigured.rs:219-231 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/nodes/unconfigured.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs:614\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":"app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"172629eaf7fd2d824acf9741f505943a69bea36679d0bbe25d2e90545701ac83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): app/buck2_cmd_log_client/src/external_configs.rs:117-129 | app/buck2_cmd_log_client/src/external_configs.rs:159-169 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_cmd_log_client/src/external_configs.rs:117\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/external_configs.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a699a790418f276a94d235aece6a2f6d2beef731635ad58cd6a22e41f1038508"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/buck2_execute_impl/src/executors/local.rs:810-822 | app/buck2_execute_impl/src/executors/local.rs:918-930 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_execute_impl/src/executors/local.rs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fec557f567e7549ac86f678ad80ac68bd731246d027b91ba03a584ca53260ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/buck2_execute_impl/src/materializers/deferred.rs:584-596 | app/buck2_execute_impl/src/materializers/deferred.rs:910-922 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_execute_impl/src/materializers/deferred.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"85be7483eb9292bbde3c370f4d2b53ec87c29341409758c4690b531e17108a36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/buck2_interpreter_for_build/src/interpreter/dice_calculation_delegate.rs:330-343 | app/buck2_interpreter_for_build/src/interpreter/dice_calculation_delegate.rs:360-373 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_interpreter_for_build/src/interpreter/dice_calculation_delegate.rs:330\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":"app/buck2_interpreter_for_build/src/interpreter/dice_calculation_delegate.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfea9339d2ffff7205608b841fb2259882ee27ff2d45804f07339839e231736f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/buck2_trailcam/src/invocation.rs:200-212 | tools/retrace/src/ingest/profile.rs:855-867 \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 \u0060app/buck2_trailcam/src/invocation.rs:200\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, \u0060app/buck2_trailcam/src/invocation.rs:199\u0060 calls \u0060Bxl\u0060 and \u0060tools/retrace/src/ingest/profile.rs:854\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/src/invocation.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"76306f90f9d634ffc3eb05ed58948cdace0b62e4d7f44c2ca2bf2a6af0312c23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): games/src/games/sokoban.rs:556-568 | games/src/games/sokoban.rs:571-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 \u0060games/src/games/sokoban.rs:556\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":"games/src/games/sokoban.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bc759af7b707b9d69f09d95d3d2d2e39f15ce472b37e55c158f6a7b2d5340b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): pagable_derive/src/derive_pagable.rs:580-592 | starlark-rust/starlark_derive/src/starlark_pagable.rs:117-128 \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 \u0060pagable_derive/src/derive_pagable.rs:580\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060starlark-rust/starlark_derive/src/starlark_pagable.rs:128\u0060 calls \u0060Some\u0060, \u0060into_iter\u0060, \u0060collect\u0060 and \u0060pagable_derive/src/derive_pagable.rs:592\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":"pagable_derive/src/derive_pagable.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"4970856be268933725bf653aec3565ec5191b99f2ce81a06bdb94b9391f07e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): pagable_derive/src/derive_pagable_panic.rs:28-40 | pagable_derive/src/derive_pagable_unsupported.rs:30-41 \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":"pagable_derive/src/derive_pagable_panic.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf95a52cd41c613a7b44f1c6cd168f23423b07c9b55638c49f1d3924a8a6811"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): starlark-rust/starlark_syntax/src/lexer.rs:435-447 | starlark-rust/starlark_syntax/src/lexer.rs:598-610 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark_syntax/src/lexer.rs:435\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":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"561b78b1dd32f9ed3f0d7d5c95ba10994380d67995f53391335038ac701be695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): tools/retrace/src/graph.rs:511-523 | tools/retrace/src/graph.rs:596-608 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/graph.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/graph.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"314bd3758e6e204edd49e3c2ea80dad2a6797fb4e5b460a4edc430bb802f2bb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): tools/retrace/src/ingest/scan.rs:1512-1524 | tools/retrace/src/ingest/scan.rs:1526-1538 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/ingest/scan.rs:1512\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":"tools/retrace/src/ingest/scan.rs"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d7851f7a7a1af0f31fbc54874c97c0fb3965e39c13e09ced498c7a779b9670"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): tools/starlark_fmt/lib/autofixes/sort_list_args.rs:390-402 | tools/starlark_fmt/lib/autofixes/sort_list_args.rs:580-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/starlark_fmt/lib/autofixes/sort_list_args.rs:390\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/starlark_fmt/lib/autofixes/sort_list_args.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cab449738525c23e8861ad24d13c2cd621330b9a699b320a385dc51dde9843"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): app/buck2_file_watcher/src/edenfs/interface.rs:848-859 | app/buck2_file_watcher/src/fs_hash_crawler.rs:100-111 | app/buck2_file_watcher/src/notify.rs:307-318 | app/buck2_file_watcher/src/watchman/interface.rs:429-440 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_file_watcher/src/edenfs/interface.rs:848\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":"app/buck2_file_watcher/src/edenfs/interface.rs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"153e7f24c5f6fa9d458ab082413cba57006132d7bff016781ae160b11fa0a11f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/buck2_action_impl/src/actions/impls/write.rs:217-228 | app/buck2_action_impl/src/actions/impls/write_hmap.rs:229-240 | app/buck2_action_impl/src/actions/impls/write_json.rs:242-253 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_action_impl/src/actions/impls/write.rs:217\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 \u0060ctx\u0060 to \u0060\u0026dyn ActionExecutionCtx\u0060 in one and \u0060\u0026mut dyn ActionExecutionCtx\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":"app/buck2_action_impl/src/actions/impls/write.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"083a43a77bd0e1da32271c17902ac0777cf14fb3bbe367c1bab85e3fede922f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): app/buck2_cmd_log_client/src/what_ran.rs:518-529 | app/buck2_cmd_log_client/src/what_ran.rs:531-542 | app/buck2_cmd_log_client/src/what_ran.rs:547-558 \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":"app/buck2_cmd_log_client/src/what_ran.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46a62494d2f76eda51c4bc81c1d3058f55e11be86f6e8bf33aefd1af4a0faee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): tools/retrace/src/ingest/testlog.rs:368-379 | tools/retrace/src/ingest/testlog.rs:1478-1489 | tools/retrace/src/ingest/testlog.rs:1786-1797 \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 \u0060tools/retrace/src/ingest/testlog.rs:368\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/testlog.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae839a097368c4bb764355dee90b61218f441c3fa193b94cd0df84b4641a59f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): app/buck2_action_impl/src/context/copy.rs:135-146 | app/buck2_action_impl/src/context/copy.rs:182-191 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_action_impl/src/context/copy.rs:135\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/context/copy.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2e121b539f25494e1ce5ef2eb94ee7dc2023be07e2b75b778d036d0c5df563"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:375-386 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:293-304 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:375\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"8418cfb103a5bf9695b7a79b5c5eaa93572f1d44df3b9b941df79272d09ad8ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/buck2_client_ctx/src/subscribers/simpleconsole.rs:218-229 | app/buck2_client_ctx/src/subscribers/simpleconsole.rs:240-251 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_client_ctx/src/subscribers/simpleconsole.rs:218\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":"app/buck2_client_ctx/src/subscribers/simpleconsole.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"42941462af063e710b76691b4cd075808d1be78da05d47a19ffdcd205f1f8faf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): app/buck2_execute_impl/src/materializers/deferred.rs:813-824 | app/buck2_execute_impl/src/materializers/deferred.rs:867-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. 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":"app/buck2_execute_impl/src/materializers/deferred.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bdf4f0b63fe1f2ece8d0bc0cae895f8045da802ac9a74b5d7dbbef95531f3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/buck2_file_watcher/src/edenfs/interface.rs:577-588 | app/buck2_file_watcher/src/edenfs/interface.rs:636-647 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_file_watcher/src/edenfs/interface.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_file_watcher/src/edenfs/interface.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b22ae5947a50d9e089846f777f8a2fdd550f96b31cb02f79544c4cf01282034"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/buck2_node/src/load_patterns.rs:339-350 | app/buck2_node/src/load_patterns.rs:362-373 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_node/src/load_patterns.rs:339\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":"app/buck2_node/src/load_patterns.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3ebb683b949c63c3cb7cb1d10d6a994b716ea71c32676e51b37cb8e8228aae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): shed/mini_map/src/fixed_insertion_map.rs:516-525 | shed/mini_map/src/mut_insertion_map.rs:970-981 \u2014 before extracting anything, compare \u0060shed/mini_map/src/fixed_insertion_map.rs\u0060 and \u0060shed/mini_map/src/mut_insertion_map.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060shed/mini_map/src/mut_insertion_map.rs:970\u0060 it does not close everything it opens, so those exact 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":"shed/mini_map/src/fixed_insertion_map.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"16045fd957b67e28f6e524f3adf6fdd42543c3dd9b7c0bc276add89bd2b89ae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): starlark-rust/starlark_syntax/src/lexer.rs:352-363 | starlark-rust/starlark_syntax/src/lexer.rs:520-530 \u2014 both copies are in the same file, so extract the block 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":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0293e8af6b50746434a642d4dfdaa59aeef027423c48009deb139c783fe7e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): starlark-rust/starlark_syntax/src/syntax/uniplate.rs:415-426 | starlark-rust/starlark_syntax/src/syntax/uniplate.rs:515-526 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark_syntax/src/syntax/uniplate.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":"starlark-rust/starlark_syntax/src/syntax/uniplate.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6005a0983d5c9704fbca9c1c33f9f5604f489d4f3a77d3df8d20bdebe44e7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): tools/retrace/src/gui/panels.rs:1179-1198 | tools/retrace/src/gui/panels.rs:1374-1393 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/gui/panels.rs:1179\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/panels.rs"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"361257738ff26ec35eb2a10867be9939f0e0b4eb2d34980646b0dfe7d59ab435"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 8): app/buck2_build_api/src/artifact_groups/calculation.rs:356-366 | app/buck2_cfg_constructor/src/calculation.rs:155-165 | app/buck2_configured/src/configuration.rs:383-393 | app/buck2_configured/src/nodes.rs:1790-1800 | app/buck2_configured/src/nodes.rs:1862-1872 | app/buck2_configured/src/target_platform_resolution.rs:92-102 | app/buck2_interpreter/src/allow_relative_paths.rs:134-144 | app/buck2_interpreter/src/import_paths.rs:143-152 \u2014 there are 8 copies across 7 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 8 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_build_api/src/artifact_groups/calculation.rs:356\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":"app/buck2_build_api/src/artifact_groups/calculation.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01db5d6d788b740efe892897da4c9a14aec689f201f1933a1dea2e69b520acd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 7): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:173-181 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:361-371 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:511-520 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:127-134 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:161-169 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:279-289 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:324-334 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:173\u0060 it does not close everything it opens, so those exact 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, \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:182\u0060 calls \u0060unpack_targets\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:373\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":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"815204572063d2899ca078ee1bbf4dad2c5f8cbdd223885707a5104b17b263e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): tools/retrace/src/ingest/testlog.rs:335-345 | tools/retrace/src/ingest/testlog.rs:1437-1447 | tools/retrace/src/ingest/testlog.rs:1548-1558 | tools/retrace/src/ingest/testlog.rs:1658-1668 | tools/retrace/src/ingest/testlog.rs:1771-1781 | tools/retrace/src/ingest/testlog.rs:1825-1835 \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 \u0060tools/retrace/src/ingest/testlog.rs:335\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":"tools/retrace/src/ingest/testlog.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6da1ac347e7d0c0fa6175d99f373d3133de2c12273d1829051a92f6939cb8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): app/buck2_cmd_audit_server/src/output/buck_out_path_type_printer.rs:82-92 | app/buck2_cmd_audit_server/src/output/buck_out_path_type_printer.rs:102-112 | app/buck2_cmd_audit_server/src/output/buck_out_path_type_printer.rs:122-132 | app/buck2_cmd_audit_server/src/output/buck_out_path_type_printer.rs:135-145 | app/buck2_cmd_audit_server/src/output/buck_out_path_type_printer.rs:153-163 \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 \u0060app/buck2_cmd_audit_server/src/output/buck_out_path_type_printer.rs:82\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, \u0060app/buck2_cmd_audit_server/src/output/buck_out_path_type_printer.rs:101\u0060 calls \u0060insert\u0060, \u0060to_owned\u0060, \u0060clone\u0060 and \u0060app/buck2_cmd_audit_server/src/output/buck_out_path_type_printer.rs:121\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":"app/buck2_cmd_audit_server/src/output/buck_out_path_type_printer.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e00c430665dd87c6ba5a93a9190fd6a391d0a6035f7886fe169cceacc4ee786"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:153-163 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:188-198 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:141-151 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:176-186 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:153\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":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7469d618df94e9999d9fa4d138e012d0148c3bc73d8f52d17c72b68f61c0785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): tools/retrace/src/ingest/testlog.rs:369-379 | tools/retrace/src/ingest/testlog.rs:1453-1463 | tools/retrace/src/ingest/testlog.rs:1479-1489 | tools/retrace/src/ingest/testlog.rs:1787-1797 \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 \u0060tools/retrace/src/ingest/testlog.rs:369\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/testlog.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6efc5754fe43af94211865c307b06a29818c7979f6d86fff3fb4de1212be948"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): tools/retrace/src/ingest/testlog.rs:1476-1486 | tools/retrace/src/ingest/testlog.rs:1562-1571 | tools/retrace/src/ingest/testlog.rs:1785-1794 \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 \u0060tools/retrace/src/ingest/testlog.rs:1476\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/testlog.rs"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae92a10abe5812d8086fe73f63a0ac9c63f3c778e2539cee7b5dd03be8bdd08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/context/methods.rs:735-742 | app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs:773-783 \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 \u0060app/buck2_bxl/src/bxl/starlark_defs/context/methods.rs:735\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":"app/buck2_bxl/src/bxl/starlark_defs/context/methods.rs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea15308cdf7f26182bf309f583bc36b81a0941392bc1f3e1be3bf63b85a029e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:489-499 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:302-312 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:489\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"b158cbb1a03bdacc3f4ead5913690750a133866f1194931e531689faf7442018"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs:386-396 | app/buck2_bxl/src/bxl/starlark_defs/nodes/unconfigured.rs:144-154 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/nodes/unconfigured.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs:386\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9c8fe65c728a0c2ba4a20bb636815866ccee47da68c1b0e3bee3475430c918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:455-465 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:487-497 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:455\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":"app/buck2_bxl/src/bxl/starlark_defs/uquery.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e52487a0ee6e4a0c31a5ad35e98cddf91ca56c16b80da0bc6e8b1b51d92f5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/buck2_cmd_log_client/src/what_materialized.rs:137-147 | app/buck2_cmd_log_client/src/what_uploaded.rs:109-119 \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":"app/buck2_cmd_log_client/src/what_materialized.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6a18d43824ca8018e0be009aec727f86c1477bbce5c51f1beff39a2aa41ff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/buck2_cmd_log_client/src/what_materialized.rs:180-190 | app/buck2_cmd_log_client/src/what_uploaded.rs:165-175 \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 \u0060app/buck2_cmd_log_client/src/what_materialized.rs:180\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":"app/buck2_cmd_log_client/src/what_materialized.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03e46f3078eb2bbde59c448577ae6c9cce084ebbbfb84af8dfa948c29656866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/buck2_common/src/file_ops/io.rs:228-238 | app/buck2_external_cells/src/git.rs:369-379 \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 \u0060app/buck2_common/src/file_ops/io.rs:228\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/file_ops/io.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b199c44c56d88acb39948344e4512c6e81d2ccff145507b53e83b24825daafcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/buck2_event_observer/src/debug_events.rs:90-99 | app/buck2_event_observer/src/debug_events.rs:111-121 \u2014 both copies are in the same file, so extract the block 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 \u0060data\u0060 to \u0060Option\u003C\u0026buck2_data::span_start_event::Data\u003E\u0060 in one and \u0060Option\u003C\u0026buck2_data::span_end_event::Data\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":"app/buck2_event_observer/src/debug_events.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eac518dd3f88a97d6209c22f6135dc797d8900282848dd53dedc34d52f0c9a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/buck2_events/src/sink/smart_truncate_event.rs:184-194 | app/buck2_events/src/sink/smart_truncate_event.rs:198-208 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_events/src/sink/smart_truncate_event.rs:184\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, \u0060app/buck2_events/src/sink/smart_truncate_event.rs:196\u0060 calls \u0060truncate_test_discovery_end\u0060 and \u0060app/buck2_events/src/sink/smart_truncate_event.rs:181\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":"app/buck2_events/src/sink/smart_truncate_event.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b0ba363fc16a93223db05ea08384663e25bcb1ad46a47bec9e0fd1c200eab2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs:761-771 | app/buck2_execute_impl/src/materializers/v2/clean_stale.rs:338-347 \u2014 \u0060app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs\u0060 and \u0060app/buck2_execute_impl/src/materializers/v2/clean_stale.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 59 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs:761\u0060 it does not close everything it opens, so those exact 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":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8ef3d03cb2fafc396ed0a9f51bd63caa437d7d74651ec0962f4623006463d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/buck2_fs/src/paths/relative_path.rs:551-561 | app/buck2_fs/src/paths/relative_path.rs:571-581 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_fs/src/paths/relative_path.rs:551\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":"app/buck2_fs/src/paths/relative_path.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"11293b62ebdaf12555436edd2920fb88ad928d7d3c31367496f6a4982f38b29b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/buck2_node/src/nodes/configured.rs:1028-1037 | app/buck2_node/src/nodes/unconfigured.rs:864-874 \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 \u0060app/buck2_node/src/nodes/configured.rs:1028\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, \u0060app/buck2_node/src/nodes/unconfigured.rs:860\u0060 calls \u0060Ok\u0060, \u0060dep\u0060 and \u0060app/buck2_node/src/nodes/configured.rs:1027\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/nodes/configured.rs"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3b1f22d586e9a5d54877c68db5048f4c50ffb6e848bf7f5ed8b5417999fc5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): app/buck2_test/src/orchestrator.rs:537-547 | app/buck2_test/src/orchestrator.rs:1134-1143 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/orchestrator.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0057dfb983216be508e54718707a1474490f40a7d201fa673bfd3abbff3a8bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): games/src/games.rs:619-629 | games/src/games.rs:686-696 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060games/src/games.rs:619\u0060 it does not close everything it opens, so those exact 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, \u0060games/src/games.rs:697\u0060 calls \u0060Some\u0060, \u0060input\u0060, \u0060emit_unknown_control\u0060 and \u0060games/src/games.rs:631\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":"games/src/games.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3351002954c06b07ca3df252ed20c5afacb1b2be6b13166802f6c960940622"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): games/src/games/life.rs:268-278 | games/src/games/life.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 \u0060games/src/games/life.rs:268\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":"games/src/games/life.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac19308a98afec7a4941ccd0e9243a5543e331a8422749450c04847d9ec5af2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pagable_storage/src/storage/sled.rs:204-214 | pagable_storage/src/storage/sqlite.rs:856-866 \u2014 before extracting anything, compare \u0060pagable_storage/src/storage/sled.rs\u0060 and \u0060pagable_storage/src/storage/sqlite.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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 \u0060pagable_storage/src/storage/sled.rs:204\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pagable_storage/src/storage/sled.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdf2ddfff6bed9ba7a403df34eff63ca00788ecac0bf95e8c19a3bee39fb267"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): starlark-rust/starlark/src/values/types/string/methods.rs:789-799 | starlark-rust/starlark/src/values/types/string/methods.rs:957-967 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark/src/values/types/string/methods.rs:789\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":"starlark-rust/starlark/src/values/types/string/methods.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ec61f7c77b3bb44aaa7bac8b69ce230d27383543029af355d010068a0f80ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): starlark-rust/starlark_derive/src/module/render/fun.rs:574-584 | starlark-rust/starlark_derive/src/module/render/fun.rs:589-599 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark_derive/src/module/render/fun.rs:574\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/module/render/fun.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"398d2ae1599037ca6fd65fd41bec05155db5409402b2a3ec115200cd5d358002"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): starlark-rust/starlark_derive/src/starlark_pagable.rs:656-663 | starlark-rust/starlark_derive/src/starlark_pagable.rs:771-781 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark_derive/src/starlark_pagable.rs:656\u0060 it does not close everything it opens, so those exact 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, \u0060starlark-rust/starlark_derive/src/starlark_pagable.rs:665\u0060 calls \u0060pagable_serialize\u0060 and \u0060starlark-rust/starlark_derive/src/starlark_pagable.rs:783\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":"starlark-rust/starlark_derive/src/starlark_pagable.rs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cb12f6e7e3cb59374857ef5af7c65f9fcb129be79b87614b8ca754e33363c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): starlark-rust/starlark_lsp/src/symbols.rs:69-79 | starlark-rust/starlark_lsp/src/symbols.rs:81-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark_lsp/src/symbols.rs:69\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/symbols.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6e599b7f831c758e562b7951861f31627c2765acd5c505ffe9a3a508f53840"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): tools/retrace/src/detail.rs:913-923 | tools/retrace/src/detail.rs:938-948 \u2014 both copies are in the same file, so extract the block 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":"tools/retrace/src/detail.rs"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"3828076d06f6233bb08ed8e8ecc17691f980de566dbae44c2b323e9afcc34fbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): tools/retrace/src/gui/command_ui.rs:340-348 | tools/retrace/src/gui/command_ui.rs:575-585 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/gui/command_ui.rs:575\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/command_ui.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c2240795e7dd7deb276b47f6ca3535063dcc35229c1b0bb1ac19b809d1e7f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): tools/retrace/src/ingest/testlog.rs:510-520 | tools/retrace/src/ingest/testlog.rs:1453-1463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/ingest/testlog.rs:510\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/testlog.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"204a939ed3ade5e24e873af03c15fb25a061e23ffe29cd4c8c4f6172843e0dc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:379-388 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:529-538 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:297-306 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:344-353 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:379\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":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d822316ee3c37cdc69f0b595bad9a711acd1569201937abf4f6423a891ece31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): tools/retrace/src/ingest/testlog.rs:1524-1533 | tools/retrace/src/ingest/testlog.rs:1632-1641 | tools/retrace/src/ingest/testlog.rs:1748-1757 \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 \u0060tools/retrace/src/ingest/testlog.rs:1524\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/testlog.rs"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0dcf70cdd4dad6387a10e7f69afb6d08633bc988be37ae87947cc71d53bdff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): app/buck2_action_impl/src/context/write.rs:208-217 | app/buck2_action_impl/src/context/write.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/context/write.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"801da7a4458cd727027efac18391640ee2433149ecb521d11792b29e60d8db5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_analysis/src/analysis/env.rs:136-145 | app/buck2_build_api_tests/src/attrs/resolve/testing.rs:235-244 \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 \u0060app/buck2_analysis/src/analysis/env.rs:136\u0060 it does not close everything it opens, so those exact 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":"app/buck2_analysis/src/analysis/env.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a09d5dfc5ad80a8b3a597b97399e20d6f769921ca2be89a003d76c7f69f882b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_build_api/src/interpreter/rule_defs/cmd_args/options.rs:180-189 | app/buck2_build_api/src/interpreter/rule_defs/cmd_args/options.rs:210-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/cmd_args/options.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac24ee0f8e88537b293d6a7bd683c4c20fb704ae8080a0c2e763c32b7dd8d741"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/aquery.rs:318-327 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:537-546 \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 \u0060app/buck2_bxl/src/bxl/starlark_defs/aquery.rs:318\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":"app/buck2_bxl/src/bxl/starlark_defs/aquery.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b842e7c70d487bb2244f4047c1bf2fb023251cb8a0d998feb36088727ef7507"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:445-454 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:470-479 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:445\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":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c5f1f2c8ffcf40a91729ea35776d5a6a1fc52ba9fb1c00a891f8c2de5859c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): app/buck2_client/src/commands/clean.rs:329-336 | app/buck2_client/src/commands/clean.rs:381-390 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_client/src/commands/clean.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d94da73704d81e7f4b58c325cea76496c0abc0fc15d07ae4e2bb0042ec4ce09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_client_ctx/src/signal_handler.rs:19-28 | games/src/console.rs:79-88 \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":"app/buck2_client_ctx/src/signal_handler.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fb3c4978941644ef4d79591a39d03bcad077d1dd9ebe92bbc1a520995e3814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_client_ctx/src/subscribers/recorder.rs:494-503 | app/buck2_cmd_log_client/src/summary.rs:350-359 \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":"app/buck2_client_ctx/src/subscribers/recorder.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb2d1b7d2e462aa174273fa2fecaf2438358d75efdea4e9916623b27bb26b7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_client_ctx/src/subscribers/simpleconsole.rs:465-474 | app/buck2_client_ctx/src/subscribers/superconsole.rs:945-954 \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 \u0060app/buck2_client_ctx/src/subscribers/simpleconsole.rs:465\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":"app/buck2_client_ctx/src/subscribers/simpleconsole.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ca5623fcd7db24db2e22d81c784ebe1572f55f711855e279e509ba8fb73001"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_common/src/memory.rs:41-50 | app/buck2_common/src/memory.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 \u0060app/buck2_common/src/memory.rs:41\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/buck2_common/src/memory.rs:51\u0060 calls \u0060var_os\u0060, \u0060is_some\u0060 and \u0060app/buck2_common/src/memory.rs:89\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":"app/buck2_common/src/memory.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8cfc610a6eab865cf6f75f5a7767a6c0590403ef915c2e7e30ef5e01071fe00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_execute/src/execute/request.rs:842-851 | app/buck2_execute/src/execute/request.rs:862-871 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_execute/src/execute/request.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":"app/buck2_execute/src/execute/request.rs"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"1839f1e38bbad7945ee26a02e8a478a082fe31354d37a1a253058b54b0ec6af1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_execute_impl/src/materializers/deferred/data_tree.rs:516-525 | app/buck2_execute_impl/src/materializers/deferred/data_tree.rs:556-565 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_execute_impl/src/materializers/deferred/data_tree.rs:516\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":"app/buck2_execute_impl/src/materializers/deferred/data_tree.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b349b2aa4b99264e5bb6b0ed7b4b5fcc5b0731414145198aad96fafeb08d045"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_log_common/src/chrome_trace.rs:1912-1921 | app/buck2_log_common/src/chrome_trace.rs:2047-2056 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_log_common/src/chrome_trace.rs"},"region":{"startLine":1912}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b26a30ae94a28d2ade23f13cbec0ff9fa51b947cf48553c7b5f8b4310aa6fcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_query_derive/src/codegen.rs:209-218 | app/buck2_query_derive/src/codegen.rs:254-263 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_query_derive/src/codegen.rs:209\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_derive/src/codegen.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a736309a70c812bf9419cb86f4aeb1162f3ac1cffe262d3dea66e97922c134"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): app/buck2_query_impls/src/cquery/bxl.rs:54-63 | app/buck2_query_impls/src/uquery/bxl.rs:53-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_query_impls/src/cquery/bxl.rs:54\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/cquery/bxl.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a37fe5b2191ea84d2aa522c9bd1f77e906c95570505d4bc10d9111fec20b23b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): games/src/games/minesweeper.rs:587-596 | games/src/games/minesweeper.rs:646-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060games/src/games/minesweeper.rs:587\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/minesweeper.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0508689bce16405f27a9263d3cd0656f4df436496f8221f2eb2109d314fab2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pagable/src/flavors.rs:146-155 | pagable/src/flavors.rs:161-170 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"pagable/src/flavors.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd5e6a28a6aec5e9a559f2e119c42865add4215f6084dcea6677c2cf44fec9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): starlark-rust/starlark/src/eval/bc/call.rs:158-169 | starlark-rust/starlark/src/eval/bc/call.rs:203-214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"starlark-rust/starlark/src/eval/bc/call.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fd5d8f56dada745f512bf4988e95c4543ecf3e8b482c844111a236c4a79107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): starlark-rust/starlark/src/values/freeze.rs:383-392 | starlark-rust/starlark/src/values/freeze.rs:425-434 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark/src/values/freeze.rs:383\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":"starlark-rust/starlark/src/values/freeze.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a186b7d6faad25cb258443309a83fa556d2452bcebf8adc0853660d12c04a49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:1211-1220 | starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:1270-1279 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:1211\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1465538308461684e045c3d9dc1b0088d3bc041ccb9590c9ae30ba914643270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): tools/retrace/src/ingest/testlog.rs:381-390 | tools/retrace/src/ingest/testlog.rs:1799-1808 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/ingest/testlog.rs:381\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":"tools/retrace/src/ingest/testlog.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fca38dd8dd1790140df3faf83d8b495942c426cb659fe43c4b0b67235cab81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 5): app/buck2_bxl/src/bxl/starlark_defs/context/methods.rs:734-741 | app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs:349-357 | app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs:503-511 | app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs:593-601 | app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs:772-779 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/context/methods.rs:734\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060ctx\u0060 to \u0060\u0026BxlContext\u003C\u0027_\u003E\u0060 in one and \u0060\u0026BxlContextCoreData\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":"app/buck2_bxl/src/bxl/starlark_defs/context/methods.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"921730d94f622caff312bf4e3f273c546743858fbd98951f3fb17466d94ce6d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 5): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:206-212 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:229-235 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:258-264 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:287-293 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:402-410 \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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:206\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":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"536dfd95d38aba3ec3669eaadceb35df06e34a54a607dbde509250d3cdcf9518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/operation/uquery.rs:154-162 | app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/operation/uquery.rs:170-178 | app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/operation/uquery.rs:227-235 | app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/operation/uquery.rs:248-256 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/operation/uquery.rs:247\u0060 calls \u0060to_unconfigured_target_set\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/operation/uquery.rs:226\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":"app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/operation/uquery.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebbd61248ac04a769d3beb8b1344a6e43efd55b0d5574f8a89043305d0cefdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:142-149 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:176-184 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:516-523 \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":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb9e61b93baa634ea89425d064ae318de57a69e19eb9e698dcf5c181014beea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): app/buck2_cmd_log_client/src/critical_path.rs:332-340 | app/buck2_cmd_log_client/src/external_configs.rs:121-130 | app/buck2_cmd_log_client/src/external_configs.rs:161-170 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_cmd_log_client/src/critical_path.rs:332\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":"app/buck2_cmd_log_client/src/critical_path.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4b74dad925151b9eede767388e236bf858dbd268ccee24b5adb6ad81224beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): allocative/allocative_derive/src/derive_allocative.rs:320-328 | pagable_derive/src/derive_pagable.rs:553-561 \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 \u0060allocative/allocative_derive/src/derive_allocative.rs:320\u0060 it does not close everything it opens, so those exact 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, \u0060pagable_derive/src/derive_pagable.rs:551\u0060 calls \u0060Some\u0060, \u0060span\u0060 and \u0060allocative/allocative_derive/src/derive_allocative.rs:318\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":"allocative/allocative_derive/src/derive_allocative.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be5aff65627ced92e0e619dd88a6c71d5dbd162c77e03d9ed0bb16bdb3953c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_action_impl/src/actions/impls/write.rs:465-473 | app/buck2_action_impl/src/actions/impls/write_json.rs:268-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_action_impl/src/actions/impls/write.rs:465\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/write.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecec47e3cf9b49e4162cb335931706884dc1a2093f85c3cfd652f70dc3100c4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_action_impl/src/context/copy.rs:44-52 | app/buck2_action_impl/src/context/copy.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_action_impl/src/context/copy.rs:44\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":"app/buck2_action_impl/src/context/copy.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbd6cd71bc42c8f173fdc563c6cf6b3aa25aca777b55b954261e8c39c987d4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_action_impl/src/context/write.rs:283-291 | app/buck2_action_impl/src/context/write.rs:409-417 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/context/write.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"778219fa1b2a8839b49746bd17cf336d0f891b8ab1b7084ec38bc9e6d8b1d24d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_analysis/src/attrs/resolve/configured_attr.rs:129-137 | app/buck2_anon_target/src/anon_target_attr_resolve.rs:112-120 \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":"app/buck2_analysis/src/attrs/resolve/configured_attr.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2d62444be9d95537439bfd616098ae1c10f8570473bfb622c1190753b55bc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/buck2_analysis/src/attrs/resolve/configured_attr.rs:227-238 | app/buck2_build_api/src/bxl/unconfigured_attribute.rs:268-279 \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":"app/buck2_analysis/src/attrs/resolve/configured_attr.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2c75ebc9186bd75b19e985d55f3623e1521731187255f3281444227d7d8ee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/aquery.rs:311-319 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:200-208 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/aquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.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 \u0060app/buck2_bxl/src/bxl/starlark_defs/aquery.rs:311\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":"app/buck2_bxl/src/bxl/starlark_defs/aquery.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc08cbdc50bf37b6727430e2c552f3fce6d8f89c358d7075ca2ddf6edfd82848"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:670-678 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:548-556 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:670\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6bca3081b62d24e9ac1974a2fdc05dd6b8ff8e3ff307af7e9d2055182f7730"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/buck2_client_ctx/src/stream_util.rs:89-97 | app/buck2_client_ctx/src/stream_util.rs:100-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_client_ctx/src/stream_util.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":"app/buck2_client_ctx/src/stream_util.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acf05add47e266318e838028ef44376171144c93ffc99b2b9774c91f03639c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_client_ctx/src/subscribers/superconsole/message_renderer.rs:110-118 | app/buck2_client_ctx/src/subscribers/superconsole/message_renderer.rs:121-129 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/buck2_client_ctx/src/subscribers/superconsole/message_renderer.rs:132\u0060 calls \u0060Some\u0060 and \u0060app/buck2_client_ctx/src/subscribers/superconsole/message_renderer.rs:121\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":"app/buck2_client_ctx/src/subscribers/superconsole/message_renderer.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff1932a3bb2680a33641f2e6d8c9c6dc38f7771d93feda56cb13c3f6a16dd46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_client_ctx/src/subscribers/superconsole/timed_list/table_builder.rs:262-270 | app/buck2_client_ctx/src/subscribers/superconsole/timed_list/table_builder.rs:275-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. 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":"app/buck2_client_ctx/src/subscribers/superconsole/timed_list/table_builder.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e25dea91b6b0560a3f57738622f85811efc2fb906d9db2dc267a2e73a1b0ae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_cmd_completion_client/src/complete/path_completer.rs:96-104 | app/buck2_cmd_completion_client/src/complete/path_completer.rs:120-128 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_cmd_completion_client/src/complete/path_completer.rs:96\u0060 it does not close everything it opens, so those exact 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":"app/buck2_cmd_completion_client/src/complete/path_completer.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b2ac96592fab8d3b4d1714e4290abe274376ad3df839ac9e77cd00df5aef8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): app/buck2_common/src/file_ops/dice.rs:210-218 | app/buck2_common/src/file_ops/io.rs:158-165 \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 \u0060app/buck2_common/src/file_ops/dice.rs:210\u0060 it does not close everything it opens, so those exact 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":"app/buck2_common/src/file_ops/dice.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89b65799c9768d79d3260345cbf304fc3ab46480c9fec2f182edd52dcebabfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_configured/src/nodes.rs:1761-1769 | app/buck2_configured/src/nodes.rs:1831-1839 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_configured/src/nodes.rs:1761\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/nodes.rs"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"af180fac29d6be93004552590f2158fa37aed680e688c7176117d074505728f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_execute/src/re/client.rs:1717-1725 | app/buck2_execute/src/re/client.rs:1777-1785 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ccbb8c37cd9a91dea0bfcb94a7d1fbcffb01967ad92da13996b8153c389497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_interpreter_for_build/src/attrs/attrs_global.rs:721-729 | app/buck2_interpreter_for_build/src/attrs/attrs_global.rs:743-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 \u0060app/buck2_interpreter_for_build/src/attrs/attrs_global.rs:721\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":"app/buck2_interpreter_for_build/src/attrs/attrs_global.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddebbef71ebc7fd387cd3593b1ffc6209869caec4c166e84c9c52a01904e3613"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_resource_control/src/cgroup_files.rs:129-137 | app/buck2_resource_control/src/cgroup_files.rs:154-162 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_resource_control/src/cgroup_files.rs:129\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_resource_control/src/cgroup_files.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"025336a02c97d8667cd4abb19d48c44213c632b5a70df46df26f971c2dbc4bab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): starlark-rust/starlark/src/values/types/bytes/value.rs:115-123 | starlark-rust/starlark_syntax/src/syntax/ast.rs:536-544 \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 \u0060f\u0060 to \u0060\u0026mut fmt::Formatter\u003C\u0027_\u003E\u0060 in one and \u0060\u0026mut Formatter\u003C\u0027_\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/bytes/value.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52b83b94dc54281886d05465c2982f717fd60acdcb6ec2993a568858573cd3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): starlark-rust/starlark/src/values/types/namespace/typing.rs:89-97 | starlark-rust/starlark/src/values/types/structs/structs.rs:66-74 \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":"starlark-rust/starlark/src/values/types/namespace/typing.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00da9dfe009ddf910f8f70e9498d886da1ff2f51102ffb5896ccf787e433a69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): starlark-rust/starlark/src/values/types/string/methods.rs:322-330 | starlark-rust/starlark/src/values/types/string/methods.rs:423-431 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark/src/values/types/string/methods.rs:322\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/string/methods.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20ac721476f0e6252f156ee16182b7611386586574b0e3fb4c7caf239947313"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): starlark-rust/starlark/src/values/types/string/methods.rs:881-889 | starlark-rust/starlark/src/values/types/string/methods.rs:916-924 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark/src/values/types/string/methods.rs:881\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/string/methods.rs"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad6ebefdc37b635d028847ab626a92f8be2b92b3d7f83388a03be2ab38008b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): starlark-rust/starlark_lsp/src/server.rs:694-702 | starlark-rust/starlark_lsp/src/server.rs:1041-1049 \u2014 both copies are in the same file, so extract the block 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 \u0060params\u0060 to \u0060GotoDefinitionParams\u0060 in one and \u0060HoverParams\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":"starlark-rust/starlark_lsp/src/server.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda06c3bd8ccab21dda9fe42722d90320e56e233e21706327c9057c62a897857"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/retrace/src/dag.rs:456-464 | tools/retrace/src/dag.rs:603-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 \u0060tools/retrace/src/dag.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060tools/retrace/src/dag.rs:453\u0060 calls \u0060is_multiple_of\u0060, \u0060cancelled\u0060 and \u0060tools/retrace/src/dag.rs:602\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":"tools/retrace/src/dag.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"f458ad68cac551e471ee5d3b0496be300b07f5c62f34c61818601c091c170d2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): tools/retrace/src/gui/detail_ui.rs:1319-1328 | tools/retrace/src/gui/detail_ui.rs:2453-2462 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/gui/detail_ui.rs:1319\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd7011a41c75c76190b9bb6338a44575c7103765c876f75d51118472b70fc28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/retrace/src/ingest/emit.rs:3150-3158 | tools/retrace/src/ingest/emit.rs:3174-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/emit.rs"},"region":{"startLine":3150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e8bc1c158bb1d62490214d52f8c8b1653d67fbf29fb743153a323fc52de63a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:614-621 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:641-648 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:221-228 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:427-434 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:519-526 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:614\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":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd0f2aa56ee0eea23a54ac4a8e2270615c11e153b43c9aac0853046cbb5a080"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 3): app/buck2_bxl/src/bxl/starlark_defs/aquery.rs:335-340 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:560-567 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:618-623 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/aquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.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 \u0060app/buck2_bxl/src/bxl/starlark_defs/aquery.rs:335\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":"app/buck2_bxl/src/bxl/starlark_defs/aquery.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"55aeb4f0867fa47adb0b4b8f416ca7e95add4dd504bcf0b054ec50c1bdb16244"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:429-436 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:612-619 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:639-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:429\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":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc8555dcfc7a2ccaf9f37d966013ab1d4c15084fca22d3c64ab189b9368def3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): app/buck2_configured/src/nodes.rs:1761-1768 | app/buck2_configured/src/nodes.rs:1831-1838 | app/buck2_configured/src/target_platform_resolution.rs:59-68 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_configured/src/nodes.rs:1761\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/nodes.rs"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"1315539d9133a585d40d81da332427fc300a3a24aa4fed88ee5f05e39c6c07c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): allocative/allocative_derive/src/derive_allocative.rs:181-188 | allocative/allocative_derive/src/derive_allocative.rs:202-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 \u0060allocative/allocative_derive/src/derive_allocative.rs:181\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":"allocative/allocative_derive/src/derive_allocative.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"4605de2d323b0731ff0af729113cb29efd15c387c0685acb9f7af4fb60fbd229"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_action_impl/src/context/run.rs:616-623 | app/buck2_build_api/src/interpreter/rule_defs/command_executor_config.rs:263-270 \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":"app/buck2_action_impl/src/context/run.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c0cc574ace5ad33052e6b527c976296068486b91509f8dcb057b4ec8a604a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_action_impl/src/context/run.rs:626-633 | app/buck2_build_api/src/interpreter/rule_defs/command_executor_config.rs:273-280 \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":"app/buck2_action_impl/src/context/run.rs"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b7f40498962127f58b953ec4c7635cd4d2bc8800070bb9175344d47e33a42e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_anon_target/src/anon_target_attr_coerce.rs:456-463 | app/buck2_anon_target/src/anon_target_attr_coerce.rs:465-472 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_anon_target/src/anon_target_attr_coerce.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b4b518ef4051a6910fb2aa24677911f1974a70e6174746eb19eb54184ebf1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_build_api/src/interpreter/rule_defs/provider/collection.rs:711-718 | app/buck2_build_api/src/interpreter/rule_defs/provider/collection.rs:724-731 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/provider/collection.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d7406cc77f211eca2fd5d6fcf5fe7f37ef8c1a6974552e0d260baaf1b45464"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:862-869 | app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:889-896 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:862\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":"app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"2413aeb981a40dfb703ae7111b8eeb0f7b731685367881f27eefa999aa4b5356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/functions.rs:287-294 | starlark-rust/starlark/src/stdlib/funcs/other.rs:55-62 \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":"app/buck2_bxl/src/bxl/starlark_defs/functions.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b21c86e089e2c126af2a60ca1d9166db19733056922bbc87922ae687549cd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_execute/src/execute/command_executor.rs:322-329 | app/buck2_execute/src/execute/command_executor.rs:405-412 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_execute/src/execute/command_executor.rs:322\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/execute/command_executor.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"8240c95cf0d4b279623636c8537fda5accf082ac56da4cb3193a81f1a28f5c69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs:1488-1495 | app/buck2_execute_impl/src/materializers/v2/clean_stale.rs:489-496 \u2014 \u0060app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs\u0060 and \u0060app/buck2_execute_impl/src/materializers/v2/clean_stale.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 59 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"84eedab659a75dcfde53943c22a63acbd56b412086e345580ad3a1d708920ac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_interpreter/src/types/configured_providers_label.rs:143-152 | app/buck2_interpreter/src/types/configured_providers_label.rs:301-310 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_interpreter/src/types/configured_providers_label.rs:143\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter/src/types/configured_providers_label.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"76be7d44ca3a82d8c88f7a2ca517a67e6e710470bdd964e23ea64512f33665ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_interpreter/src/types/target_label.rs:122-129 | app/buck2_interpreter/src/types/target_label.rs:258-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_interpreter/src/types/target_label.rs:122\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":"app/buck2_interpreter/src/types/target_label.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fa49c45f5537d6f682066dfdf5f89b5bb6769837e0490bd51aec1f68cea757"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/buck2_interpreter_for_build/src/attrs/attrs_global.rs:207-218 | app/buck2_interpreter_for_build/src/attrs/attrs_global.rs:270-281 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_interpreter_for_build/src/attrs/attrs_global.rs:207\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":"app/buck2_interpreter_for_build/src/attrs/attrs_global.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd17a5e23a1311c8905e9443c1100ca33ca3bd6feecbb9e15d25126790cf3b82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_query/src/query/graph/graph.rs:404-411 | app/buck2_query/src/query/graph/graph.rs:417-424 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_query/src/query/graph/graph.rs:404\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query/src/query/graph/graph.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f3a89143b80c5be383f3cba61f4da9539893b04f66c8bf53c87fc2b20b48ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dice/dice/src/epoch/task/dice.rs:331-338 | dice/dice/src/epoch/task/dice.rs:377-384 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dice/dice/src/epoch/task/dice.rs:331\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/epoch/task/dice.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"1085fcd0e4a99ff2b4f3fb9a01a519200b7c0ddc4efa70754096ff33c058a99b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): games/src/framebuffer.rs:89-96 | games/src/games/minesweeper.rs:1159-1167 \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 \u0060games/src/framebuffer.rs:89\u0060 it begins part-way through the construct above it, so those exact 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, \u0060games/src/games/minesweeper.rs:1170\u0060 calls \u0060push\u0060, \u0060to_owned\u0060, \u0060try_into\u0060 and \u0060games/src/framebuffer.rs:97\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":"games/src/framebuffer.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a004df2c9c73d673f129bb27cf44a2e8c61ba69593c6207207ee83a3d0ac992c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): games/src/games.rs:516-523 | games/src/games.rs:567-574 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060games/src/games.rs:516\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":"games/src/games.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f1ff04dbba4ff4b6cc773055544146aadcfe86e267671f5a0dd87192fbb8d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): games/src/games/minesweeper.rs:597-604 | games/src/games/minesweeper.rs:727-734 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/minesweeper.rs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"102570ebbb4a60ea26e59b2fe8b3a1180a980e0410745651b670386b9d8e7001"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shed/mini_map/src/fixed_insertion_map.rs:605-612 | shed/mini_map/src/mut_insertion_map.rs:1281-1289 \u2014 before extracting anything, compare \u0060shed/mini_map/src/fixed_insertion_map.rs\u0060 and \u0060shed/mini_map/src/mut_insertion_map.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060shed/mini_map/src/fixed_insertion_map.rs:605\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shed/mini_map/src/fixed_insertion_map.rs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d77722ed0660838d58d9968e9831d35688dffcbd0f17df3b039b657af3d311"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): starlark-rust/starlark/src/docs/parse.rs:179-189 | starlark-rust/starlark/src/docs/parse.rs:192-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. 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":"starlark-rust/starlark/src/docs/parse.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8e9bcc359ca9cfe0392a57fc63ebb1b99e86ea390cb9e4724f876598390d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): starlark-rust/starlark/src/typing/fill_types_for_lint.rs:441-448 | starlark-rust/starlark/src/typing/fill_types_for_lint.rs:512-519 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/fill_types_for_lint.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3484cf0c4a4147680189b5033caf5160bd1aa2510c398c633f94963a1e14d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): starlark-rust/starlark/src/values/types/list/methods.rs:262-269 | starlark-rust/starlark/src/values/types/set/methods.rs:236-243 \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 \u0060starlark-rust/starlark/src/values/types/list/methods.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":"starlark-rust/starlark/src/values/types/list/methods.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5f25357616bc0bf0dba553f2681e6390e289966d93f84aa8d9ab39e585bfd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): tools/retrace/src/dag.rs:493-500 | tools/retrace/src/dag.rs:639-646 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/dag.rs:493\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/dag.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11d4310c0250009aaf6c01f495a14af2c2a30fcbeb6e00bb7b269d6785eedd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): tools/retrace/src/gui/detail_ui.rs:1196-1204 | tools/retrace/src/gui/detail_ui.rs:1240-1248 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f964cdcae9c92f53c9f3131ec97c56e82e64fe60f402ec09e9379630cab9d0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): tools/retrace/src/gui/panels.rs:1201-1208 | tools/retrace/src/gui/panels.rs:1401-1408 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/gui/panels.rs:1201\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":"tools/retrace/src/gui/panels.rs"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e8582371da92ec104088a9a81820defb47a8e61b582383b82101761599dca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): tools/retrace/src/ingest/testlog.rs:918-925 | tools/retrace/src/ingest/testlog.rs:1519-1526 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/ingest/testlog.rs:918\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":"tools/retrace/src/ingest/testlog.rs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea976a15055a9e689d57c4597e731356b4c8e674a059f7bc3b2582a5fb354883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 10): app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:990-996 | app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:1022-1027 | app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:1152-1157 | app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:1179-1184 | app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:1207-1212 | app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:1234-1239 | app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:1262-1267 | app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:1289-1294 | app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:1317-1322 | app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:1344-1349 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:990\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":"app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"165a2e4760472f09fdbab821bb209b62177ae7935b5178dbb7fd965b2c7d9d0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): starlark-rust/starlark/src/eval/bc/compiler/assign_modify.rs:119-125 | starlark-rust/starlark/src/eval/bc/compiler/assign_modify.rs:160-166 | starlark-rust/starlark/src/eval/bc/compiler/assign_modify.rs:174-180 | starlark-rust/starlark/src/eval/bc/compiler/assign_modify.rs:187-193 \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":"starlark-rust/starlark/src/eval/bc/compiler/assign_modify.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c460df07c4c6bd6ca1667c94ea39f1c1bfa5f325ef8734ac19097c3c2a168e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/buck2_action_impl/src/context/copy.rs:135-143 | app/buck2_action_impl/src/context/copy.rs:160-168 | app/buck2_action_impl/src/context/copy.rs:182-188 \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 \u0060app/buck2_action_impl/src/context/copy.rs:135\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/context/copy.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"28016417a5bcabfa87b1922565cad034b7424066a68eff6b661ee5b65d59fbbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_action_impl/src/actions/impls/run.rs:614-620 | app/buck2_action_impl/src/actions/impls/run.rs:630-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 \u0060app/buck2_action_impl/src/actions/impls/run.rs:614\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1ad573743162e4ce0542690cc54239ca43b3a765b8495772d72932d72788ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): app/buck2_action_impl/src/context/copy.rs:200-213 | app/buck2_action_impl/src/context/copy.rs:222-236 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_action_impl/src/context/copy.rs:200\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":"app/buck2_action_impl/src/context/copy.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bedf4300edf1c1ed746d1c5d637308f3a76d97ad2bea81fe35ddc524791af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_anon_target/src/anon_target_attr.rs:171-177 | app/buck2_anon_target/src/anon_target_attr.rs:209-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 \u0060app/buck2_anon_target/src/anon_target_attr.rs:171\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/anon_target_attr.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a46644ffcf6e73beef0e18971f62bf4fbd5e252aab076445454e5a069149dd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_build_api/src/interpreter/rule_defs/resolve_query_macro.rs:49-55 | app/buck2_dynamic_actions/src/storage.rs:68-74 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060field\u0060 to \u0060\u0026[]\u0060 in one and \u0060\u0026BuckMutInsertionMap\u003CDynamicLambdaResultsKey, FrozenDynamicLambdaParams\u003C\u0027_\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/resolve_query_macro.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47af97eb688eec69ef01a3e5095efaaa9e42d533cbcd664892184a537a852af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_args_projection.rs:313-319 | app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_json_projection.rs:146-152 \u2014 before extracting anything, compare \u0060app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_args_projection.rs\u0060 and \u0060app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_json_projection.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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 \u0060app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_args_projection.rs:313\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":"app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_args_projection.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf3e69f9ef39a23f24c686a6a2b248a36b54f4cd1213a868e939303f0dba88f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_definition.rs:481-487 | app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_definition.rs:494-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 \u0060app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_definition.rs:481\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_definition.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23689e5d19663274e18d8359f1e580f824022567fd95209547b6e7e5bd73ae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/context/anon_target.rs:120-127 | app/buck2_interpreter_for_build/src/rule.rs:1091-1097 \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":"app/buck2_bxl/src/bxl/starlark_defs/context/anon_target.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"109cad784085eb1d746c250d9e6885efac6be2873779d690ca7f10381f0e1b73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx.rs:253-259 | app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx.rs:360-366 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4079fef4d6eb84d97909c5fae1508ad3444917f5a4fd0d3b5e07a1aa8bec5c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs:516-522 | app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs:786-792 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs:516\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b5be5f6e23f240f6d32ce161861374bd7e88b801ab6366522a930bb7c4b89f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_cmd_audit_server/src/starlark/package_deps.rs:35-41 | app/buck2_cmd_docs_server/src/starlark_.rs:111-117 \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":"app/buck2_cmd_audit_server/src/starlark/package_deps.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ece4fdc173ccbb275f538d968e1b7d361530e4b4825430a3ca8f3916e5bc98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_core/src/bzl.rs:59-65 | app/buck2_core/src/bzl.rs:82-88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/buck2_core/src/bzl.rs:67\u0060 calls \u0060path\u0060, \u0060extension\u0060, \u0060Some\u0060 and \u0060app/buck2_core/src/bzl.rs:90\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/bzl.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f22b2a3905014b14f014c464004fec913643f17c1afb8b86124ee196da4cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_interpreter/src/types/configured_providers_label.rs:176-182 | app/buck2_interpreter/src/types/configured_providers_label.rs:343-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 \u0060app/buck2_interpreter/src/types/configured_providers_label.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":"app/buck2_interpreter/src/types/configured_providers_label.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c207a90a3ce6f81d4cb50348d7cf8436d25e445c9d9d68ef9b9558b2b073d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_node/src/attrs/attr_type/arg.rs:392-398 | app/buck2_node/src/attrs/attr_type/arg.rs:727-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. 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":"app/buck2_node/src/attrs/attr_type/arg.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f83583dd787c25e0d1426b0562a6c47be0931075cce3755f42e69b71cfc2d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_query_impls/src/analysis/environment.rs:143-149 | app/buck2_query_impls/src/aquery/functions.rs:36-42 \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 \u0060app/buck2_query_impls/src/analysis/environment.rs:143\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/analysis/environment.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a844d2bb2c5280e35c3922d1c47106b776a46d78ae245259c64d25dd88f915b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_server/src/daemon/common.rs:348-354 | app/buck2_server/src/daemon/common.rs:367-373 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_server/src/daemon/common.rs:348\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":"app/buck2_server/src/daemon/common.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bec6aeb094005c404c469aa9ee4b5a370abbad206782c90a937c0a44278c142"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): games/src/games.rs:443-449 | games/src/games.rs:467-473 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060games/src/games.rs:443\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db904ba2efcc3cdb64426ad613750629fd431d567e110364f768be1ea0e3b67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): games/src/games/minesweeper.rs:337-345 | games/src/games/minesweeper.rs:384-392 \u2014 both copies are in the same file, so extract the block 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":"games/src/games/minesweeper.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9fa719efdd68b75e7d50fb945adfc47d31c8056c679ce0846dedfde91e5bf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): games/src/games/sokoban.rs:245-251 | games/src/games/sokoban.rs:369-378 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060games/src/games/sokoban.rs:245\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/sokoban.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"30da8926826482264bd4a18eb2fce08e7813009def2acd65bd02d31a7ad52aee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): shed/mini_map/src/fixed_insertion_map.rs:689-696 | shed/mini_map/src/mut_insertion_map.rs:1333-1340 \u2014 before extracting anything, compare \u0060shed/mini_map/src/fixed_insertion_map.rs\u0060 and \u0060shed/mini_map/src/mut_insertion_map.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"shed/mini_map/src/fixed_insertion_map.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"e589435cae4c741155e48c87a0aea548722325c0c2ac37658ff61d35a96741f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): starlark-rust/starlark/src/typing/bindings.rs:224-230 | starlark-rust/starlark/src/typing/fill_types_for_lint.rs:459-467 \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 \u0060starlark-rust/starlark/src/typing/bindings.rs:224\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/bindings.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7dc89d4ab1acc51712eb8efc797758ea615f0b4462184fe1741abf9deb45bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): starlark-rust/starlark/src/values/types/string/methods.rs:779-787 | starlark-rust/starlark/src/values/types/string/methods.rs:947-955 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark/src/values/types/string/methods.rs:779\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":"starlark-rust/starlark/src/values/types/string/methods.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fac5cbe8df3da83eddf33bab7a94c5fcefd40234cf8e7fea19e8d43ec93017"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:868-874 | starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:1398-1404 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:868\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":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"069581c0411b1a377544da73bf72819a221797208165184182aa595edc1805eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): superconsole/src/content/lines.rs:151-157 | superconsole/src/content/lines.rs:163-169 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060superconsole/src/content/lines.rs:151\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"superconsole/src/content/lines.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"494a91f84606571a61e5ab73a5c333617bbcbfb50f263d767d38b57a990ab480"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/retrace/src/analyses.rs:140-146 | tools/retrace/src/analyses.rs:160-166 \u2014 both copies are in the same file, so extract the block 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":"tools/retrace/src/analyses.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5433314aac03251f1e4f6a80f9c66cf97e6a2529b9a74c67d3a91e6c4b68d73e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/retrace/src/gui/panels.rs:1084-1092 | tools/retrace/src/gui/panels.rs:1314-1320 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/gui/panels.rs:1084\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/panels.rs"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c61e566bf8337c35e76fad35d8e6d731efb9f91c6d7d9274029002fd79ed069"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/retrace/src/main.rs:525-531 | tools/retrace/src/main.rs:575-581 \u2014 both copies are in the same file, so extract the block 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":"tools/retrace/src/main.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6f636d8cd7e4d091b4609a3b09bbfdd003ed1cdbd31224dc60755271093226"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:431-436 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:614-620 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:641-647 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:221-227 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:427-433 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:519-525 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:431\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":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad340fdff1b49366f5ea4ae334f0a4543e9c5143498404c852b9805de86c8599"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): app/buck2_bxl/src/bxl/starlark_defs/functions.rs:400-405 | app/buck2_bxl/src/bxl/starlark_defs/functions.rs:430-435 | app/buck2_bxl/src/bxl/starlark_defs/functions.rs:461-466 | app/buck2_bxl/src/bxl/starlark_defs/functions.rs:529-534 \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 \u0060app/buck2_bxl/src/bxl/starlark_defs/functions.rs:400\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":"app/buck2_bxl/src/bxl/starlark_defs/functions.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b1101428c36edaf61f8e95070dffd110c63fbd074bea9ade22bc56701bbfc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): app/buck2_interpreter_for_build/src/attrs/attrs_global.rs:205-210 | app/buck2_interpreter_for_build/src/attrs/attrs_global.rs:268-273 | app/buck2_interpreter_for_build/src/attrs/attrs_global.rs:337-342 \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":"app/buck2_interpreter_for_build/src/attrs/attrs_global.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5b48d0caaaa32838fea2ad82267cf6d022c5a6dd4dfe883f55f454998794f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): starlark-rust/starlark/src/values/types/string/interpolation.rs:243-248 | starlark-rust/starlark/src/values/types/string/interpolation.rs:270-275 | starlark-rust/starlark/src/values/types/string/interpolation.rs:297-302 \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 \u0060starlark-rust/starlark/src/values/types/string/interpolation.rs:243\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/string/interpolation.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3329c1c35c69ae0bd6b15682dd8535049d3d8a50566b5b8f588ec7b572148d1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 3): app/buck2_action_impl/src/context/run.rs:285-287 | app/buck2_action_impl/src/context/write.rs:187-192 | app/buck2_action_impl/src/context/write.rs:345-350 \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":"app/buck2_action_impl/src/context/run.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff136f909868242350daad0ae0c02fad71bae0d93374daebd24069bb618a3ceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_build_api/src/interpreter/rule_defs/artifact/starlark_artifact.rs:231-236 | app/buck2_build_api/src/interpreter/rule_defs/artifact/starlark_declared_artifact.rs:227-232 \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":"app/buck2_build_api/src/interpreter/rule_defs/artifact/starlark_artifact.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfb3126fae2055d9d70f386d7ebf139e441be74a6164a82451371b11fc47dc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_build_api/src/interpreter/rule_defs/artifact_tagging/artifact_tag.rs:150-155 | app/buck2_build_api/src/interpreter/rule_defs/artifact_tagging/artifact_tag.rs:178-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_build_api/src/interpreter/rule_defs/artifact_tagging/artifact_tag.rs:150\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":"app/buck2_build_api/src/interpreter/rule_defs/artifact_tagging/artifact_tag.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef43a8bc42e4081f096c827096f27211808f18cd4471c5715729e0d615438651"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/bxl_function.rs:59-66 | app/buck2_bxl/src/bxl/starlark_defs/bxl_function.rs:71-78 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/bxl_function.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/bxl_function.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"721b0b8b58e590bda3c4f3f3521aca7e8b9148abab6842cd0fe19aa3832f63bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx.rs:261-266 | app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx.rs:368-373 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3372172fc551d5692e5df8498adbb3e7b7fd6e7743da5415521f83524638e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 4): app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:131-136 | app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:175-178 | app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:253-256 | app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:402-407 \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 \u0060app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:131\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":"app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"de592fb8673c310846853aeb5fee3164eb5866558183a4f3596ad504ca0d97f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs:654-660 | app/buck2_node/src/nodes/configured.rs:1021-1026 \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 \u0060app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs:654\u0060 it does not close everything it opens, so those exact 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":"app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"407fbf6aef894e3c1defc3f7a7a47e42e80344d6e6d2c75e343804056b798ca4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:190-195 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:581-586 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:190\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":"app/buck2_bxl/src/bxl/starlark_defs/uquery.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ee871e9325691ac83999da791157049dc0bbba00cb5bf4d5ba8636f7057d54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_cmd_log_client/src/critical_path.rs:145-150 | app/buck2_cmd_log_client/src/external_configs.rs:57-62 \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 \u0060app/buck2_cmd_log_client/src/critical_path.rs:145\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":"app/buck2_cmd_log_client/src/critical_path.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddce0e9077ff1efe10962801d7f0084a5e1a189eacd53dc1eff3f41a94487e36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_dynamic_actions/src/attrs_starlark.rs:114-120 | app/buck2_dynamic_actions/src/attrs_starlark.rs:161-167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_dynamic_actions/src/attrs_starlark.rs:114\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":"app/buck2_dynamic_actions/src/attrs_starlark.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06099c86fc8da243ef00f7d2e8875dc0288e4d32c5bc95e73336b956b00e1eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_event_observer/src/display.rs:163-169 | app/buck2_server_commands/src/explain_code.rs:85-90 \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 \u0060app/buck2_event_observer/src/display.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":"app/buck2_event_observer/src/display.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d1f8d2e20d7f999569244d840d5c63c6105904bac40909b97fc0c9fb3581a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs:1700-1705 | app/buck2_execute_impl/src/materializers/v2/clean_stale.rs:1016-1021 \u2014 \u0060app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs\u0060 and \u0060app/buck2_execute_impl/src/materializers/v2/clean_stale.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 59 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs:1700\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":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22157427e2cad1c999c7ee17d03cf390ac0833ed45c723377ff576b4acaa01d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_execute_impl/src/materializers/deferred/data_tree.rs:503-508 | app/buck2_execute_impl/src/materializers/deferred/data_tree.rs:543-548 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_execute_impl/src/materializers/deferred/data_tree.rs:503\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/data_tree.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"063fc9aa56a37c6387b09cc3432a00f1f36190aa2263bcb1153ef4d6f47cd780"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): starlark-rust/starlark/src/docs/markdown.rs:169-174 | starlark-rust/starlark/src/docs/markdown.rs:218-223 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/docs/markdown.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15d6925595877c8b2456a299a0481fc32b4b4c21d10c850581dc73575d38df1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): starlark-rust/starlark/src/eval/runtime/arguments.rs:279-284 | starlark-rust/starlark/src/eval/runtime/arguments.rs:297-302 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/runtime/arguments.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dbebabd9a8629579a45ad1fbf98b53457206a19ad09bdf119767f97fd14a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 5): starlark-rust/starlark/src/values/types/string/methods.rs:247-252 | starlark-rust/starlark/src/values/types/string/methods.rs:318-320 | starlark-rust/starlark/src/values/types/string/methods.rs:416-421 | starlark-rust/starlark/src/values/types/string/methods.rs:877-879 | starlark-rust/starlark/src/values/types/string/methods.rs:912-914 \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 \u0060starlark-rust/starlark/src/values/types/string/methods.rs:247\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/string/methods.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c5a1ece2a0dae67f4c57dd9a6f8f9cdce57497d6d0c740c8b127fd5a0a1c2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): starlark-rust/starlark/src/values/types/string/methods.rs:280-289 | starlark-rust/starlark/src/values/types/string/methods.rs:1208-1217 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark/src/values/types/string/methods.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":"starlark-rust/starlark/src/values/types/string/methods.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"849866c0ee986a71931b3c3a987825137c77f41d972a156bb9af58d96ab1abda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:861-866 | starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:1391-1396 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark_syntax/src/syntax/parser_rd.rs:861\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":"starlark-rust/starlark_syntax/src/syntax/parser_rd.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ba71e414fd75540aac6a29771845dd96268f21a26d53dc57f5a93edbdce685"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): tools/retrace/src/gui/panels.rs:538-543 | tools/retrace/src/gui/panels.rs:705-710 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/gui/panels.rs:538\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":"tools/retrace/src/gui/panels.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc096f0bf8c326a47e3060dda90fbbf3134253c39b6290bc04aa2d4f75bb51ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/retrace/src/ingest/emit.rs:2930-2936 | tools/retrace/src/ingest/emit.rs:3016-3022 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/ingest/emit.rs:2930\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/emit.rs"},"region":{"startLine":2930}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cc0fa7622e564a7563dad42c4c95f24b3b42591e6a15eb63d45f0db0a6016c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): tools/retrace/src/ingest/scan.rs:1054-1059 | tools/retrace/src/ingest/scan.rs:1330-1335 \u2014 both copies are in the same file, so extract the block 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":"tools/retrace/src/ingest/scan.rs"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa76ecffa5df719e60dcb583cfa307fd6881b92488dac1075d11d206b057471"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 12): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:136-138 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:171-175 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:206-210 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:229-233 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:258-262 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:287-291 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:318-324 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:359-365 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:402-408 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:447-453 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:472-478 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:509-515 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:136\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":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"2913b6668d33b8cb095c5bec494823ae421a3654b88708225edf9062bf1f1bdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 11): app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:125-129 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:159-163 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:194-198 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:250-254 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:277-283 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:322-328 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:367-373 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:395-401 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:457-463 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:489-495 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:585-589 \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 \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:125\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, \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:402\u0060 calls \u0060unpack_targets\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:464\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":"app/buck2_bxl/src/bxl/starlark_defs/uquery.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"127cc7b148b9904dd79214946c0f6289ed2149b84549ffde2176c2a317fb60c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): tools/retrace/src/gui/panels.rs:277-281 | tools/retrace/src/gui/panels.rs:325-329 | tools/retrace/src/gui/panels.rs:390-394 | tools/retrace/src/gui/panels.rs:435-439 | tools/retrace/src/gui/panels.rs:631-635 \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 \u0060tools/retrace/src/gui/panels.rs:277\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":"tools/retrace/src/gui/panels.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35b372b43113bb97392f22b933ada3888d405eeaa9431f0d2672fcb59c1a54b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): app/buck2_bxl/src/bxl/starlark_defs/aquery.rs:204-210 | app/buck2_bxl/src/bxl/starlark_defs/aquery.rs:247-253 | app/buck2_bxl/src/bxl/starlark_defs/aquery.rs:276-282 | app/buck2_bxl/src/bxl/starlark_defs/aquery.rs:304-308 \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 \u0060app/buck2_bxl/src/bxl/starlark_defs/aquery.rs:204\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/aquery.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"90517e7835f30987ebb236b7a8098328362355b49d276d63548e1483eb492ff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): starlark-rust/starlark/src/values/types/string/methods.rs:321-325 | starlark-rust/starlark/src/values/types/string/methods.rs:422-426 | starlark-rust/starlark/src/values/types/string/methods.rs:880-884 | starlark-rust/starlark/src/values/types/string/methods.rs:915-919 \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 \u0060starlark-rust/starlark/src/values/types/string/methods.rs:321\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/string/methods.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"be94f06a2dfb0e2e6fc4b333c8f56704865697be91a3994c727a126e299126af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): app/buck2_interpreter_for_build/src/attrs/attrs_global.rs:211-215 | app/buck2_interpreter_for_build/src/attrs/attrs_global.rs:274-278 | app/buck2_interpreter_for_build/src/attrs/attrs_global.rs:585-589 \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 \u0060app/buck2_interpreter_for_build/src/attrs/attrs_global.rs:211\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/attrs/attrs_global.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71364ac201956e14cd34dca22e34f6d24a0a073538ec59ac6457e33e53558db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): starlark-rust/starlark/src/values/types/set/methods.rs:178-182 | starlark-rust/starlark/src/values/types/set/methods.rs:241-245 | starlark-rust/starlark/src/values/types/set/methods.rs:277-281 \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 \u0060starlark-rust/starlark/src/values/types/set/methods.rs:178\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":"starlark-rust/starlark/src/values/types/set/methods.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"42deaa31456911cfa17ecd9262bbe9b13afa38db972a1bfd52a9f65a6941ec0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): starlark-rust/starlark/src/values/types/string/methods.rs:742-746 | starlark-rust/starlark/src/values/types/string/methods.rs:1037-1041 | starlark-rust/starlark/src/values/types/string/methods.rs:1238-1242 \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 \u0060starlark-rust/starlark/src/values/types/string/methods.rs:742\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/string/methods.rs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62b14476d27528130f36b3f4c95d5cd77e5030a528786fe39e77d6466558f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): allocative/allocative_derive/src/derive_allocative.rs:327-332 | pagable_derive/src/derive_pagable.rs:577-582 \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 \u0060allocative/allocative_derive/src/derive_allocative.rs:327\u0060 it begins part-way through the construct above it, so those exact 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":"allocative/allocative_derive/src/derive_allocative.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc2e2908bb88f54f624ec035893d795f784a9634379c814af697a60a1abc734"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_action_impl/src/context/write.rs:189-194 | app/buck2_action_impl/src/context/write.rs:278-283 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_action_impl/src/context/write.rs:189\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":"app/buck2_action_impl/src/context/write.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c014585b11105eb7f5a961653b498ed6a8ca9e6a61df4623d544bed9786920a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_analysis/src/attrs/resolve/configured_attr.rs:115-120 | app/buck2_anon_target/src/anon_target_attr_resolve.rs:98-103 \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":"app/buck2_analysis/src/attrs/resolve/configured_attr.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"156ea649ac5f8abbdceedc47bf7006c25fa257641d4e29ad7d506c295aa2443f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/file_set.rs:141-146 | app/buck2_bxl/src/bxl/starlark_defs/targetset.rs:251-256 \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":"app/buck2_bxl/src/bxl/starlark_defs/file_set.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54d47eada0025872c1800cca0feb5f1b3b3350b3c3ce024a3e2489cf36323e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/file_set.rs:162-167 | app/buck2_bxl/src/bxl/starlark_defs/targetset.rs:266-271 \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":"app/buck2_bxl/src/bxl/starlark_defs/file_set.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0bc2e4f84faf34fa620f3e00278caaaac8e13daef8001b51663dac4e5cb0ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_event_observer/src/display.rs:1303-1308 | app/buck2_event_observer/src/display.rs:1316-1321 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_event_observer/src/display.rs"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39450ec1ff72159c298547fccf836f83c2c683b6d29ffac7e09724bf72df5b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_execute_impl/src/materializers/v2/core.rs:1428-1433 | app/buck2_execute_impl/src/materializers/v2/core.rs:1502-1507 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_execute_impl/src/materializers/v2/core.rs:1428\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060entry\u0060 to \u0060\u0026ArtifactMetadata\u0060 in one and \u0060\u0026ActionDirectoryEntry\u003CActionImmutableDirectory\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":"app/buck2_execute_impl/src/materializers/v2/core.rs"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d53933ff04fd61448b7933e91e564d09a8cfcb17ee796246de3a00e61c394f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/buck2_query_parser/src/lib.rs:515-519 | app/buck2_query_parser/src/lib.rs:533-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 \u0060app/buck2_query_parser/src/lib.rs:515\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_parser/src/lib.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca6afe4079889d622d8af350614f5c4417a8872d2777b92b3bee13732d4652f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/buck2_server/src/snapshot.rs:748-752 | app/buck2_server/src/snapshot.rs:760-764 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_server/src/snapshot.rs:748\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/snapshot.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db6c54ad7f97636f26cfeadb24e5f5e10c803e0781de4fc638f2650189917d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): integrations/rust-project/src/main.rs:322-327 | integrations/rust-project/src/main.rs:343-348 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060integrations/rust-project/src/main.rs:322\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/rust-project/src/main.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f2d92759128261b26b46bbc5d6b873ca842fe1a55489d65255777689b84e7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): shed/mini_map/src/mut_insertion_map.rs:328-333 | shed/mini_map/src/mut_insertion_map.rs:342-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. 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":"shed/mini_map/src/mut_insertion_map.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c80f57d1d4eee7e335adbdf3c629d8314b2a5b748b3fdd0b0023d10a267dfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): starlark-rust/starlark/src/stdlib/extra.rs:138-143 | starlark-rust/starlark/src/stdlib/extra.rs:152-156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark/src/stdlib/extra.rs:138\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/stdlib/extra.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2f0727401260b500e6f03f9a3c39386446170d449f25f1a16eb6ae4d08acbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): starlark-rust/starlark/src/stdlib/extra.rs:179-184 | starlark-rust/starlark/src/values/types/string/globals.rs:152-157 \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 \u0060starlark-rust/starlark/src/stdlib/extra.rs:179\u0060 it begins part-way through the construct above it, so those exact 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, \u0060starlark-rust/starlark/src/stdlib/extra.rs:176\u0060 calls \u0060pstr\u0060 and \u0060starlark-rust/starlark/src/values/types/string/globals.rs:133\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":"starlark-rust/starlark/src/stdlib/extra.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8c8ce66f0ea6b941f933a1ff7ac5952022caaf0e591f46a2703e4b19110bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): starlark-rust/starlark/src/values/layout/avalue.rs:308-312 | starlark-rust/starlark/src/values/layout/avalues/list.rs:95-99 \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":"starlark-rust/starlark/src/values/layout/avalue.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf7063790831ede085922eb168bfeb525f3d8ab3cdac45032ad2695a126fe0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): starlark-rust/starlark/src/values/types/string/dot_format.rs:69-73 | starlark-rust/starlark/src/values/types/string/interpolation.rs:408-413 \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 \u0060starlark-rust/starlark/src/values/types/string/dot_format.rs:69\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/string/dot_format.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d0529cba91843324a01daf8b937f03cdbc3e9ca2903de88952f7bf41058136"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): starlark-rust/starlark/src/values/types/string/methods.rs:1324-1328 | starlark-rust/starlark/src/values/types/string/methods.rs:1352-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 \u0060starlark-rust/starlark/src/values/types/string/methods.rs:1324\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":"starlark-rust/starlark/src/values/types/string/methods.rs"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"82502d545f7d714ea59c5cc920d2b272383bc5fb83d13161f406de4dae242132"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): starlark-rust/starlark_derive/src/starlark_pagable_panic.rs:42-46 | starlark-rust/starlark_derive/src/starlark_pagable_unsupported.rs:37-40 | starlark-rust/starlark_derive/src/starlark_pagable_via_pagable.rs:41-45 \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 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark_derive/src/starlark_pagable_panic.rs:42\u0060 it does not close everything it opens, so those exact 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, \u0060starlark-rust/starlark_derive/src/starlark_pagable_via_pagable.rs:41\u0060 calls \u0060split_for_impl\u0060 and \u0060starlark-rust/starlark_derive/src/starlark_pagable_unsupported.rs:37\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":"starlark-rust/starlark_derive/src/starlark_pagable_panic.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c2dba73bb24e471f4dc048dc277d6c6ff4c3a106703faf670e1805cba88e73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): tools/retrace/src/gui/command_ui.rs:296-301 | tools/retrace/src/gui/command_ui.rs:303-308 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/gui/command_ui.rs:296\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/command_ui.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"7808a248cf16e01dac4745a565a4efe8bab1e6b4528914e4f36408efab9bf29e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tools/retrace/src/gui/detail_ui.rs:286-290 | tools/retrace/src/gui/detail_ui.rs:300-304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/gui/detail_ui.rs:286\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f95a349a4b5b6248e6f8ea4e4fbad827269695a8eede290012a2efdab801391"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): app/buck2_util/src/rtabort.rs:38-63 | starlark-rust/starlark/src/util/rtabort.rs:46-71 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_util/src/rtabort.rs:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_util/src/rtabort.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fbd0368b489281a0dceb3ce477112c1d0f18381891bbd5b1d8e98f6e5b316f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 2): dice/dice/src/api/demand.rs:27-85 | shed/provider/src/lib.rs:31-110 \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 \u0060dice/dice/src/api/demand.rs:27\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":"dice/dice/src/api/demand.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cdb191527cd146f240a310bc110a57c5cc000437c7685a8d36536ff4cf2891"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): allocative/allocative/src/key.rs:53-63 | allocative/allocative_derive/src/derive_allocative.rs:34-44 \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":"allocative/allocative/src/key.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8445f54be5ec0c7e10a885436404b43bdddd57b45c18a0a30b77bf46ea2fb6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/buck2_action_impl/src/actions/impls/run/dep_files.rs:2781-2793 | app/buck2_cmd_audit_server/src/output/buck_out_path_parser.rs:139-151 \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":"app/buck2_action_impl/src/actions/impls/run/dep_files.rs"},"region":{"startLine":2781}}}],"partialFingerprints":{"codehealthFindingId/v1":"70228d165267a21c7f076b6f92ccc9eb72bc498050d7da3a1c387fbcbab4f398"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_anon_target/src/anon_target_attr.rs:96-101 | app/buck2_node/src/attrs/configured_attr.rs:228-233 \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":"app/buck2_anon_target/src/anon_target_attr.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6672e3196da3673884e64d6dae2e604ebacef23829cf706c057b030ca9bfbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_build_api/src/actions/artifact/get_artifact_fs.rs:67-72 | app/buck2_common/src/dice/cells.rs:149-154 \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":"app/buck2_build_api/src/actions/artifact/get_artifact_fs.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c102ff97c4ec2cd1b80298736586388681f14483bb54bbcfa3f77f66816a473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_build_api/src/actions/registry.rs:419-425 | app/buck2_node/src/nodes/configured.rs:176-182 \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 \u0060app/buck2_build_api/src/actions/registry.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":"app/buck2_build_api/src/actions/registry.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e53a4acc35290eae25a90419172fb5d727eca593b63059a20c98d95cf38144"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 21): app/buck2_build_api/src/artifact_groups/calculation.rs:524-529 | app/buck2_build_api/src/build/detailed_aggregated_metrics/buck2_sketches.rs:302-307 | app/buck2_build_api/src/build/detailed_aggregated_metrics/buck2_sketches.rs:416-421 | app/buck2_common/src/buildfiles.rs:114-119 | app/buck2_common/src/file_ops/io.rs:136-141 | app/buck2_common/src/file_ops/io.rs:352-357 | app/buck2_common/src/file_ops/path_check.rs:314-319 | app/buck2_common/src/package_listing/dice.rs:75-80 | app/buck2_common/src/target_aliases.rs:161-166 | app/buck2_configured/src/configuration.rs:328-333 | app/buck2_configured/src/execution.rs:429-434 | app/buck2_configured/src/execution.rs:697-702 | app/buck2_configured/src/execution.rs:1029-1034 | app/buck2_interpreter/src/starlark_profiler/config.rs:187-192 | app/buck2_interpreter/src/starlark_profiler/config.rs:266-271 | app/buck2_validation/src/single_validation_key.rs:137-142 | app/buck2_validation/src/transitive_validation_key.rs:169-174 | dice/dice_examples/src/math_computation.rs:155-160 | dice/dice_tests/src/legacy/demo.rs:122-127 | dice/dice_tests/src/projection/smoke.rs:123-128 | dice/fuzzy_dice/src/computation.rs:264-269 \u2014 there are 21 copies across 16 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 21 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, \u0060app/buck2_common/src/file_ops/io.rs:143\u0060 calls \u0060validity\u0060, \u0060is_ok\u0060 and \u0060app/buck2_build_api/src/artifact_groups/calculation.rs:531\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":"app/buck2_build_api/src/artifact_groups/calculation.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"686689d687261d3b377a030ae8c312324577a5e1e6138e5e080d68e7e4e4036e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_build_api/src/interpreter/rule_defs/artifact/starlark_artifact.rs:151-159 | app/buck2_build_api/src/interpreter/rule_defs/artifact/starlark_declared_artifact.rs:153-161 \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":"app/buck2_build_api/src/interpreter/rule_defs/artifact/starlark_artifact.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e587a4d4469860598ac3c4ba7292cf4496e0e7700f3a70ec6576d8daffac7197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_args_projection.rs:82-93 | app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_json_projection.rs:69-80 \u2014 before extracting anything, compare \u0060app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_args_projection.rs\u0060 and \u0060app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_json_projection.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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":"app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_args_projection.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df05fa5124730497be610026bde8b898474d727c5684a78cd1f22acd6532c1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/buck2_cli_proto/src/lib.rs:254-258 | app/buck2_proto_serde/src/lib.rs:33-37 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cli_proto/src/lib.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd66868f90320d1ccdfc4ff54a484111844809d9027809250f15e1681d090c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): app/buck2_client/src/commands/lsp.rs:93-103 | app/buck2_client/src/commands/subscribe.rs:175-185 | app/buck2_cmd_starlark_client/src/debug.rs:124-134 \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":"app/buck2_client/src/commands/lsp.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5a5cdd2d5a44c77eed8c77380f6091e5e978a19a77301870fef89bd97cc72a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_client_ctx/src/subscribers/superconsole.rs:429-438 | app/buck2_event_observer/src/what_ran.rs:439-449 \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":"app/buck2_client_ctx/src/subscribers/superconsole.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"3521cac952e4465300a247662f5de630abc0927aa3045a425148098b2f9ef43d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_cmd_query_server/src/query/cquery.rs:56-64 | app/buck2_cmd_query_server/src/query/uquery.rs:44-52 \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":"app/buck2_cmd_query_server/src/query/cquery.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"45529ee74c1c293511cab136f99a07ac33e27b313e7cba67c6d56553612671d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_cmd_query_server/src/query/cquery.rs:70-78 | app/buck2_cmd_query_server/src/query/uquery.rs:58-66 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_cmd_query_server/src/query/cquery.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":"app/buck2_cmd_query_server/src/query/cquery.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"681e15df9e49ad99d478cceeaf553bff736c4dd9fb51772c5624a5e59a67b6b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_cmd_query_server/src/query/cquery.rs:85-94 | app/buck2_cmd_query_server/src/query/uquery.rs:73-82 \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 \u0060app/buck2_cmd_query_server/src/query/cquery.rs:85\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_query_server/src/query/cquery.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bfffb6e825edfddf4380bc015d3a0cb718f3e7fc57a3439cd77c41c309a780"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/buck2_execute_impl/src/sqlite/tables/materializer_state_table.rs:171-177 | app/buck2_execute_impl/src/sqlite/tables/stored_output_row.rs:192-198 | app/buck2_execute_impl/src/sqlite/tables/stored_output_row.rs:200-206 \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":"app/buck2_execute_impl/src/sqlite/tables/materializer_state_table.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6783c09bd18e3c21b9db2099ab030c1e4b479be46063de92edcd7f25c47121d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_node/src/attrs/attr_type/list.rs:102-109 | app/buck2_node/src/attrs/attr_type/tuple.rs:105-112 \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 \u0060app/buck2_node/src/attrs/attr_type/list.rs:102\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/attr_type/list.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"465dfe44447c3a25ae7d32e70fe2379e413455e2a856701b3cc4aeb6ba900e56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_node/src/attrs/attr_type/list.rs:113-119 | app/buck2_node/src/attrs/attr_type/tuple.rs:116-122 \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":"app/buck2_node/src/attrs/attr_type/list.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ba5b9b20014b77b803ebf5d5c20bdfa5f67040e84d293970e48d7ce6598dd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_process_kill/src/linux.rs:98-105 | app/buck2_process_kill/src/unix.rs:128-135 \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 \u0060res\u0060 to \u0060libc::c_long\u0060 in one and \u0060libc::c_int\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":"app/buck2_process_kill/src/linux.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9c0e9e6ad62c7c7af97eee9abe6b7f784e538d3b3e9cb83a8ef7d9acfbed84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_query/src/query/syntax/simple/eval/label_indexed.rs:189-196 | shed/mini_map/src/mut_insertion_set.rs:92-99 \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":"app/buck2_query/src/query/syntax/simple/eval/label_indexed.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"939d7c6a040cdb54ef7b7cc49c6869559e266fd66a88ad721b680ff344244f4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/buck2_query_derive/src/codegen.rs:39-50 | starlark-rust/starlark_derive/src/module/util.rs:21-32 \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":"app/buck2_query_derive/src/codegen.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3599bf992c6b9cced54138287ba52394add6c94f9c32cb720892504105aede45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dice/dice_examples/src/math_computation.rs:121-128 | dice/fuzzy_dice/src/computation.rs:117-124 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dice/dice_examples/src/math_computation.rs:121\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice_examples/src/math_computation.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d774350e724852d3aeccff23fe0b4befb447665afed86e955be45d9ff8093d30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): games/src/games/breakout.rs:528-535 | games/src/games/twenty48.rs:298-305 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/breakout.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae4c66041c496b912fd240c893db4dce1cd8a2f5accdf8c8649c44009556ceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): shed/mini_map/src/fixed_insertion_map.rs:561-567 | shed/mini_map/src/mut_insertion_map.rs:1215-1221 | starlark-rust/starlark_map/src/ordered_map.rs:210-216 \u2014 before extracting anything, compare \u0060shed/mini_map/src/fixed_insertion_map.rs\u0060 and \u0060shed/mini_map/src/mut_insertion_map.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"shed/mini_map/src/fixed_insertion_map.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0f2497e420ff70f4dbd1137913226435020148dce3e24a1b3bbd141e73fa69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): starlark-rust/starlark/src/values/layout/avalues/record.rs:71-76 | starlark-rust/starlark/src/values/layout/avalues/record.rs:120-125 | starlark-rust/starlark/src/values/layout/avalues/tuple.rs:65-70 | starlark-rust/starlark/src/values/layout/avalues/tuple.rs:119-124 \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 \u0060starlark-rust/starlark/src/values/layout/avalues/record.rs:71\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/layout/avalues/record.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ecc3b7dba11b4dfb1b6685bc20436745db92563f421c75a8acd4eb6f71ace3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): starlark-rust/starlark/src/values/types/array.rs:338-342 | starlark-rust/starlark/src/values/types/list/value.rs:341-345 | starlark-rust/starlark/src/values/types/tuple/value.rs:204-208 \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":"starlark-rust/starlark/src/values/types/array.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce4e1d186778879c4ff9f62ba88d744995c041422a020c3cc97dce27f83736b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): starlark-rust/starlark/src/values/types/dict/value.rs:542-547 | starlark-rust/starlark/src/values/types/set/value.rs:300-305 \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":"starlark-rust/starlark/src/values/types/dict/value.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"981f1710b3d47b0a4e957ebc7382e9af8d6f6a2393d74ad2140360dbe95fd426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): starlark-rust/starlark_derive/src/starlark_pagable_unsupported.rs:29-34 | starlark-rust/starlark_derive/src/starlark_pagable_via_pagable.rs:31-36 \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 \u0060starlark-rust/starlark_derive/src/starlark_pagable_unsupported.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":"starlark-rust/starlark_derive/src/starlark_pagable_unsupported.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3632eb090d2b8b009f84baa6015c6b11d6aeeffd5c99c816f74bc714edc784b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/buck2_action_impl/src/actions/impls/write.rs:141-146 | app/buck2_action_impl/src/actions/impls/write_json.rs:112-116 \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 \u0060app/buck2_action_impl/src/actions/impls/write.rs:141\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/write.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c2137e6738eed3c153a72db6000f7fdfc924ecada2ccf1e0194054f94fd517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_anon_target/src/anon_target_attr_coerce.rs:304-312 | app/buck2_interpreter_for_build/src/attrs/coerce/error.rs:25-33 \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":"app/buck2_anon_target/src/anon_target_attr_coerce.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"110719d89639313c745606a6ff79c207f437a9676cf732b5c730fc5c182137cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_build_api/src/interpreter/rule_defs/provider/callable.rs:411-416 | app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_definition.rs:283-288 \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":"app/buck2_build_api/src/interpreter/rule_defs/provider/callable.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff8ba6e872f342838f6404931a19ddc7cbe100fbe9814526e454afb2dc369f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/aquery.rs:102-110 | app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:81-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 both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/aquery.rs:102\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/aquery.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b559ad5a1892d6894fb8e00c258ed5d499a630ea666d21a4f0915b3494da51f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_cmd_audit_server/src/server.rs:34-43 | app/buck2_cmd_starlark_server/src/lib.rs:38-47 \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 \u0060app/buck2_cmd_audit_server/src/server.rs:34\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_audit_server/src/server.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"767bb391ffc9e6df9c5d97dc5faa6bf8a32ed1b759262285dc94be1eda48574b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_cmd_audit_server/src/server.rs:53-60 | app/buck2_cmd_starlark_server/src/lib.rs:67-74 \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 \u0060app/buck2_cmd_audit_server/src/server.rs:53\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_audit_server/src/server.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99d49d07cd408df2f2ddd7807d471a273e339376a8df1177c3b53626733ec0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): app/buck2_cmd_targets_server/src/targets.rs:156-165 | app/buck2_server_commands/src/install.rs:196-205 | app/buck2_test/src/command.rs:351-360 \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":"app/buck2_cmd_targets_server/src/targets.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a493c68eba58e0f7e10ccef4b4a4d71be81e9a31682e24e47678bdefe4377ae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_core/src/pattern/package.rs:52-59 | app/buck2_core/src/pattern/pattern.rs:568-575 \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":"app/buck2_core/src/pattern/package.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7a8d90f094516a769383177ea351ebf062c1cc29b04601e6029533a9469790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_directory/src/directory/builder.rs:749-754 | app/buck2_directory/src/directory/immutable_or_exclusive.rs:79-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":"app/buck2_directory/src/directory/builder.rs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceff1b4ea98b42a3726b994a408390aa0844f77afd301079e83f069ca217af75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_execute/src/dep_file_state.rs:233-238 | app/buck2_execute/src/incremental_state.rs:169-174 \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":"app/buck2_execute/src/dep_file_state.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f93462e144c00400137ac4fd72aba440fa1b1bad5ecc2fe8dd3eece8338e310"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/buck2_execute_impl/src/sqlite/incremental_state_db.rs:115-119 | app/buck2_execute_impl/src/sqlite/materializer_db.rs:79-83 \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":"app/buck2_execute_impl/src/sqlite/incremental_state_db.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b21de418b0c0e16598830fe250bc669c981d87dfa6fe0f40ec97ad75b8a5b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_file_watcher/src/edenfs/utils.rs:30-38 | app/buck2_file_watcher/src/watchman/utils.rs:15-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":"app/buck2_file_watcher/src/edenfs/utils.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"164a66db844eb7b6d98dbee9b2dfdaafce6026396859f4d2c4bba6acf32c90ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_interpreter/src/execution_group.rs:95-100 | app/buck2_interpreter_for_build/src/plugins.rs:87-92 \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":"app/buck2_interpreter/src/execution_group.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b929e5124ec066bf648d9fb164b8afd463be4fd94ace8baa2a673520726d650"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_interpreter/src/types/configured_providers_label.rs:277-283 | starlark-rust/starlark/src/values/types/bytes/value.rs:192-198 \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":"app/buck2_interpreter/src/types/configured_providers_label.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b2fcbf070da869377cd6110416b67eab2be9883f03f79864c713b1cbfa6692"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/buck2_interpreter/src/types/package_path.rs:77-83 | app/buck2_interpreter/src/types/target_label.rs:100-106 | app/buck2_interpreter/src/types/target_label.rs:236-242 \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":"app/buck2_interpreter/src/types/package_path.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"28da2660c6b9c787f0fa669a915f049f104f6dcaa0f7db3ea335c69de63fffb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): app/buck2_interpreter/src/types/package_path.rs:85-91 | app/buck2_interpreter/src/types/target_label.rs:108-114 | app/buck2_interpreter/src/types/target_label.rs:244-250 \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":"app/buck2_interpreter/src/types/package_path.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"585d29c0e6d855fe8db5115ca1f9a61c1aaaa19340973064bf23bfed2fffb173"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_node/src/attrs/attr_type/configuration_dep.rs:110-117 | app/buck2_node/src/attrs/attr_type/label.rs:80-87 \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 \u0060app/buck2_node/src/attrs/attr_type/configuration_dep.rs:110\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/attr_type/configuration_dep.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"786941d83413563c7bf5260503e0dc459bee4f6e5e94205e595feb71fa9f0ded"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): app/buck2_query_impls/src/aquery/bxl.rs:201-215 | app/buck2_query_impls/src/aquery/bxl.rs:220-234 | app/buck2_query_impls/src/uquery/bxl.rs:189-203 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_query_impls/src/aquery/bxl.rs:201\u0060 it begins part-way through the construct above it, so those exact 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 \u0060targets\u0060 to \u0060\u0026TargetSet\u003CActionQueryNode\u003E\u0060 in one and \u0060\u0026TargetSet\u003CTargetNode\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":"app/buck2_query_impls/src/aquery/bxl.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15676d7168456c46a6628df88c1a6c01a2bc4da4a4641b53ac5156a8e084b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): starlark-rust/starlark/src/values/layout/avalues/complex.rs:83-87 | starlark-rust/starlark/src/values/layout/avalues/complex_no_freeze.rs:84-88 | starlark-rust/starlark/src/values/layout/avalues/simple.rs:159-163 \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 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/layout/avalues/complex.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"851023bae9fc40777cdc2be6773aa291a7533a7b4456b53e4b2d65c2063162e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): starlark-rust/starlark/src/values/types/dict/refs.rs:41-50 | starlark-rust/starlark/src/values/types/set/refs.rs:40-49 \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":"starlark-rust/starlark/src/values/types/dict/refs.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"78955faf50d7149e7f13e8caf6dc7d93788036d7464a726b22f845c865dde2f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): starlark-rust/starlark/src/values/types/dict/value.rs:473-478 | starlark-rust/starlark/src/values/types/set/value.rs:263-268 \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 \u0060starlark-rust/starlark/src/values/types/dict/value.rs:473\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/dict/value.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe8c33602312e313ba935e6e8031ef99003a30ce1a755888b6339d3076712f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): starlark-rust/starlark/src/values/types/list/alloc.rs:81-86 | starlark-rust/starlark/src/values/types/list/alloc.rs:96-101 | starlark-rust/starlark/src/values/types/tuple/alloc.rs:56-61 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060heap\u0060 to \u0060Heap\u003C\u0027v\u003E\u0060 in one and \u0060FrozenHeap\u003C\u0027fv\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":"starlark-rust/starlark/src/values/types/list/alloc.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ecf28adfb509d548216e2f50f00dc24308abe5508d18bcb6c495a8acbaa4dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): starlark-rust/starlark/src/values/types/list/list_type.rs:50-55 | starlark-rust/starlark/src/values/types/set/set_type.rs:48-53 | starlark-rust/starlark/src/values/types/tuple/tuple_type.rs:48-54 \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":"starlark-rust/starlark/src/values/types/list/list_type.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff9303a5f1a35e3d8afd66d707ef5ac2e7871f33bf69d909bd526f8190631cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): starlark-rust/starlark/src/values/types/list/list_type.rs:106-115 | starlark-rust/starlark/src/values/types/tuple/tuple_type.rs:79-88 \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":"starlark-rust/starlark/src/values/types/list/list_type.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf9bc3cd0c38f5fee648028b81eec23dad452c16f9b9a46c369dbf92fd5723d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): starlark-rust/starlark_derive/src/representations.rs:27-33 | starlark-rust/starlark_derive/src/unpack_value.rs:24-30 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark_derive/src/representations.rs:27\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/representations.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fb847b9d20d4de04543908a61b7f3353bdb58f7f61c9b2e89d55d0b634722a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): app/buck2_client_ctx/src/subscribers/recorder.rs:2533-2549 | app/buck2_client_ctx/src/subscribers/recorder.rs:2560-2576 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_client_ctx/src/subscribers/recorder.rs:2533\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":"app/buck2_client_ctx/src/subscribers/recorder.rs"},"region":{"startLine":2533}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf94a281c5e9569c55ed614446bcb005c0045119a17025bf5671a5a39b43c85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): integrations/rust-project/src/buck.rs:781-789 | integrations/rust-project/src/buck.rs:831-845 \u2014 both copies are in the same file, so extract the block 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":"integrations/rust-project/src/buck.rs"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"213c4cafe816e7fb20caf301d0f879a94cab62dce9dfb63946b2465f8d3674ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): starlark-rust/starlark_syntax/src/syntax/def.rs:237-251 | starlark-rust/starlark_syntax/src/syntax/def.rs:272-286 \u2014 both copies are in the same file, so extract the block 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":"starlark-rust/starlark_syntax/src/syntax/def.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d4101c0a510ffeb985f24f878b5efb158e6d1c89e1e758f76042f6c071b460"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): app/buck2_fs/src/fs_util.rs:504-517 | app/buck2_fs/src/fs_util.rs:709-722 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_fs/src/fs_util.rs:504\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":"app/buck2_fs/src/fs_util.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"816ac50e3bee3e25dd95ff7bcdf9299f79f4b79bc200fd2e58df3dc01c93ae2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/buck2_core/src/fs/buck_out_path.rs:305-316 | app/buck2_core/src/fs/buck_out_path.rs:322-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. 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":"app/buck2_core/src/fs/buck_out_path.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"960effeece5de53c4a1e06644fbd35adee0a87cf03aed1130518f4512f43c00e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/buck2_query_impls/src/aquery/bxl.rs:295-307 | app/buck2_query_impls/src/aquery/bxl.rs:319-331 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_query_impls/src/aquery/bxl.rs:295\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":"app/buck2_query_impls/src/aquery/bxl.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"7918110509aa4b7a68939497a4aa14f41f24658afc374a1f5145b6decda77ee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): tools/retrace/src/gui/panels.rs:293-305 | tools/retrace/src/gui/panels.rs:341-353 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/gui/panels.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":"tools/retrace/src/gui/panels.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"543259f2ca933c02c0bbc1a9a02588441c0b9ad607053fb289adebf3c134f7c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): tools/retrace/src/export.rs:651-663 | tools/retrace/src/export.rs:713-725 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/export.rs:651\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/export.rs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e49c2d570411997265ec32327e4bfc7389eabbebae06d02c1dfc40ca91c2def"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): tools/retrace/src/ingest/scan.rs:1408-1419 | tools/retrace/src/ingest/scan.rs:1428-1439 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060tools/retrace/src/ingest/scan.rs:1408\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/ingest/scan.rs"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ecf75a884654adb9f94738ef35b38b090f11b7845a23657bc4cd9d670c9f02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:266-277 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:258-267 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:266\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb8806e2c6e932f7d09498af55c1ff885acd1c687af141f213f80acbbcbe728"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/buck2_action_impl/src/actions/impls/cas_artifact.rs:594-605 | app/buck2_action_impl/src/actions/impls/cas_artifact.rs:611-621 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_action_impl/src/actions/impls/cas_artifact.rs:594\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":"app/buck2_action_impl/src/actions/impls/cas_artifact.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2edc02638653bfbed32e432555084cd1f741dff3d063eebded38c192ebf519"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_server/src/version_control_revision.rs:165-173 | app/buck2_server/src/version_control_revision.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 \u0060app/buck2_server/src/version_control_revision.rs:165\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":"app/buck2_server/src/version_control_revision.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"9066ffa7d1c4c93eafc853e88a2e50bae2b6e1fbfc02a616dc1b15622a31fb7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/buck2_execute_impl/src/sqlite/tables/materializer_state_table.rs:823-833 | app/buck2_execute_impl/src/sqlite/tables/materializer_state_table.rs:848-858 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_execute_impl/src/sqlite/tables/materializer_state_table.rs:823\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":"app/buck2_execute_impl/src/sqlite/tables/materializer_state_table.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c14035db501a76110e977647e0f546d7cb4e4a490b5e4daae5612724cde1e32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:467-477 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:499-509 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:467\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/uquery.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f565c69af0328c873394f32e1032b55da560febd2c218683df808bb2d4db2f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:413-423 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:377-387 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:413\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5e22471e74dee311c36827c2de74949a540d5bf0e6083c7b2a0c0cfc9f75ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs:372-381 | app/buck2_bxl/src/bxl/starlark_defs/nodes/unconfigured.rs:130-139 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/nodes/unconfigured.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"21308dee24a41536682fc593021b67cc981649cb1fac849c5440c4aa01115171"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/functions.rs:73-82 | app/buck2_bxl/src/bxl/starlark_defs/functions.rs:97-106 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/functions.rs:73\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/functions.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"591fb189a4934d5ce9613629f1a1e99099fbf55d7dbfe436975a2879dafb5f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): starlark-rust/starlark/src/values/types/string/interpolation.rs:255-264 | starlark-rust/starlark/src/values/types/string/interpolation.rs:282-291 | starlark-rust/starlark/src/values/types/string/interpolation.rs:309-318 \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 \u0060starlark-rust/starlark/src/values/types/string/interpolation.rs:255\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":"starlark-rust/starlark/src/values/types/string/interpolation.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e90a77a1f6c216877d25c48f7e3cbc526869e8e7f03ecd8f27a12b1f23bf4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_execute_impl/src/materializers/deferred/command_processor.rs:1179-1188 | app/buck2_execute_impl/src/materializers/deferred/command_processor.rs:1216-1225 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_execute_impl/src/materializers/deferred/command_processor.rs"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba43c56cdbf3db8b4449542a2937ba03bbc1a85c134af48d7a014b96a887ab4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs:358-366 | app/buck2_bxl/src/bxl/starlark_defs/nodes/unconfigured.rs:116-124 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/nodes/unconfigured.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"06433dbc4ca857c8ec16381a3971441e61f85a1d3da42d5aa515a1f68548e12e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_interpreter/src/types/target_label.rs:144-152 | app/buck2_interpreter/src/types/target_label.rs:280-288 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_interpreter/src/types/target_label.rs:144\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":"app/buck2_interpreter/src/types/target_label.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8573759dbb21ef4e319a2534ffe6184d5dfeb89f08fdcda90a26aa2f6ddac9b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs:766-774 | app/buck2_bxl/src/bxl/starlark_defs/nodes/unconfigured.rs:262-270 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/nodes/unconfigured.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a9c22f2eabb4fe2a0e72b72de5d490d08b6770adcb3d437108914e94b9b7a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs:748-756 | app/buck2_bxl/src/bxl/starlark_defs/nodes/unconfigured.rs:244-252 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/nodes/unconfigured.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs:748\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f2a7c403f154d13a9a9be095a95b4bc63894621206059e7a683e5354795311"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:246-254 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:238-246 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:246\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"31391f85a50bb943622c5ff72c28828709d92b79b03d1c98e313d01e2fd2536f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:305-313 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:445-453 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"e802385e24a2f1f47721451a682c6fba0e769e9bb7d64272578b2c920b27bfbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_server/src/daemon/dice_dump.rs:82-87 | app/buck2_server/src/daemon/dice_dump.rs:88-96 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_server/src/daemon/dice_dump.rs:88\u0060 it does not close everything it opens, so those exact 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":"app/buck2_server/src/daemon/dice_dump.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa087482cd71fcafbe47eee4a1689de7ac5c12c59c1f1d346054843e1dcefd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:346-354 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:264-272 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:346\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e6cd5f7c8a60f2e7589a7d8a88d27f238fb16b899052de83233e6afdbe4281"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:630-638 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:508-516 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:630\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff43cca8bc7382ff3242e8f4dd829b8a29699d380e50ec763e87370988efdaa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:420-428 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:210-218 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:420\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb03c93293dc9dfa9255dd8f025c5890549e1904be9a1ad605858a7c412f5a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:274-282 | app/buck2_bxl/src/bxl/starlark_defs/uquery.rs:572-580 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/uquery.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 220 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 \u0060app/buck2_bxl/src/bxl/starlark_defs/cquery.rs:274\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cquery.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc01098c0c0e95fa708f82a0608325b275f588cd123fd0d24c0e4b24f763422"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs:338-346 | app/buck2_bxl/src/bxl/starlark_defs/nodes/unconfigured.rs:189-197 \u2014 before extracting anything, compare \u0060app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/nodes/unconfigured.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs:338\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc71fbf0b66988a8302b06498884699cccd3269a04c844f98bd1a83f63621432"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_execute_impl/src/sqlite/tables/dep_file_state_table.rs:617-624 | app/buck2_execute_impl/src/sqlite/tables/dep_file_state_table.rs:637-644 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_execute_impl/src/sqlite/tables/dep_file_state_table.rs:617\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/sqlite/tables/dep_file_state_table.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"677438cbfd835864c22d324725275d5323f41b138ca684bc2802612bea811eca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_query_parser/src/lib.rs:167-174 | app/buck2_query_parser/src/lib.rs:177-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":"app/buck2_query_parser/src/lib.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a05e6266831859fe00cbb77f25f1a82859f85529e7e3bb93104a87f320578f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_interpreter/src/types/configured_providers_label.rs:127-134 | app/buck2_interpreter/src/types/configured_providers_label.rs:332-339 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_interpreter/src/types/configured_providers_label.rs:127\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":"app/buck2_interpreter/src/types/configured_providers_label.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c4d230099bf83535da56426a32ebc4f90e24e272f0583596b4818c965e61ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_cmd_log_client/src/diff/action_divergence.rs:136-143 | app/buck2_cmd_log_client/src/diff/external_config_diff.rs:219-226 \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":"app/buck2_cmd_log_client/src/diff/action_divergence.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e3f801f223df07af7888942a6b2f4b7ed7aacc6bd63f8b83c9914470470bd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): app/buck2_node/src/attrs/attr_type/one_of.rs:57-64 | app/buck2_node/src/attrs/attr_type/tuple.rs:65-72 \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":"app/buck2_node/src/attrs/attr_type/one_of.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d554ca3e14697b3e02deca6d338d1de46f5ea1b6a9334f1ab2af63a083886b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/retrace/src/gui/detail_ui.rs:1217-1223 | tools/retrace/src/gui/detail_ui.rs:1255-1261 \u2014 both copies are in the same file, so extract the block 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":"tools/retrace/src/gui/detail_ui.rs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b6852fa23e7b2c4bd920ae1a914371500ae4761cd6ddbf212071aacb4e3f45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): starlark-rust/starlark_syntax/src/lexer.rs:765-771 | starlark-rust/starlark_syntax/src/lexer.rs:779-785 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060starlark-rust/starlark_syntax/src/lexer.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":"starlark-rust/starlark_syntax/src/lexer.rs"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae8a4878e3a97ed740d754d94a7dfec20e4c79344104041436bfbb98fe253ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_cmd_docs_client/src/help_doc.rs:231-237 | app/buck2_cmd_docs_client/src/help_doc.rs:263-269 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_cmd_docs_client/src/help_doc.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c2e9bfc04454a325e837a4f8e90b78d14f5205c67fd901a204d9dc0e9661c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): tools/starlark_fmt/lib/fuzz_starlark.rs:733-739 | tools/starlark_fmt/lib/fuzz_starlark.rs:742-748 \u2014 both copies are in the same file, so extract the block 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":"tools/starlark_fmt/lib/fuzz_starlark.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f235af0be3e9394b7ce47a4b0d604c4cce1c6c22e3cf61195c97cb06c89746"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_test/src/command.rs:2027-2032 | app/buck2_test/src/command.rs:2035-2040 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_test/src/command.rs:2027\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/command.rs"},"region":{"startLine":2027}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc65fb9a432e07e7262ce5d63b20e39f8a172d054c310d629d94d570bd83164"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/buck2_execute_impl/src/sqlite/tables/materializer_state_table.rs:733-737 | app/buck2_execute_impl/src/sqlite/tables/materializer_state_table.rs:757-761 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_execute_impl/src/sqlite/tables/materializer_state_table.rs:733\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/sqlite/tables/materializer_state_table.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"780b3ed32e2936518dcf93b782227681d0c3d0cb38fab2af70cbd4258e8bf363"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:922-926 | app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs:1109-1113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/cli_args.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/cli_args.rs"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e9f4ba3eec62485a75f4a0afa07405bed6e7e5054b7ae47c0c9456915bc879"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:82-90 | app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:105-113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:82\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":"app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"691055508d062012be884865ffec0b34a3104f90c37fdccbd2135feb7401424a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:155-159 | app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:281-285 | app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:300-304 | app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:319-323 \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 \u0060app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.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":"app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11da5c53d504523456cb6d04c679e0e88805b2f9cfd272792c2c803c0f536b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:196-200 | app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:224-228 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:196\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, \u0060app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:230\u0060 calls \u0060from_ref\u0060 and \u0060app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:202\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":"app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b72bc0df9a50abbe03f52b2b4a58f12dbcaf6fd5367442c24f238fc88d4c753"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:360-364 | app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:380-384 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs:360\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":"app/buck2_bxl/src/bxl/starlark_defs/lazy_ctx/lazy_uquery_ctx.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0e8e2a4233f6390e040e0bb99fa41db059c6c5b3c9163f823a696d9926f516"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs:449-455 | app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs:544-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs:449\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a349575b9589c815ca663d91eba73ff32a8815627f0e45f137239fc9214a14f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_execute_impl/src/sqlite/tables/dep_file_state_table.rs:543-549 | app/buck2_execute_impl/src/sqlite/tables/dep_file_state_table.rs:665-671 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060app/buck2_execute_impl/src/sqlite/tables/dep_file_state_table.rs:672\u0060 calls \u0060get\u0060 and \u0060app/buck2_execute_impl/src/sqlite/tables/dep_file_state_table.rs:550\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":"app/buck2_execute_impl/src/sqlite/tables/dep_file_state_table.rs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"3222020e828f1b618506503b9012f266c0fba2728bb5ca9b8caeef254670d3a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): app/buck2_interpreter_for_build/src/attrs/attrs_global.rs:711-719 | app/buck2_interpreter_for_build/src/attrs/attrs_global.rs:733-741 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_interpreter_for_build/src/attrs/attrs_global.rs:711\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":"app/buck2_interpreter_for_build/src/attrs/attrs_global.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"180bec3f331800a69e9fab8f841707dca6e8567caef7f843e197fafc294c8dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pagable_storage/src/storage/sled.rs:294-300 | pagable_storage/src/storage/sqlite.rs:829-835 \u2014 before extracting anything, compare \u0060pagable_storage/src/storage/sled.rs\u0060 and \u0060pagable_storage/src/storage/sqlite.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060PagableData\u0060 in one and \u0060\u0026PagableData\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":"pagable_storage/src/storage/sled.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b0ae61cfc07e67a1a28a694f05f379f95650598b29deddc79a4efbcc0cd732"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): starlark-rust/starlark/src/stdlib/json.rs:135-143 | starlark-rust/starlark/src/stdlib/json.rs:158-166 \u2014 both copies are in the same file, so extract the block 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 \u0060heap\u0060 to \u0060Heap\u003C\u0027v\u003E\u0060 in one and \u0060FrozenHeap\u003C\u0027fv\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":"starlark-rust/starlark/src/stdlib/json.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8451b9ec4bcc7d445ef2658d80fc769cfef639bd7893f0c853005709f758f878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): starlark-rust/starlark/src/values/types/set/methods.rs:131-135 | starlark-rust/starlark/src/values/types/set/methods.rs:158-162 | starlark-rust/starlark/src/values/types/set/methods.rs:321-325 \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 \u0060starlark-rust/starlark/src/values/types/set/methods.rs:131\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":"starlark-rust/starlark/src/values/types/set/methods.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7e9138fd98191da8f36c2bcbb3fbfb2657fabbaf9427814c23dce126af5b47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): tools/retrace/src/detail.rs:1915-1919 | tools/retrace/src/detail.rs:2375-2379 \u2014 both copies are in the same file, so extract the block 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":"tools/retrace/src/detail.rs"},"region":{"startLine":1915}}}],"partialFingerprints":{"codehealthFindingId/v1":"94401353368973e8c1640b3874f513d17bea6f96bc29590b8de3d702d22e4e06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:865-920 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:874-929 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 576 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7de52baa435b4ab7ccbd5e435fabfaa4075853b8e330ef01b5aa6e1b4daa0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:604-658 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:641-695 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:650-704 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:604\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ab9c22384f8f5cec563d7427a1396e5201e9d897a8feef7cfd234a5f8b253b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:126-163 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:129-166 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:133-170 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fefa5083b985cd5c50d1f0b168a2971fde214e920f61036c58740a12752c31c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:217-254 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:220-257 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:224-261 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"c451c1c295a1154720855f52c4aa26ca68c4a77031870a0dfca8a964a04a097f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:750-787 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:787-823 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:796-832 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:787\u0060 it does not close everything it opens, so those exact 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"536b949f450ce3011be2670edb02e7a1252b4b966cd83443ff877ce1dc8bd491"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/JavaClassResolverCompat.kt:28-62 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/JavaClassResolverCompat.kt:28-62 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/JavaClassResolverCompat.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/JavaClassResolverCompat.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 35 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/JavaClassResolverCompat.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd124867d2bf38ba884aca10ef4e6ce5d98f6ce8966e7358e758af718f29a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:65-98 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:68-101 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:72-105 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:65\u0060 it does not close everything it opens, so those exact 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"752825e921d1e73c432990afbf7a06e6a0bc31b1639a9de57f6934706e7ff221"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201328 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt:1143-1170 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt:1210-1232 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt:1143\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53be048146c8cb7ff60c4b27edab545bbefff294424dca4e5ecac982fac7a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:348-374 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:351-377 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:355-381 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a77302a2fa61bf5782be272b528397afcc5bd534cccff1a6bfb77be239061d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:286-311 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:289-314 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:293-318 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"962331b13b2897767b6dcf9278978b6fff14775fa4482ddb19889ac23035adcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt:444-468 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt:473-495 \u2014 both copies are in the same file, so extract the block 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 before the matched lines, \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt:439\u0060 calls \u0060foldConstLiteral\u0060, \u0060foldableConstLiteral\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt:468\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b3d8f18acc276a34978feadf87140a1099dc917baffaf2feb23e99ab9a46e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt:367-390 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt:391-414 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt:367\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da6737aa3d1b8eb6f22c6df7f8236b04429f41489d535a16915021e8320a26d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt:1963-1985 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt:2013-2035 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt:1963\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt"},"region":{"startLine":1963}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceae4dfe224ca1c5f44ae638500fba5bacea75690e50073fe52f366d0a859391"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:182-202 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:185-205 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:189-209 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:182\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"346cfe64fb7cec18c9de05ae58e66da13f51c10a9142099229f2ce2e2785db94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:455-475 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:458-478 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:467-487 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:467\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fdcf8dead45af0eeec422755b8eff63c8f54e0d776bdadc6222aeffa1fbf1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:952-972 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:961-981 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 576 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"042e3546320f5c6c8f44ad82e00cb72b180c5994f63cb874da6fc9a961e5e679"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:318-337 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:321-340 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:325-344 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65e38b5d5ba0226ef278921f1f6996c694ddf09e61361f82c8262664a2a7243"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:496-534 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:533-571 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:542-580 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db39eb6151cd44bf412df0c50ea97d1234ee15713e2c4d6cd60ddc2c6b5ef78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/FrontendClasspathCompat.kt:54-71 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.5.0/FrontendClasspathCompat.kt:46-63 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/FrontendClasspathCompat.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.5.0/FrontendClasspathCompat.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/FrontendClasspathCompat.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"882ae76267a059f52948a10e966aab47f643284df6e9c5d44e1fe7abb8540ebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:552-568 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:589-605 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdbee0df9c3c05ea7235f393244df2f71c3265107cd2eac001457a18715574d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:587-602 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:624-639 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:633-648 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebf83953e33bd09fa61a687b060471a9ae86b0285538f35169957ef56ce7f84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt:399-414 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt:490-505 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt:399\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a39ea0f87e3839d421a3108b55722db688ea7df2dfaab7fa7471c1e2a8167ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt:357-371 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt:549-564 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt:357\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt:548\u0060 calls \u0060error\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt:356\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57c29c94d4b52b7167a921a931303e5f22da0135ab09b85fca81a77a945d0cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/JavaSourceInfo.kt:83-98 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/JavaSourceInfo.kt:217-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 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/JavaSourceInfo.kt:83\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/JavaSourceInfo.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5925f887fdbaa9b6f201c04d1a34bda1c53be94cdaf6f8ecfa211fade72cfc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:166-180 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:169-183 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:173-187 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:166\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ac05d9d85a4ce2f83f3934192852c9de6ee3cfc2c3b3e9841bb0ce2073a7b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:431-445 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:434-448 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:438-452 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"a814ee530586beeaf2f52e0b4e22342bcdde73168c9c9cd29e7a147535eead1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:667-681 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:704-718 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb3fd9690b1682b11b6d813a0e0fbe6b166f99aaae65079a028e9d8758ef3d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/common/stub/render/StubRender.kt:243-256 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/common/stub/render/StubRender.kt:262-273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/common/stub/render/StubRender.kt:243\u0060 it does not close everything it opens, so those exact 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/common/stub/render/StubRender.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d96157764d03e6458b488c41ffed449f620ab1b98a9bd86837282ab85042336"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt:1131-1141 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt:1268-1281 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt:1131\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4751f4cdb2a5de9891f3998188217cd93f16caafa7d8f96b700d02df14ca307c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:413-425 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:416-428 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:420-432 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdc32f3ace8f1542f3a12794098e442fa5694a2a216e0ebde8b536bcd443881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/FrontendPipelineCompat.kt:100-111 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/FrontendClasspathCompat.kt:56-67 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.5.0/FrontendClasspathCompat.kt:48-59 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/FrontendClasspathCompat.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.5.0/FrontendClasspathCompat.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 30 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/FrontendPipelineCompat.kt:100\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/FrontendPipelineCompat.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a745a1b06f681b8700fed7ef748ba021897d2fb6188618724c2e7f210505651f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:485-496 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:494-505 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 576 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:485\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f68d4aa5a0ac8ff807f2bdece5d4004da53720cd4ed2a2f7315f2f31e1590ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/AnnotationStubsGenerator.kt:39-48 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/InterfaceStubsGenerator.kt:136-144 \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 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/AnnotationStubsGenerator.kt:39\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/AnnotationStubsGenerator.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd12ec82853ac7286e1ef5888da030e269f53c3a5a25f74313b9f0194d9bbc31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:381-389 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:384-392 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:388-396 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b1faca2bdaba577b456185609e8bdd931fd7815dc54ee30b5148d9a08e165a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/android/aapt/ResourceSourceMapFormat.kt:99-107 | prelude/toolchains/android/src/com/facebook/buck/android/aapt/ResourceSourceMapFormat.kt:143-151 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/android/aapt/ResourceSourceMapFormat.kt:99\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":"prelude/toolchains/android/src/com/facebook/buck/android/aapt/ResourceSourceMapFormat.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4422fe5082d4dcb1e180ab3b84c14246a5f521a34b237dec43cba7b7bde7d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt:350-357 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt:541-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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt:547\u0060 calls \u0060declaredField\u0060, \u0060error\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt:357\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/InlineBodyStage.kt"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff149a7f692d43f76e969de2df3b78b053b0c54f2981f35252e0e0b253f208f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/KotlinClasspathDeclarations.kt:160-166 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/KotlinClasspathDeclarations.kt:168-174 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/KotlinClasspathDeclarations.kt:160\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/KotlinClasspathDeclarations.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fd60e200d079d453f9a4c62bc6924ad3708e59d2002ddb6c974bf8b76ca851"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/PipelineCompat.kt:50-71 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/PipelineCompat.kt:51-72 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/PipelineCompat.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/PipelineCompat.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 22 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/PipelineCompat.kt:50\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/PipelineCompat.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5753d6287c11a5af9c2168c9685be81daf3ccabd8b7e0b82bec35be9527600"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/KosabiClassUsageCollector.kt:254-259 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt:1018-1023 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/KosabiClassUsageCollector.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"86711a317900a8e7b2a46482b6d62c7128705f0493014907c7bc877d8ce3ac6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/common/Types.kt:261-266 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:689-694 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:726-731 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:735-740 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/common/Types.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b3e2b0e8d0a53624ec78fc43f34427cf2e519a60ebf3350f5a9428543ed757"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:113-121 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:116-124 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a0cc5e26e9c23f1ad56d1658397291297cffc50650db5a1332709a82fc6830"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:396-405 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:399-408 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:403-412 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:396\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36d37c85428d8f7d90726d8d3e8ca4216d3f129f9ce31d22826adb3b6cdb60d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:478-491 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:515-528 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:524-537 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"d554b3af2fc52db191bf9cbf29160eb9cb7dbeacb1688bf01eebd8e5617f6153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:683-687 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:720-724 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:729-733 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3363e2599815577ef426a00b21429baf0154fd8ed68cd0e1866f4ee5485403"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:699-707 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:736-744 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:745-753 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"0950b4560df7f5ce0c80680afc607eeb1c542b124c40ef58597cadf1fc73f856"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:710-714 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:747-751 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:756-760 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:710\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"233b2870cf63e520da260802bb1ae32218cfd59344d4530b625760f250c144dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:741-747 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:778-784 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 522 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a6056302430e8998a042cd7b32b22c9193ae18aff4c2587b4b1b4d8b3f4a16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:500-512 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt:509-521 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 26 separate duplicated blocks between them, totalling at least 576 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0af4068c9c2bf3358c9e32b7ec7e84dae28d22622cddb6c6a375bd5ad1965f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/java17/SourceVersionUtils.java:22-47 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/java21/SourceVersionUtils.java:22-47 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/java17/SourceVersionUtils.java\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/java21/SourceVersionUtils.java\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 51 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/java17/SourceVersionUtils.java:22\u0060 it does not close everything it opens, so those exact 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/java17/SourceVersionUtils.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4bf92844bf577c693f94e76691aebc86091ec3d35ae1337ac5fdb8a181c9d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/java17/SourceVersionUtils.java:55-79 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/java21/SourceVersionUtils.java:57-81 \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/java17/SourceVersionUtils.java\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/java21/SourceVersionUtils.java\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 51 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/java17/SourceVersionUtils.java:55\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/java17/SourceVersionUtils.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"05771f51b6e1c673b24f72938845c879c09e2e8ff15ef7103cb86efa25e72984"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java:325-345 | prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitSupport.java:190-210 \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 \u0060prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java:325\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e16d31057e3d30a6670015c698d1f11fd91eb9a307c448930d7d8ca5d7d45e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/util/zip/AppendableCentralDirectory.java:91-110 | prelude/toolchains/android/src/com/facebook/buck/util/zip/CentralDirectoryReader.java:104-123 \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 \u0060prelude/toolchains/android/src/com/facebook/buck/util/zip/AppendableCentralDirectory.java:91\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/util/zip/AppendableCentralDirectory.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"583082790b9a0dbf4352a2659c287686424ee865b9955b134bbdfcfda545fddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/android/apk/ApkBuilderExecutableMain.java:164-182 | prelude/toolchains/android/src/com/facebook/buck/android/bundle/AndroidBundleBuilderExecutableMain.java:102-120 \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":"prelude/toolchains/android/src/com/facebook/buck/android/apk/ApkBuilderExecutableMain.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"18838069fd7ce5e572a8b6dd57fd9a3c76831bf311e92b8a46d604bf6f2e2e17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/cd/workertool/MainUtils.java:29-45 | prelude/toolchains/android/src/com/facebook/buck/jvm/cd/workertool/grpc/WorkerGrpcServer.java:138-154 \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 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/cd/workertool/MainUtils.java:29\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/cd/workertool/MainUtils.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"800c44956159bd0376b75a80af70f9d10c7562b6b679e86ed3b14eb38f6e5ae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/java/JavaStepsBuilder.java:67-81 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/KotlinStepsBuilder.java:91-105 \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 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/java/JavaStepsBuilder.java:67\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/JavaStepsBuilder.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ef2198e02f708965c207fb5682a7eafb66a105ce9884a51dc90f8b52b9c1f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/java/JavaStepsBuilder.java:90-104 | prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/KotlinStepsBuilder.java:121-135 \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 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/java/JavaStepsBuilder.java:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/JavaStepsBuilder.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d29d2b156a226c04283739767e2c64ca4dab349622b74633fef17ca3c7527e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/android/dex/JarSplitterExecutableMain.java:96-108 | prelude/toolchains/android/src/com/facebook/buck/android/dex/MultiDexExecutableMain.java:601-614 \u2014 before extracting anything, compare \u0060prelude/toolchains/android/src/com/facebook/buck/android/dex/JarSplitterExecutableMain.java\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/android/dex/MultiDexExecutableMain.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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 \u0060prelude/toolchains/android/src/com/facebook/buck/android/dex/JarSplitterExecutableMain.java:96\u0060 it does not close everything it opens, so those exact 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":"prelude/toolchains/android/src/com/facebook/buck/android/dex/JarSplitterExecutableMain.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ec69d073d96f1c9748935a4952cd722d51410004b11426bd1fbcf1674ebde1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/java/lang/model/MoreElements.java:166-179 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/lang/model/MoreElements.java:182-195 \u2014 both copies are in the same file, so extract the block 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/lang/model/MoreElements.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"27de9d4ceb097edb7e0a5c3237522e98fbee591900ea8873f29a5d17e3779454"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/kotlin/KotlinMetadataReader.java:162-173 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/kotlin/KotlinMetadataReader.java:210-218 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/kotlin/KotlinMetadataReader.java:162\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/kotlin/KotlinMetadataReader.java"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb99d9ea285b1b3c371c79f6b8be84ac8ae76aa8620f67ce0e6be82699f82a04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/android/bundle/AndroidBundleBuilderExecutableMain.java:150-160 | prelude/toolchains/android/src/com/facebook/buck/android/bundle/AndroidBundleBuilderExecutableMain.java:249-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 \u0060prelude/toolchains/android/src/com/facebook/buck/android/bundle/AndroidBundleBuilderExecutableMain.java:150\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":"prelude/toolchains/android/src/com/facebook/buck/android/bundle/AndroidBundleBuilderExecutableMain.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee36e75ed04ddb6366c06ae10d4a01f665f769f079be73fd024f53b08d3cc73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/features/zip/rules/utils/ZipMain.java:64-74 | prelude/toolchains/android/src/com/facebook/buck/util/zip/ZipScrubber.java:249-259 \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 \u0060prelude/toolchains/android/src/com/facebook/buck/features/zip/rules/utils/ZipMain.java:64\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":"prelude/toolchains/android/src/com/facebook/buck/features/zip/rules/utils/ZipMain.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"81484b8510ff6c49b1fa9f06101a86fe56a24206d59b7d1828fcd04c729e228f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/cd/ErrorInterceptor.java:357-366 | prelude/toolchains/android/src/com/facebook/buck/jvm/cd/ErrorInterceptor.java:371-381 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/cd/ErrorInterceptor.java:383\u0060 calls \u0060group\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/cd/ErrorInterceptor.java:366\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/cd/ErrorInterceptor.java"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"af021d8dbb384f9ce11b5ec6d890d60ffab781c8306de5edc44a8ee3099762e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 20): prelude/toolchains/android/src/com/facebook/buck/android/AndroidManifestReaderExecutableMain.java:40-49 | prelude/toolchains/android/src/com/facebook/buck/android/aapt/MergeAndroidResourceSourcesExecutableMain.java:38-47 | prelude/toolchains/android/src/com/facebook/buck/android/aapt/MiniAaptExecutableMain.java:48-57 | prelude/toolchains/android/src/com/facebook/buck/android/aar/AarBuilderExecutableMain.java:61-70 | prelude/toolchains/android/src/com/facebook/buck/android/apk/ApkBuilderExecutableMain.java:119-128 | prelude/toolchains/android/src/com/facebook/buck/android/apkmodule/APKModuleGraphExecutableMain.java:84-93 | prelude/toolchains/android/src/com/facebook/buck/android/build_config/GenerateBuildConfigExecutableMain.java:49-58 | prelude/toolchains/android/src/com/facebook/buck/android/buildinfo/BuildInfoGeneratorExecutableMain.java:39-48 | prelude/toolchains/android/src/com/facebook/buck/android/bundle/AndroidBundleApksBuilderExecutableMain.java:99-107 | prelude/toolchains/android/src/com/facebook/buck/android/bundle/AndroidBundleBuilderExecutableMain.java:84-93 | prelude/toolchains/android/src/com/facebook/buck/android/dex/D8ExecutableMain.java:218-227 | prelude/toolchains/android/src/com/facebook/buck/android/dex/JarSplitterExecutableMain.java:64-73 | prelude/toolchains/android/src/com/facebook/buck/android/dex/MultiDexExecutableMain.java:122-131 | prelude/toolchains/android/src/com/facebook/buck/android/dex/SecondaryDexCompressionExecutableMain.java:73-82 | prelude/toolchains/android/src/com/facebook/buck/android/resources/ExoResourcesRewriterExecutableMain.java:47-56 | prelude/toolchains/android/src/com/facebook/buck/android/resources/MergeAndroidResourcesExecutableMain.java:77-86 | prelude/toolchains/android/src/com/facebook/buck/android/resources/MergeAssetsExecutableMain.java:79-88 | prelude/toolchains/android/src/com/facebook/buck/android/resources/filter/FilterResourcesExecutableMain.java:89-98 | prelude/toolchains/android/src/com/facebook/buck/android/resources/strings/CopyStringResourcesExecutableMain.java:38-47 | prelude/toolchains/android/src/com/facebook/buck/android/resources/strings/PackageStringsAsAssetsExecutableMain.java:65-74 \u2014 before extracting anything, compare \u0060prelude/toolchains/android/src/com/facebook/buck/android/dex/JarSplitterExecutableMain.java\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/android/dex/MultiDexExecutableMain.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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 \u0060prelude/toolchains/android/src/com/facebook/buck/android/bundle/AndroidBundleApksBuilderExecutableMain.java:99\u0060 it does not close everything it opens, so those exact 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":"prelude/toolchains/android/src/com/facebook/buck/android/AndroidManifestReaderExecutableMain.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"361692e9d84da5024aa319a6dacfce39a5f992bb707bb89939de10b1f0796e8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/InnerClassesTable.java:223-232 | prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/InnerClassesTable.java:234-243 \u2014 both copies are in the same file, so extract the block 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/InnerClassesTable.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f385b6f175fd039cc44820dc5a447e64de8c354c789f0a613808e717366a19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/testrunner/CrashAnalyzer.java:187-196 | prelude/toolchains/android/src/com/facebook/buck/testrunner/CrashAnalyzer.java:223-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 \u0060prelude/toolchains/android/src/com/facebook/buck/testrunner/CrashAnalyzer.java:187\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/testrunner/CrashAnalyzer.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"036c50a1d53592d5513b381b63728f35a7768785f7b4f67c0706baf33c3bbead"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/android/apk/sdk/ApkBuilder.java:66-74 | prelude/toolchains/android/src/com/facebook/buck/android/apk/sdk/ApkBuilder.java:130-138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/apk/sdk/ApkBuilder.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ff3e7ef0fe899662c5b2ced45d3d0c9239e509b9c35a22430c66062b863ab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/android/dex/JarSplitterExecutableMain.java:96-103 | prelude/toolchains/android/src/com/facebook/buck/android/dex/MultiDexExecutableMain.java:601-608 | prelude/toolchains/android/src/com/facebook/buck/android/dex/MultiDexExecutableMain.java:636-643 \u2014 before extracting anything, compare \u0060prelude/toolchains/android/src/com/facebook/buck/android/dex/JarSplitterExecutableMain.java\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/android/dex/MultiDexExecutableMain.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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 \u0060prelude/toolchains/android/src/com/facebook/buck/android/dex/JarSplitterExecutableMain.java:96\u0060 it does not close everything it opens, so those exact 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":"prelude/toolchains/android/src/com/facebook/buck/android/dex/JarSplitterExecutableMain.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d116a4bfa142363fabbca7c4ec610bb033c605defe8292966728525f35ee3e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java:255-261 | prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java:267-274 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java:255\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f3fbd23dadb005d7cfa7624db693bec1f878abbd81d17b5843e0c1e2e4ae75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): prelude/toolchains/android/src/com/facebook/buck/android/apkmodule/APKModuleGraphExecutableMain.java:169-175 | prelude/toolchains/android/src/com/facebook/buck/android/apkmodule/APKModuleGraphExecutableMain.java:191-198 | prelude/toolchains/android/src/com/facebook/buck/android/apkmodule/APKModuleGraphExecutableMain.java:206-213 \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":"prelude/toolchains/android/src/com/facebook/buck/android/apkmodule/APKModuleGraphExecutableMain.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"16631d81ced8e53de0d69554ec75068a2381c449dab0f802c52741722969216f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/testrunner/CrashAnalyzer.java:202-207 | prelude/toolchains/android/src/com/facebook/buck/testrunner/CrashAnalyzer.java:247-252 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/testrunner/CrashAnalyzer.java"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1e13ce68c19c3f1ffe0c46b8f059abdfe64eefba4bc0d8a257265ae23622c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/android/aapt/MiniAapt.java:335-340 | prelude/toolchains/android/src/com/facebook/buck/android/aapt/MiniAapt.java:466-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":"prelude/toolchains/android/src/com/facebook/buck/android/aapt/MiniAapt.java"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26b6f3e49f1311e6d48c6fc0d8b4fc95ea67819a4894c956d1f1fbcffaa5f86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/android/apk/sdk/ApkCreationException.java:20-30 | prelude/toolchains/android/src/com/facebook/buck/android/apk/sdk/SealedApkException.java:20-30 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/apk/sdk/ApkCreationException.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f353e9fb50fee6cf7f039514f386c7ed66452e287423f053107df7388265d869"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java:392-400 | prelude/toolchains/android/src/com/facebook/buck/testrunner/JupiterRunner.java:163-171 \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":"prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"4276a3f30e70026e65cf226fcceb0199ac532cd42aea9f1e77b2a95b87f0dc58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/util/Escaper.java:61-67 | prelude/toolchains/android/src/com/facebook/buck/util/escaper/EscaperUtils.java:27-33 \u2014 before extracting anything, compare \u0060prelude/toolchains/android/src/com/facebook/buck/util/Escaper.java\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/util/escaper/EscaperUtils.java\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 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":"prelude/toolchains/android/src/com/facebook/buck/util/Escaper.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6e0a949e080bf13f8b1ac8c3a78dff6bafce5b4f794cee7e9d43b2c16f5b21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): prelude/cxx/dist_lto/tools/dist_lto_prepare_darwin.py:116-141 | prelude/cxx/dist_lto/tools/dist_lto_prepare_gnu.py:119-144 \u2014 before extracting anything, compare \u0060prelude/cxx/dist_lto/tools/dist_lto_prepare_darwin.py\u0060 and \u0060prelude/cxx/dist_lto/tools/dist_lto_prepare_gnu.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/cxx/dist_lto/tools/dist_lto_prepare_darwin.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3114a00daea25b7956ed80bb0ad833daf01ff9a19e028d08438096e90c34884"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201325 lines \u00D7 5): prelude/toolchains/conan/conan_generate.py:53-76 | prelude/toolchains/conan/conan_lock.py:37-56 | prelude/toolchains/conan/conan_package.py:92-111 | prelude/toolchains/conan/conan_package.py:129-153 | prelude/toolchains/conan/conan_update.py:55-78 \u2014 before extracting anything, compare \u0060prelude/toolchains/conan/conan_generate.py\u0060 and \u0060prelude/toolchains/conan/conan_package.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 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 \u0060prelude/toolchains/conan/conan_generate.py:53\u0060 it begins part-way through the construct above it, so those exact 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":"prelude/toolchains/conan/conan_generate.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da575c6a6d44a54805ce32c907e747ab92fa3459b7966f42d5be0ef274fcc16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 6): prelude/toolchains/conan/conan_generate.py:53-74 | prelude/toolchains/conan/conan_init.py:30-51 | prelude/toolchains/conan/conan_lock.py:32-53 | prelude/toolchains/conan/conan_package.py:87-108 | prelude/toolchains/conan/conan_package.py:130-151 | prelude/toolchains/conan/conan_update.py:55-76 \u2014 before extracting anything, compare \u0060prelude/toolchains/conan/conan_generate.py\u0060 and \u0060prelude/toolchains/conan/conan_package.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 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 \u0060prelude/toolchains/conan/conan_generate.py:53\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/conan/conan_generate.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"83df7a807b84bd9f6a57b6f39f2475ee99adf64709a9d49b9fa642a3d5d99d30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): prelude/cxx/dist_lto/tools/dist_lto_prepare_darwin.py:94-113 | prelude/cxx/dist_lto/tools/dist_lto_prepare_gnu.py:97-116 \u2014 before extracting anything, compare \u0060prelude/cxx/dist_lto/tools/dist_lto_prepare_darwin.py\u0060 and \u0060prelude/cxx/dist_lto/tools/dist_lto_prepare_gnu.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 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":"prelude/cxx/dist_lto/tools/dist_lto_prepare_darwin.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f885b877142f67d306359c80eee7a423778706dd8e21b437ab3eff7c01d98d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): prelude/apple/tools/bundling/main.py:130-147 | prelude/apple/tools/bundling/resolve_signing_context_main.py:29-46 \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 \u0060prelude/apple/tools/bundling/main.py:130\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/bundling/main.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6722f2d91dc30e720e2c1ace91597ca8e2c9a58807b2cfac759bc089dfda35dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): prelude/cxx/dist_lto/tools/dist_lto_planner_gnu.py:362-372 | prelude/cxx/dist_lto/tools/dist_lto_planner_gnu.py:426-437 \u2014 both copies are in the same file, so extract the block 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":"prelude/cxx/dist_lto/tools/dist_lto_planner_gnu.py"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd96883f7734e21acb9bba14ead95670b1f1e4c6e2cd1729b4db3167cd747f30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): prelude/cxx/dist_lto/tools/dist_lto_prepare_darwin.py:70-80 | prelude/cxx/dist_lto/tools/dist_lto_prepare_gnu.py:77-87 \u2014 before extracting anything, compare \u0060prelude/cxx/dist_lto/tools/dist_lto_prepare_darwin.py\u0060 and \u0060prelude/cxx/dist_lto/tools/dist_lto_prepare_gnu.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060prelude/cxx/dist_lto/tools/dist_lto_prepare_darwin.py:68\u0060 calls \u0060add_argument\u0060 and \u0060prelude/cxx/dist_lto/tools/dist_lto_prepare_gnu.py:76\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":"prelude/cxx/dist_lto/tools/dist_lto_prepare_darwin.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f010be917a414dfa4cf7a109be4458524e179a0c0bf198eae69e7cf28701b07d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): prelude/toolchains/msvc/vswhere.py:124-132 | prelude/toolchains/msvc/vswhere.py:273-281 \u2014 both copies are in the same file, so extract the block 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":"prelude/toolchains/msvc/vswhere.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"576b684dd887134f7549493d24935257d03ab4813ce6d38caeaa70bb69807d20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): prelude/toolchains/msvc/vswhere.py:136-143 | prelude/toolchains/msvc/vswhere.py:286-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 \u0060prelude/toolchains/msvc/vswhere.py:136\u0060 it does not close everything it opens, so those exact 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":"prelude/toolchains/msvc/vswhere.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc35b1c9fbc5f7760e39178881904fb9ee327a6bb269c5ac12083157d475aef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prelude/android/tools/combine_apk_with_relinked_libs.py:232-237 | prelude/android/tools/combine_apk_with_relinked_libs.py:294-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/android/tools/combine_apk_with_relinked_libs.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"679cca06ee4b7f187994170a6eea6f42ab09dfaae96ea0a6caef7ba909c344e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prelude/toolchains/conan/conan_generate.py:32-37 | prelude/toolchains/conan/conan_package.py:32-37 \u2014 before extracting anything, compare \u0060prelude/toolchains/conan/conan_generate.py\u0060 and \u0060prelude/toolchains/conan/conan_package.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060prelude/toolchains/conan/conan_generate.py:31\u0060 calls \u0060extend\u0060 and \u0060prelude/toolchains/conan/conan_package.py:31\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":"prelude/toolchains/conan/conan_generate.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"795207757644c37187c2cb515edf1648aaab94e7cbc10862536a5ecd4e1e15ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): prelude/cxx/dist_lto/tools/dist_lto_prepare_darwin.py:37-41 | prelude/cxx/dist_lto/tools/dist_lto_prepare_gnu.py:44-48 \u2014 before extracting anything, compare \u0060prelude/cxx/dist_lto/tools/dist_lto_prepare_darwin.py\u0060 and \u0060prelude/cxx/dist_lto/tools/dist_lto_prepare_gnu.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/cxx/dist_lto/tools/dist_lto_prepare_darwin.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a22b1e56faaf1ab69313e4c3b01fd12195745f44740b6b67954142e4b4ba0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prelude/python/tools/sourcedb_merger/legacy_merge.py:27-32 | prelude/python/tools/sourcedb_merger/merge.py:27-32 \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":"prelude/python/tools/sourcedb_merger/legacy_merge.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c40f49760bf01909144070213038f67ad5a3d875e069f6cc458324b2b55266f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prelude/rust/tools/shared_libraries_symlink_tree.py:60-65 | prelude/rust/tools/transitive_dependency_symlinks.py:72-77 \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":"prelude/rust/tools/shared_libraries_symlink_tree.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c02fb96c46a2d6b9a430a90535150eb4f5d4dc280af0b414e08edc9efbfc00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): prelude/go/tools/go_wrapper.go:27-41 | prelude/go/tools/testmaingen.go:77-91 \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":"prelude/go/tools/go_wrapper.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"455cf5ea2a421943f186994c6650f55512eb4df46904c74da35a627f96823a54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): prelude/erlang/toolchain/boot_script_builder.erl:25-35 | prelude/erlang/toolchain/release_variables_builder.erl:30-40 \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":"prelude/erlang/toolchain/boot_script_builder.erl"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaec1684480d6fa36d7834df4f777743dee748196cee9495217f0b40b76ce0e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): prelude/erlang/toolchain/app_src_builder.erl:54-63 | prelude/erlang/toolchain/appup_src_builder.erl:43-52 \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":"prelude/erlang/toolchain/app_src_builder.erl"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4620e4b1bfdea55d98c3c152bac30eae4e084870a55db6652aaf0aa1cda46948"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): prelude/erlang/toolchain/app_src_builder.erl:347-352 | prelude/erlang/toolchain/appup_src_builder.erl:124-129 \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":"prelude/erlang/toolchain/app_src_builder.erl"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8919af885aa7f6569b153320fb6d6b2394104c4e6066ad58b0102d9ac703379"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prelude/erlang/toolchain/dependency_finalizer.erl:72-78 | prelude/erlang/toolchain/dependency_merger.erl: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":"prelude/erlang/toolchain/dependency_finalizer.erl"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f774de75b01794c9a345c38096cd94c6654cd8159966d01bb1d57fda6ba261e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prelude/erlang/toolchain/dependency_finalizer.erl:81-87 | prelude/erlang/toolchain/dependency_merger.erl: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":"prelude/erlang/toolchain/dependency_finalizer.erl"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c3fb7f7c1620ec2c72a31a554e0eddf48893fa9ce98db7142f80c08ea08076"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): docs/developers/perf/scripts/frag_symbolize.py:86-103 | docs/developers/perf/scripts/heap_aggregate.py:72-90 | docs/developers/perf/scripts/heap_diff.py:63-86 | docs/developers/perf/scripts/heap_stacks.py:104-127 \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":"docs/developers/perf/scripts/frag_symbolize.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"de469bf7d2b2684c8d3fa8477472277e309eab6c195b8b12fc5d1585308af0b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/external_runner_test_info.rs:432-494 | app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/internal_runner_test_info.rs:503-568 \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":"app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/external_runner_test_info.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb1fe1735aa93a15d362362cf113dd7f0f73ff1ee6fdd880edc9e4c7acb71a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:312-335 | prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:542-589 \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":"prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"f763fc62b43d80b0c3846bd46515826ac3fd139062dcbb0448c01045d6a70509"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:345-388 | prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:479-524 \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":"prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e52bf35ac2e5e02293ba5342974f7032095ed35e105392e16811f1860817112"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTestRunner.java:535-576 | prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTestRunnerForClout.java:84-123 \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":"prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTestRunner.java"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"82afa00c9d2410c1d68cd1097af06b3fef9079169b7ad60a902140f4260dc51d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): docs/developers/perf/scripts/heap_diff.py:90-119 | docs/developers/perf/scripts/heap_stacks.py:131-156 \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":"docs/developers/perf/scripts/heap_diff.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee2bc0152383b175907dc734c1b748058c7dc73fc41fe546f58a5d0cff8b1a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): app/buck2_test_api/src/data/convert.rs:994-1043 | app/buck2_test_api/src/data/convert.rs:1049-1093 \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":"app/buck2_test_api/src/data/convert.rs"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b35a6f8cd65b4698ddc762a37990ad40eee75ca7d0074552035395a56287e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): docs/developers/perf/scripts/heap_diff.py:123-155 | docs/developers/perf/scripts/heap_stacks.py:68-100 \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":"docs/developers/perf/scripts/heap_diff.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea9bc2f7b23ebd9ffb32a5f42b6a0199fa2c6897ab761a7738f152e2decf05f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): app/buck2_test_api/src/data/convert.rs:441-473 | app/buck2_test_api/src/data/convert.rs:479-507 \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":"app/buck2_test_api/src/data/convert.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"99dda0361c64ebe207a5531d1427e4902244fee678770c4732aeddb8a25621cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): app/buck2_util/src/golden_test_helper.rs:39-65 | starlark-rust/starlark_syntax/src/golden_test_template.rs:45-79 \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":"app/buck2_util/src/golden_test_helper.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2233b1072ceda8d6476343e24cc45e3f438387e70af4689cface96c7bc32427a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): app/buck2_node/src/attrs/spec.rs:200-235 | app/buck2_node/src/attrs/spec.rs:279-304 \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":"app/buck2_node/src/attrs/spec.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"24550436895f00feea4108fb6c8bdb129030dc1c6f688c503b489591e416f9d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:694-711 | prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:723-738 \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":"prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e776abd4b42c0a310cc3fc0b76f195d18b345113ddbc1fc8871867b963c6124"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): app/buck2_build_api_tests/src/interpreter/rule_defs/cmd_args/options.rs:79-97 | app/buck2_build_api_tests/src/interpreter/rule_defs/cmd_args/options.rs:101-120 \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":"app/buck2_build_api_tests/src/interpreter/rule_defs/cmd_args/options.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d9eb8fd940a12366fc1b5dd92408855aecfe6d002d95bc430c7d5df7adda4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): examples/persistent_worker/persistent_worker.py:102-113 | examples/persistent_worker/persistent_worker.py:121-131 \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":"examples/persistent_worker/persistent_worker.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c2eb36ff734178dbd69bbde8390808ba753f483d367703218ca7c2edad0d2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): dice/dice_tests/src/legacy/projection.rs:204-217 | dice/dice_tests/src/projection/smoke.rs:212-225 \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":"dice/dice_tests/src/legacy/projection.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43aa1e48821d5a828a132f06d47c394b0d29d157f0b93df71c9760dca6752b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): starlark-rust/starlark/fuzz/fuzz_targets/starlark.rs:27-36 | starlark-rust/starlark_js_example/src/lib.rs:58-67 \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":"starlark-rust/starlark/fuzz/fuzz_targets/starlark.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4884d998fea8573b4ef6835e165391b5b366e5f019326e8e60d61930b113b662"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): app/buck2_interpreter_for_build_tests/src/super_package/package_function.rs:31-47 | app/buck2_interpreter_for_build_tests/src/super_package/package_function.rs:847-867 \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":"app/buck2_interpreter_for_build_tests/src/super_package/package_function.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"841656a4d327e1f37479148ab87f4fb4af4758e197cbbffe255d2dff0a09aa1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): app/buck2_test_api/src/grpc/orchestrator.rs:700-717 | app/buck2_test_api/src/grpc/orchestrator.rs:722-739 \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":"app/buck2_test_api/src/grpc/orchestrator.rs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f571ffc29b7ce7c575bbb1e539ca151e9f6106392d976a99190ffef83bd006"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): dice/dice_tests/src/legacy/projection.rs:149-166 | dice/dice_tests/src/projection/smoke.rs:158-175 \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":"dice/dice_tests/src/legacy/projection.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"342ed86f4dc5c1b167d0ea4b39dde864306cb0c71d84bae28b7c77080778ba4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): prelude/erlang/common_test/test_exec/src/ct_daemon_capture.erl:150-161 | prelude/erlang/common_test/test_exec/src/ct_daemon_capture.erl:165-173 | prelude/erlang/common_test/test_exec/src/ct_daemon_capture.erl:177-185 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/erlang/common_test/test_exec/src/ct_daemon_capture.erl"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"41dc65ce6ce9749561ede3351f11b21e100ce734e2a8a74334c0bcb877ab61c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): prelude/erlang/common_test/test_exec/src/ct_daemon_printer.erl:75-80 | prelude/erlang/common_test/test_exec/src/ct_daemon_printer.erl:88-93 \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":"prelude/erlang/common_test/test_exec/src/ct_daemon_printer.erl"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a19573c3e9bb55e30a0f4025fdd6fdca06f75d0ba7a6b916fd3a4829772747"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): prelude/toolchains/android/src/com/facebook/buck/testresultsoutput/TestResultsOutputSender.java:103-119 | prelude/toolchains/android/src/com/facebook/buck/testresultsoutput/TestResultsOutputSender.java:141-158 | prelude/toolchains/android/src/com/facebook/buck/testresultsoutput/TestResultsOutputSender.java:169-179 \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":"prelude/toolchains/android/src/com/facebook/buck/testresultsoutput/TestResultsOutputSender.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbba03a32eebcf32eef4edd0ce19d36f7b6213e9d980803337cd2542866b707"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): dice/dice_tests/src/opaque.rs:82-93 | dice/dice_tests/src/opaque.rs:111-123 \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":"dice/dice_tests/src/opaque.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a432c0022e8180aba181ffd5d52372cfed38f97e9b712160650bfd6cc65ee671"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): prelude/toolchains/android/src/com/facebook/buck/testrunner/BuckXmlTestRunListener.java:75-80 | prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTpxStandardOutputTestListener.java:106-112 \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":"prelude/toolchains/android/src/com/facebook/buck/testrunner/BuckXmlTestRunListener.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"de24e80da963b4cdb271ed5e97ebdc29a24387d7a7ee5eab277220e08772d87d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): app/buck2_build_api_tests/src/interpreter/rule_defs/cmd_args/testing.rs:135-144 | app/buck2_build_api_tests/src/interpreter/rule_defs/provider/builtin/install_info.rs:19-26 \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":"app/buck2_build_api_tests/src/interpreter/rule_defs/cmd_args/testing.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"467108b7a5e4b5cadfafba3497fad7e7655284c756e993cb811dd061e243d2c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): dice/dice_tests/src/legacy/projection.rs:90-114 | dice/dice_tests/src/projection/smoke.rs:97-121 \u2014 before extracting anything, compare \u0060dice/dice_tests/src/legacy/projection.rs\u0060 and \u0060dice/dice_tests/src/projection/smoke.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"dice/dice_tests/src/legacy/projection.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bfafc7c397727dcac033c117bb1df9da0c74ebe5b1fee122b56cfaf04da6e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): dice/dice_tests/src/legacy/projection.rs:151-166 | dice/dice_tests/src/projection/smoke.rs:160-175 \u2014 before extracting anything, compare \u0060dice/dice_tests/src/legacy/projection.rs\u0060 and \u0060dice/dice_tests/src/projection/smoke.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"dice/dice_tests/src/legacy/projection.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6009f9149d99231479c14748c5536b69025fceebcc14131a047b2a51f7bcbe79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): app/buck2_build_api/src/interpreter/rule_defs/provider/test_provider.rs:145-156 | app/buck2_build_api/src/interpreter/rule_defs/provider/test_provider.rs:183-194 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_build_api/src/interpreter/rule_defs/provider/test_provider.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4339f16e855fcd6f1482591cf451de1ddb1843fbedba1e70f65cb8597a88cf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dice/dice_examples/src/supply_chain.rs:225-236 | dice/dice_examples/src/supply_chain.rs:302-313 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dice/dice_examples/src/supply_chain.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":"dice/dice_examples/src/supply_chain.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"7314f5299ba15a736ca5a49f328267d1bc17c6287135fe23051bd4fdde79f463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dice/dice_tests/src/legacy/projection.rs:206-217 | dice/dice_tests/src/projection/smoke.rs:214-225 \u2014 before extracting anything, compare \u0060dice/dice_tests/src/legacy/projection.rs\u0060 and \u0060dice/dice_tests/src/projection/smoke.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"dice/dice_tests/src/legacy/projection.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f2f8c8d703d5a71c89b07f6cc839247bbf8334a7406540ef99a9491ae8c3e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/external_runner_test_info.rs:478-488 | app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/internal_runner_test_info.rs:551-561 \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":"app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/external_runner_test_info.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd71cea698dd13e934d9f1728c7b8debc78aab612a35e313f536914782771f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_test_api/src/data/convert.rs:1161-1170 | app/buck2_test_api/src/data/convert.rs:1179-1188 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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 \u0060s\u0060 to \u0060buck2_test_proto::PrepareForLocalExecutionResult\u0060 in one and \u0060buck2_test_proto::SetupLocalResourceLocalExecutionCommand\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":"app/buck2_test_api/src/data/convert.rs"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e854ba51bf64932b53025939cd90c6466248c735a4cb89a0323f42e9b9333f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/external_runner_test_info.rs:468-474 | app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/internal_runner_test_info.rs:540-546 \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":"app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/external_runner_test_info.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad72d16d50c1cecf0f2877f42277e779a458b12fcf819933f56101f072a59aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/buck2_build_api_tests/src/interpreter/rule_defs/artifact/testing.rs:100-104 | app/buck2_build_api_tests/src/interpreter/rule_defs/artifact/testing.rs:135-139 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_build_api_tests/src/interpreter/rule_defs/artifact/testing.rs:100\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":"app/buck2_build_api_tests/src/interpreter/rule_defs/artifact/testing.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"183b3673ffadab50ab98ce45b85b2bf977db0b90e34cfda9c0a748c09c794f48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/external_runner_test_info.rs:169-174 | app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/internal_runner_test_info.rs:240-245 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/external_runner_test_info.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b563413ca46e84c6285f8fe9b49e8f6e499002af42c8d97922fa17a59c0ece"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_build_api_tests/src/interpreter/rule_defs/provider/builtin/external_runner_test_info.rs:17-22 | app/buck2_build_api_tests/src/interpreter/rule_defs/provider/builtin/internal_runner_test_info.rs:20-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api_tests/src/interpreter/rule_defs/provider/builtin/external_runner_test_info.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0849a417b96f73fc3ee1229175dcb7aea1cf80cedf1b9e67811abfb7bb2a26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/internal_runner_test_info.rs:306-318 | app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/internal_runner_test_info.rs:393-405 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/internal_runner_test_info.rs:306\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":"app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/internal_runner_test_info.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"749b16096e68aa014791692c577041fedb6b2f3448a17c9cf889cc45097f7df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): app/buck2_build_api_tests/src/interpreter/rule_defs/cmd_args/options.rs:88-97 | app/buck2_build_api_tests/src/interpreter/rule_defs/cmd_args/options.rs:111-120 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060app/buck2_build_api_tests/src/interpreter/rule_defs/cmd_args/options.rs:88\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":"app/buck2_build_api_tests/src/interpreter/rule_defs/cmd_args/options.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9458d8fa78a7e1742ff47f6dbf56322240a9a12d5740dda8139721e77a2b751"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): app/buck2_build_api_tests/src/actions/paging.rs:242-247 | app/buck2_build_api_tests/src/actions/paging.rs:302-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api_tests/src/actions/paging.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a25afd9163b6632e3db8e4a008e66288750a704b98d0eeac204d9342170ee40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): app/buck2_build_api_tests/src/interpreter/rule_defs/cmd_args/testing.rs:56-60 | app/buck2_build_api_tests/src/interpreter/rule_defs/cmd_args/testing.rs:78-82 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api_tests/src/interpreter/rule_defs/cmd_args/testing.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"164e036c5071354a5adf32fdd778bf8802f08668024ad0f4a672d63669dd430e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTestRunner.java:541-571 | prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTestRunnerForClout.java:91-121 \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 \u0060prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTestRunner.java:541\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, \u0060prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTestRunner.java:572\u0060 calls \u0060isEmpty\u0060, \u0060addReportLayer\u0060, \u0060LogExtractorReportLayer\u0060 and \u0060prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTestRunnerForClout.java:122\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":"prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTestRunner.java"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"97be5382b0f396168216a2ce66abc15f519740aa946d2822546a9a9fac984069"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): prelude/toolchains/android/src/com/facebook/buck/testresultsoutput/TestResultsOutputSender.java:106-119 | prelude/toolchains/android/src/com/facebook/buck/testresultsoutput/TestResultsOutputSender.java:145-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 \u0060prelude/toolchains/android/src/com/facebook/buck/testresultsoutput/TestResultsOutputSender.java:106\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":"prelude/toolchains/android/src/com/facebook/buck/testresultsoutput/TestResultsOutputSender.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55daf630c0c84c2edd6494553d364a40392face38bfba52a79f866aefdf64fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): docs/developers/perf/scripts/heap_diff.py:131-155 | docs/developers/perf/scripts/heap_stacks.py:76-100 \u2014 before extracting anything, compare \u0060docs/developers/perf/scripts/heap_diff.py\u0060 and \u0060docs/developers/perf/scripts/heap_stacks.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 84 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":"docs/developers/perf/scripts/heap_diff.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9df6e4ebf57211d86749e638156229d65b3e2b83d6490e5a71526829470b6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 3): docs/developers/perf/scripts/heap_aggregate.py:136-153 | docs/developers/perf/scripts/heap_diff.py:123-137 | docs/developers/perf/scripts/heap_stacks.py:68-82 \u2014 before extracting anything, compare \u0060docs/developers/perf/scripts/heap_aggregate.py\u0060 and \u0060docs/developers/perf/scripts/heap_diff.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 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 \u0060docs/developers/perf/scripts/heap_aggregate.py:136\u0060 it does not close everything it opens, so those exact 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":"docs/developers/perf/scripts/heap_aggregate.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"43af6d9126efd46e6a98e8cb0af8b9b69bd7f6391db7e244ea8fbbbe6404a187"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): docs/developers/perf/scripts/frag_symbolize.py:86-102 | docs/developers/perf/scripts/heap_aggregate.py:73-89 | docs/developers/perf/scripts/heap_diff.py:63-79 | docs/developers/perf/scripts/heap_stacks.py:104-120 \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 4 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":"docs/developers/perf/scripts/frag_symbolize.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f6218e484b66e67bb0276f442e3d746d5e4087e4eaac543b13d4e7daf86d00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): docs/developers/perf/scripts/heap_aggregate.py:105-117 | docs/developers/perf/scripts/heap_diff.py:94-106 | docs/developers/perf/scripts/heap_stacks.py:134-146 \u2014 before extracting anything, compare \u0060docs/developers/perf/scripts/heap_aggregate.py\u0060 and \u0060docs/developers/perf/scripts/heap_diff.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developers/perf/scripts/heap_aggregate.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94ea100b2d598c5b87ecdf13f038726579ecf68659e0a3a2c547dcfa05898fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): docs/developers/perf/scripts/frag_symbolize.py:123-131 | docs/developers/perf/scripts/heap_diff.py:133-143 | docs/developers/perf/scripts/heap_stacks.py:78-88 \u2014 before extracting anything, compare \u0060docs/developers/perf/scripts/heap_diff.py\u0060 and \u0060docs/developers/perf/scripts/heap_stacks.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 84 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 \u0060docs/developers/perf/scripts/heap_diff.py:133\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developers/perf/scripts/frag_symbolize.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90f3b364577a6bbbfbcbb63bb646d192ac4a32016d358a41d55ea4307f6523f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): docs/developers/perf/scripts/frag_symbolize.py:270-279 | docs/developers/perf/scripts/heap_aggregate.py:248-258 \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 \u0060docs/developers/perf/scripts/heap_aggregate.py:248\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/developers/perf/scripts/frag_symbolize.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cd87a2f2b35ff990744148d0519b7a582ed64ee0d3019ede1838f3c02ca93b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): docs/developers/perf/scripts/frag_symbolize.py:107-111 | docs/developers/perf/scripts/heap_aggregate.py:94-98 \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":"docs/developers/perf/scripts/frag_symbolize.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"312468e5c06d4f1f1044ab5efe3deb43cef572b836111345819a671ae7a151af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): docs/developers/perf/scripts/heap_diff.py:197-201 | docs/developers/perf/scripts/heap_diff.py:203-207 \u2014 both copies are in the same file, so extract the block 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":"docs/developers/perf/scripts/heap_diff.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"47283223a8434664a40576a5249dbb38639eaaa7958acacfd68d90d1705b54ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20138 lines \u00D7 3): prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:547-554 | prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:564-569 | prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:571-575 \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 \u0060prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:547\u0060 it begins part-way through the construct above it, so those exact 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":"prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f9bd33462907fdf3c812ba96dc25cf656f8fabe5ae5166978ea1c155bcf26a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): prelude/erlang/common_test/test_binary/src/test_info.erl:136-143 | prelude/erlang/common_test/test_binary/src/test_info.erl:146-153 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060prelude/erlang/common_test/test_binary/src/test_info.erl:136\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/erlang/common_test/test_binary/src/test_info.erl"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb07d71fda87b9e9a5c5859ef1fcb2a3b80f96104d93189ab5b6a77acab90efd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): prelude/erlang/common_test/test_exec/src/ct_daemon_capture.erl:167-173 | prelude/erlang/common_test/test_exec/src/ct_daemon_capture.erl:179-185 \u2014 both copies are in the same file, so extract the block 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":"prelude/erlang/common_test/test_exec/src/ct_daemon_capture.erl"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b559872967530acafd1ea84edb2b94d34be1a3e5fd2b3d36c266c2cc90788fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 3): prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:418-423 | prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:444-448 | prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:451-455 \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 \u0060prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl: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 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":"prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eec51b733e0bba9d4c47d30c8d966a885efdeb1a3d8d8ea8134df9fe646890f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:549-554 | prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:565-569 | prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:571-575 | prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:578-583 \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 \u0060prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:549\u0060 it does not close everything it opens, so those exact 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":"prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d17a17417636c0442a0c2e5d402483d89bf8ff23aba594d57db09c072608a80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:415-419 | prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:428-432 | prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:441-445 \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 \u0060prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl:415\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/erlang/common_test/cth_hooks/src/cth_tpx.erl"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"563235d76b132512bc2ba402d73f3165aab3f704b7d57690482413f9517e1e51"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CommandExecutionRequest (LCOM4 28): CommandExecutionRequest\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":"app/buck2_execute/src/execute/request.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad0da0145436f8d6e3190cb41ede0e689c2d0ef6b121a4422c5f717b975c8b8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DiceComputations (LCOM4 14): DiceComputations\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":"dice/dice/src/api/computations.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d688c7bdd0d8be4d73fd079d4b291a4795a5e3034121d6428813888abb928c46"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CoercedDepsCollector (LCOM4 6): CoercedDepsCollector\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":"app/buck2_node/src/attrs/coerced_deps_collector.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"273cae69afc511ea935130604e84e6325b4cf65f7ce66bd680a1bdef53d46992"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Value (LCOM4 6): Value\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":"starlark-rust/starlark/src/values/layout/value.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6be0644d2f61af9cf503aaa3527f92a8e2cf285879c28b5f0bc789dce6ea647"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StarlarkFloat (LCOM4 6): StarlarkFloat\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":"starlark-rust/starlark/src/values/types/float/float.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8236568a853984ebbf1b5ee1adfe47dda2c8f44befd1f183839f8588437fe5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TargetInfo (LCOM4 4): TargetInfo\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":"integrations/rust-project/src/target.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ac25e8e883332ac4663427835c2b7c2f7d85e6d9d2ab4be4a60c0809faa47e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MiniVec (LCOM4 4): MiniVec\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":"shed/mini_vec/src/mini_vec.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea48967b3b69f06cced484b49082a185416daf5d3b1d710087095152b064b01"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StarlarkStr (LCOM4 4): StarlarkStr\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":"starlark-rust/starlark/src/values/types/string/str_type.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60c7361f275db92f4405c2ba6236c6fe2dcee73ad538d0155cbceb393b7561e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StarFun (LCOM4 4): StarFun\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":"starlark-rust/starlark_derive/src/module/typ.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae43b2089ed63f357e9c923dcb6f682015d9a1cf11b59e72ea4b3e2d1adf953"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 app/buck2_trailcam/js/ runs vitest but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060@vitest/coverage-v8\u0060 (or \u0060@vitest/coverage-istanbul\u0060) as a devDependency. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: async-condvar-fair: \u0060async-condvar-fair\u0060 1.0.1 is published on crates.io under \u0060GPL-3.0-or-later\u0060, which this policy bans, and it is in the SHIPPED closure of this repository\u0027s Cargo.lock \u2014 so it is compiled by everything that builds this repository, not just by its test harness. The expression was read as SPDX, not as text: an \u0060OR\u0060 is a choice and is only charged when every branch is banned, while an \u0060AND\u0060 binds you to both operands and is charged when either is. Replace the crate, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2fca32d102d05a7224a3730d8d1531ff8fe3569d2c8f7ba27937ceb5a7e610fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_server/src/daemon/state.rs: app/buck2_server/src/daemon/state.rs changed 97 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in TenantState::create at line 515. 2 of those changes were fix/bug commits, and the other 95 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_server/src/daemon/state.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":"app/buck2_server/src/daemon/state.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"9508792be91a1633feb404eb14735671d9228d334431763fc4c12141fda59ae8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: starlark-rust/starlark/src/values/types/string/methods.rs: starlark-rust/starlark/src/values/types/string/methods.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 83 in starlark::values::types::string::methods::string_methods at line 152. 1 of those changes was a fix/bug commit, and the other 18 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- starlark-rust/starlark/src/values/types/string/methods.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":"starlark-rust/starlark/src/values/types/string/methods.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"80dcaae0b893f47493adcc1fc5939458ad6a4184d9e206c1e96ff40c4564aa3c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_action_impl/src/context/run.rs: app/buck2_action_impl/src/context/run.rs changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in buck2_action_impl::context::run::analysis_actions_methods_run at line 129. 1 of those changes was a fix/bug commit, and the other 30 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_action_impl/src/context/run.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":"app/buck2_action_impl/src/context/run.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4db8daffc7412dd5d7bd772f9faf7c0132e23e16127cff6d00be8bd7757840"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_interpreter_for_build/src/rule.rs: app/buck2_interpreter_for_build/src/rule.rs changed 40 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in buck2_interpreter_for_build::rule::validate_execution_groups at line 497. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_interpreter_for_build/src/rule.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":"app/buck2_interpreter_for_build/src/rule.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3561f9e62a4d3dd591c20c725bc729d9468725fc1d29de020256da97bcbcff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_action_impl/src/actions/impls/run.rs: app/buck2_action_impl/src/actions/impls/run.rs changed 52 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in RunAction::execute at line 1829. 3 of those changes were fix/bug commits, and the other 49 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_action_impl/src/actions/impls/run.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":"app/buck2_action_impl/src/actions/impls/run.rs"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0596b54f976ae3031bb3042f08c67c827058fdf86e7579463dc63c73de6b533"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_concurrency/src/lib.rs: app/buck2_concurrency/src/lib.rs changed 61 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in AdmissionCoordinatorTask::run_with_branch_ownership at line 1131. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_concurrency/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":"app/buck2_concurrency/src/lib.rs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"794ff423100a273438bac1bdeda9cc4313aebc162af1f9701d6eb94798e5c58b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt: prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 80 in FirMetadataSanitizerStage.cleanupFirMetadataSources at line 163. 2 of those changes were fix/bug commits, and the other 12 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db128f6fb2f7f3c6476dd23e41c103fa1a4765f1fa86670b0ff2ccf645ef131"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_execute_impl/src/executors/local.rs: app/buck2_execute_impl/src/executors/local.rs changed 45 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in LocalExecutor::exec_request at line 564. 5 of those changes were fix/bug commits, and the other 40 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_execute_impl/src/executors/local.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":"app/buck2_execute_impl/src/executors/local.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8280cf07a3e350726bcd63f141b8c2576c210e078c613855bda008eab06c753"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: starlark-rust/starlark/src/eval/compiler/expr.rs: starlark-rust/starlark/src/eval/compiler/expr.rs changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in Compiler::expr at line 1297. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- starlark-rust/starlark/src/eval/compiler/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":"starlark-rust/starlark/src/eval/compiler/expr.rs"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32935f4e9a0f7f08ff0a8faefca10a7b6ce917456c0b52be46a56716a9d910b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs: app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in buck2_execute_impl::materializers::deferred::clean_stale::create_clean_fut at line 1193. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_execute_impl/src/materializers/deferred/clean_stale.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":"app/buck2_execute_impl/src/materializers/deferred/clean_stale.rs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a36d4a74d22c54530ac7b56bf7f9cb33f4418f781c4d70dc429e29cd64d501"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2/src/lib.rs: app/buck2/src/lib.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in CommandKind::exec_no_daemon at line 559. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2/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":"app/buck2/src/lib.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4b9b5a8a1b2b3b472915c67291b6b91685f99aac954c40415d64bdc9905be7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_execute_impl/src/materializers/v2/core.rs: app/buck2_execute_impl/src/materializers/v2/core.rs changed 48 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Processor::handle at line 2097. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_execute_impl/src/materializers/v2/core.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":"app/buck2_execute_impl/src/materializers/v2/core.rs"},"region":{"startLine":2097}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d96b815a13b2709f6cb05da4ed32371c0a0485085d0e00ff560c664b5684fee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_client_ctx/src/daemon/client/connect.rs: app/buck2_client_ctx/src/daemon/client/connect.rs changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in BootstrapBuckdClient::connect at line 907. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_client_ctx/src/daemon/client/connect.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":"app/buck2_client_ctx/src/daemon/client/connect.rs"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16d894482b90f4a3cb8a40f2dafa1488fd290b283ddb8e0a96a8514532a1d77"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_client_ctx/src/subscribers/recorder.rs: app/buck2_client_ctx/src/subscribers/recorder.rs changed 41 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in InvocationRecorder::handle_action_execution_end at line 1695. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_client_ctx/src/subscribers/recorder.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":"app/buck2_client_ctx/src/subscribers/recorder.rs"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"379ff853ccf4265ba676c8cd2fd13ac23923afb88604427b7f32c832036fa2b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_execute/src/re/client.rs: app/buck2_execute/src/re/client.rs changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in RemoteExecutionClientImpl::new at line 770. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_execute/src/re/client.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":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"da342c1759d1685d83ce8a25a13b4fbbad758bdbcb67139e463be1ef00860669"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_test/src/orchestrator.rs: app/buck2_test/src/orchestrator.rs changed 43 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in BuckTestOrchestrator::execute_request at line 1362. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_test/src/orchestrator.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":"app/buck2_test/src/orchestrator.rs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"2588b386e000f4d50091013c973ce45b343d6fccca2b482442fc6a514cdfda9a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: starlark-rust/starlark/src/eval/runtime/params/spec.rs: starlark-rust/starlark/src/eval/runtime/params/spec.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in ParametersSpec::collect_slow at line 734. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- starlark-rust/starlark/src/eval/runtime/params/spec.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":"starlark-rust/starlark/src/eval/runtime/params/spec.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4494f106d16479f8a4f9a679e670899d6754d6269ff1238368304cf5b5027b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt: prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in MissingConstantDeclarationGenerationExtension.getCallableNamesForClass at line 1441. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"78eeec7e65057155d13509e62136136b3ed23d10e5e6f87372c6bd4c1a421bcd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_configured/src/nodes.rs: app/buck2_configured/src/nodes.rs changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in buck2_configured::nodes::compute_configured_target_node_no_transition at line 1134. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_configured/src/nodes.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":"app/buck2_configured/src/nodes.rs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a73804ac7a4eb567544bd68cf66b6e22719ac5f8318673eacd40f8ce7e42715"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_node/src/attrs/coerced/select.rs: app/buck2_node/src/attrs/coerced/select.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in buck2_node::attrs::coerced::select::validate_concat at line 575. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_node/src/attrs/coerced/select.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":"app/buck2_node/src/attrs/coerced/select.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e8e03508244191ee13e97a38991f9747ab2d6bee95bc6e1270c9384d452f7a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_event_observer/src/display.rs: app/buck2_event_observer/src/display.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in buck2_event_observer::display::display_event at line 319. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_event_observer/src/display.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":"app/buck2_event_observer/src/display.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa8bdb178b1fe401dc3de8f124229b35630dbcb445e2d423e4363465f8c01e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_server/src/daemon/common.rs: app/buck2_server/src/daemon/common.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in CommandExecutorFactory::get_command_executor 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_server/src/daemon/common.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":"app/buck2_server/src/daemon/common.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b65abd7b841895ba2b52c597e61096d1b88319dca39aa90a7cb2d902153af72"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_action_impl/src/context/write.rs: app/buck2_action_impl/src/context/write.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in buck2_action_impl::context::write::analysis_actions_methods_write at line 152. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_action_impl/src/context/write.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":"app/buck2_action_impl/src/context/write.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"869430b12ad647cb0eaf9b5391d5abcdbc38f79b2f5c8eff96d788333992ce75"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dice/dice/src/storage.rs: dice/dice/src/storage.rs changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in DiceStorage::page_out at line 339. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- dice/dice/src/storage.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":"dice/dice/src/storage.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"6930d0a4df3af05b0c73d366c9a7b98b05d827aae3338b02d7e4c128078998fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_log_common/src/chrome_trace.rs: app/buck2_log_common/src/chrome_trace.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in ChromeTraceWriter::handle_event at line 1334. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_log_common/src/chrome_trace.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":"app/buck2_log_common/src/chrome_trace.rs"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac1dce2e0c60d28e92a59582511c943db978e453c2d350f7c79813cd7396616"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_anon_target/src/anon_target_attr_coerce.rs: app/buck2_anon_target/src/anon_target_attr_coerce.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in AttrType::coerce_item at line 61. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_anon_target/src/anon_target_attr_coerce.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":"app/buck2_anon_target/src/anon_target_attr_coerce.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5febc858b27b76363b54e8ec78b57a98f94e4080d767acc7fe1d75ae9aee810a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_build_api/src/actions/impls/json.rs: app/buck2_build_api/src/actions/impls/json.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in SerializeValue::serialize at line 155. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_build_api/src/actions/impls/json.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/impls/json.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdb45a8db19be82accce7a22f0216a4c92005542719b719c15ff96c53cc58c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt: prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in NonAbiDeclarationsStrippingIrVisitor.removeNonPublicApi at line 607. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c5643d847a6c84ab3c8516f67a9b4a3c8cb38eda5edc7965355f110f1a25a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set.rs: app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in TransitiveSet::new at line 519. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set.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":"app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c48b7b384d8a1ef3ddf216e19da7b1ec79cddb74060130526b658754da2be3f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_node/src/attrs/attr_type/arg.rs: app/buck2_node/src/attrs/attr_type/arg.rs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Arg::traverse at line 843. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_node/src/attrs/attr_type/arg.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":"app/buck2_node/src/attrs/attr_type/arg.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b0facde3a248e35f29e5007cfa69b7c12d2e52ebb11fbba058ff890c725818"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTestRunner.java: prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTestRunner.java changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in InstrumentationTestRunner.run at line 751. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTestRunner.java\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":"prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTestRunner.java"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6878f57ace0edd0f4d4b409e255c577258b0c1cdd5aae9c067f9701c96b07a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_execute/src/re/uploader.rs: app/buck2_execute/src/re/uploader.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in Uploader::upload at line 138. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_execute/src/re/uploader.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":"app/buck2_execute/src/re/uploader.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4984b94b172a216adaaaf8ed89a76ce77e654f0ed77725ff51bf1539a82a6d5c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_execute_impl/src/materializers/v2/clean_stale.rs: app/buck2_execute_impl/src/materializers/v2/clean_stale.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in Cleaner::run_inner at line 274. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_execute_impl/src/materializers/v2/clean_stale.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":"app/buck2_execute_impl/src/materializers/v2/clean_stale.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"375104be0247d34c25e6cbae49f7040d9c96380b5ed44c4383268c7997e524d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: remote_execution/oss/re_grpc/src/client.rs: remote_execution/oss/re_grpc/src/client.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in remote_execution::client::download_impl at line 1693. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- remote_execution/oss/re_grpc/src/client.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":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2357ca214a900cbcfa428fe58f7b319c851676743b8b30191229c4ef0e9f362"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tools/retrace/src/main.rs: tools/retrace/src/main.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in retrace::main at line 221. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- tools/retrace/src/main.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":"tools/retrace/src/main.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c5352a059a4ec6c4c3eeaa1d1208e8e49cd99cb67b841933a48990ff728340"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_bxl/src/bxl/starlark_defs/context/methods.rs: app/buck2_bxl/src/bxl/starlark_defs/context/methods.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in buck2_bxl::bxl::starlark_defs::context::methods::bxl_context_methods at line 91. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_bxl/src/bxl/starlark_defs/context/methods.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":"app/buck2_bxl/src/bxl/starlark_defs/context/methods.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c98fb875689d72d92ca12e9e2d69149504fa1b42445f2ea4a835cd3e12fdc1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt: prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in NonAbiDeclarationsStrippingIrVisitor.removeNonPublicApi at line 570. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6eb79119b5d71580104b6a522026adc349020fa318b061f2bb08cc57213498"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/rust/tools/rustc_action.py: prelude/rust/tools/rustc_action.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in rustc_action.main at line 446. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/rust/tools/rustc_action.py\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":"prelude/rust/tools/rustc_action.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3cbe2cbde18450ee5fec1bacdffea0352f49f09ff15e4a6a480fd87ca0b52e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_client/src/commands/clean.rs: app/buck2_client/src/commands/clean.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in buck2_client::commands::clean::clean_buck_out_pass at line 682. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_client/src/commands/clean.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":"app/buck2_client/src/commands/clean.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"952e0615d77b22c7a687008a7897d2f907369cb29f23af718eee349794396032"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_analysis/src/attrs/resolve/configured_attr.rs: app/buck2_analysis/src/attrs/resolve/configured_attr.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in buck2_analysis::attrs::resolve::configured_attr::configured_attr_to_value at line 186. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_analysis/src/attrs/resolve/configured_attr.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":"app/buck2_analysis/src/attrs/resolve/configured_attr.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82f1a6ea67f1b85faaabd7ee5cc046eaec30628c688a421722477d766c5123e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt: prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in NonAbiDeclarationsStrippingIrVisitor.removeNonPublicApi at line 616. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"35db521c3f8132d9615a6b6be099d4a3db2f234fd0c7da0e12789bcc551b6c57"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tools/retrace/src/gui.rs: tools/retrace/src/gui.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in retrace::gui::update_ready at line 2210. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- tools/retrace/src/gui.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":"tools/retrace/src/gui.rs"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"63111c64f5af0dbd4ca4a7d2c10ca727762bcd32b4aec24d66d40317b691de71"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/PostEnterCanonicalizer.java: prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/PostEnterCanonicalizer.java changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in PostEnterCanonicalizer.getCanonicalType at line 107. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/PostEnterCanonicalizer.java\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/PostEnterCanonicalizer.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"99649363032dd3931da1c3d8a86fe2776fff8060023b32951b642607adb2a63f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tools/retrace/src/export.rs: tools/retrace/src/export.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 105 in retrace::export::export at line 458. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- tools/retrace/src/export.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":"tools/retrace/src/export.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ff74151eb8ab4fb7d3f79f3e5843223b06af814ef67d107b25ca1fceefdbe3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_execute_impl/src/executors/re.rs: app/buck2_execute_impl/src/executors/re.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ReExecutor::re_execute at line 163. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_execute_impl/src/executors/re.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":"app/buck2_execute_impl/src/executors/re.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a086ad2351843baefa32cc4eacdd4d850a7b2572a7b0dd104977c96800137cc0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/StubJar.java: prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/StubJar.java changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in StubJar.writeTo at line 124. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/StubJar.java\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/StubJar.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c254d70ab0ec10a43a7758d042dd5c6ba1da8653b76cb83cfa395dfd3f61bd32"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_resource_control/src/scheduler.rs: app/buck2_resource_control/src/scheduler.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Scheduler::update at line 434. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_resource_control/src/scheduler.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":"app/buck2_resource_control/src/scheduler.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"41022fb0d52375de52595d67138335c7d1cd5bffa39358bd0cde58956c638f95"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tools/retrace/src/gui/canvas.rs: tools/retrace/src/gui/canvas.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 96 in retrace::gui::canvas::show_canvas at line 600. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- tools/retrace/src/gui/canvas.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":"tools/retrace/src/gui/canvas.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"b166e3e1a30587ded232bfab5dcc4fc175efc2478c3ae4a6a8ced0ea01863d51"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/GenerationContext.kt: prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/GenerationContext.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in GenerationContext.\u003Cinit\u003E at line 121. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/GenerationContext.kt\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/GenerationContext.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c713b8e0d53f614172c0fe1941526b495a7f26794d05e6b4b091fae1bf4dfb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/kotlin/tools/typechecker/typechecker.py: prelude/kotlin/tools/typechecker/typechecker.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in typechecker._run at line 178. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/kotlin/tools/typechecker/typechecker.py\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":"prelude/kotlin/tools/typechecker/typechecker.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc1ae2792c7090e94114632435c7ee0f4c46f5b5b097fcf82984ddbb25c7f2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_node/src/attrs/configured_attr.rs: app/buck2_node/src/attrs/configured_attr.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ConfiguredAttr::concat at line 382. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_node/src/attrs/configured_attr.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":"app/buck2_node/src/attrs/configured_attr.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74f82a7a7081c5a2c3263f0829565c82666e65856d17ffdb64a517ec151a88c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: starlark-rust/starlark/src/values/types/string/interpolation.rs: starlark-rust/starlark/src/values/types/string/interpolation.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in starlark::values::types::string::interpolation::percent 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- starlark-rust/starlark/src/values/types/string/interpolation.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":"starlark-rust/starlark/src/values/types/string/interpolation.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f09434c4c3a955dac10bc5ead54dad56009af45104683b8b4a4bb7d4740cbb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/StubJarClassEntry.java: prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/StubJarClassEntry.java changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in StubJarClassEntry.of at line 55. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/StubJarClassEntry.java\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/StubJarClassEntry.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d801e1cef2f095005a7804d0544c0d594c34fc7aead6f4fb5710f274c5bee6bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: starlark-rust/starlark/src/values/types/int/globals.rs: starlark-rust/starlark/src/values/types/int/globals.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in starlark::values::types::int::globals::register_int at line 33. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- starlark-rust/starlark/src/values/types/int/globals.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":"starlark-rust/starlark/src/values/types/int/globals.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5cbfea340aebd17359351c02a67478eafb39185a8c2840e3651d153f69c39e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/toolchains/android/src/com/facebook/buck/android/dex/D8Utils.java: prelude/toolchains/android/src/com/facebook/buck/android/dex/D8Utils.java changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in D8Utils.runD8Command at line 166. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/toolchains/android/src/com/facebook/buck/android/dex/D8Utils.java\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":"prelude/toolchains/android/src/com/facebook/buck/android/dex/D8Utils.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6778b7b929d21d6c34d93f33018432cb38528a3d3790421430a3c111e2e7c078"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/ksp/Ksp2Step.kt: prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/ksp/Ksp2Step.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Ksp2Step.executeKsp2 at line 147. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/ksp/Ksp2Step.kt\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/ksp/Ksp2Step.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0b3e60878cf9fe18eaedf6557297cf4660e1cd829489885dca3308eb48bcf1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/cxx/dist_lto/tools/dist_lto_planner_gnu.py: prelude/cxx/dist_lto/tools/dist_lto_planner_gnu.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in dist_lto_planner_gnu.main at line 136. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/cxx/dist_lto/tools/dist_lto_planner_gnu.py\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":"prelude/cxx/dist_lto/tools/dist_lto_planner_gnu.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"136844fd5206091b1feadda3e2159be68b56784257a9753066e7903257c12b4d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_anon_target/src/anon_target_attr_resolve.rs: app/buck2_anon_target/src/anon_target_attr_resolve.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in AnonTargetAttr::resolve_single at line 85. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_anon_target/src/anon_target_attr_resolve.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":"app/buck2_anon_target/src/anon_target_attr_resolve.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d28652f95c395fb0d26434a422529ddb7ac297500a72fa930a4d47d3fc6954"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/nodejs/tools/nodejs_test_adapter.cjs: prelude/nodejs/tools/nodejs_test_adapter.cjs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in nodejs_test_adapter.parseArgs at line 159. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/nodejs/tools/nodejs_test_adapter.cjs\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":"prelude/nodejs/tools/nodejs_test_adapter.cjs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea96a782b2ce1c42e13953fffd2123af02ca0c7d20826be91a76c5ed1f470cc2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/toolchains/android/src/com/facebook/buck/android/dex/MultiDexExecutableMain.java: prelude/toolchains/android/src/com/facebook/buck/android/dex/MultiDexExecutableMain.java changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in MultiDexExecutableMain.run at line 158. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/toolchains/android/src/com/facebook/buck/android/dex/MultiDexExecutableMain.java\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":"prelude/toolchains/android/src/com/facebook/buck/android/dex/MultiDexExecutableMain.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98a7c84cbe3033efe228439a6599c407e796229e31832184ae7565075421018"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tools/starlark_fmt/lib/autofixes/sort_list_args.rs: tools/starlark_fmt/lib/autofixes/sort_list_args.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in starlark_fmt_lib::lib::autofixes::sort_list_args::collect_sorted_elements_with_keys at line 253. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- tools/starlark_fmt/lib/autofixes/sort_list_args.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":"tools/starlark_fmt/lib/autofixes/sort_list_args.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f754276598e2bf1e11b3dc0acfbe5dfc4e4e50657a56183d18af28426af8a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: starlark-rust/starlark/src/typing/fill_types_for_lint.rs: starlark-rust/starlark/src/typing/fill_types_for_lint.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in GlobalTypesBuilder::from_type_expr_impl at line 583. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- starlark-rust/starlark/src/typing/fill_types_for_lint.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":"starlark-rust/starlark/src/typing/fill_types_for_lint.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d4a18b457fa9afaa8b5bea9741baaf3e25db50be4e43943df62694ed4d5b46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dice/fuzzy_dice/src/execution.rs: dice/fuzzy_dice/src/execution.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in DiceExecutionOrder::execute_once at line 815. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- dice/fuzzy_dice/src/execution.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":"dice/fuzzy_dice/src/execution.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e6af6d2ba9e9b4e0d3f96071b157e69919996e1cce87de60674dba6fc0aa2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/GenericStubsGenerator.kt: prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/GenericStubsGenerator.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in GenericStubsGenerator.generateStubs at line 36. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/GenericStubsGenerator.kt\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/GenericStubsGenerator.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9df32280231fcfcec62d20b8bca621d51aaf3e5fdb4392342cb7cca3245725b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_settings/src/report.rs: app/buck2_settings/src/report.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in SettingsReport::render at line 120. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_settings/src/report.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":"app/buck2_settings/src/report.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d92d35523c3443b9c782446cab3cf65f141c99ed7fe0b997d2e77fb112fb3f1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/toolchains/android/src/com/facebook/buck/android/dex/D8ExecutableMain.java: prelude/toolchains/android/src/com/facebook/buck/android/dex/D8ExecutableMain.java changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in D8ExecutableMain.run at line 230. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/toolchains/android/src/com/facebook/buck/android/dex/D8ExecutableMain.java\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":"prelude/toolchains/android/src/com/facebook/buck/android/dex/D8ExecutableMain.java"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc94a5b104221ca32108cce2950be6241c659c7b3d6d0cf3b023d1ab2a83cb87"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_cmd_query_server/src/query/printer.rs: app/buck2_cmd_query_server/src/query/printer.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in QueryResultPrinter::print_single_output at line 343. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_cmd_query_server/src/query/printer.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":"app/buck2_cmd_query_server/src/query/printer.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56bee147fd77adcd6660b6cd98c695cbbc50b09b9829ae09d4f333fbcaeb8d5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/toolchains/android/src/com/facebook/buck/jvm/java/Jsr199JavacInvocation.java: prelude/toolchains/android/src/com/facebook/buck/jvm/java/Jsr199JavacInvocation.java changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in CompilerWorker.runCompilerTask at line 439. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/toolchains/android/src/com/facebook/buck/jvm/java/Jsr199JavacInvocation.java\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/Jsr199JavacInvocation.java"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4aace08382373e611dab5cd80fb592c974b4c0cd155140aaa0e2b5d73bd371"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/apple/tools/bundling/main.py: prelude/apple/tools/bundling/main.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in main._main at line 323. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/apple/tools/bundling/main.py\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":"prelude/apple/tools/bundling/main.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"451774e4871e1bfe1cbf87a047f2e6c8fbc6f37c506a7a85be78c56b16ccaa54"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_interpreter_for_build/src/interpreter/functions/xml.rs: app/buck2_interpreter_for_build/src/interpreter/functions/xml.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in buck2_interpreter_for_build::interpreter::functions::xml::parse_xml at line 80. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_interpreter_for_build/src/interpreter/functions/xml.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":"app/buck2_interpreter_for_build/src/interpreter/functions/xml.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcba51da6097b8eccddbdcce66242372aabfb1d490ec125ac6e5118fd454892"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_query_impls/src/dice/aquery.rs: app/buck2_query_impls/src/dice/aquery.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in buck2_query_impls::dice::aquery::compute_tset_node at line 335. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_query_impls/src/dice/aquery.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":"app/buck2_query_impls/src/dice/aquery.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8deadb5241f2c716002d4a1bd41723dd925103c18405e6671c4b23780b5e74d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/toolchains/android/src/com/facebook/buck/android/apk/ApkBuilderExecutableMain.java: prelude/toolchains/android/src/com/facebook/buck/android/apk/ApkBuilderExecutableMain.java changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ApkBuilderExecutableMain.run at line 131. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/toolchains/android/src/com/facebook/buck/android/apk/ApkBuilderExecutableMain.java\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":"prelude/toolchains/android/src/com/facebook/buck/android/apk/ApkBuilderExecutableMain.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bccdd6c5a7c2d6d8fec5b344dbc61206b974af2d8785ce6d3592b792a43e8e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_client/src/commands/test.rs: app/buck2_client/src/commands/test.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in TestCommand::exec_impl at line 352. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_client/src/commands/test.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":"app/buck2_client/src/commands/test.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a02df5c5a4ca9469de13f160d15e1b1fe95c4507ea41afb93020703f5e3e0b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_cmd_starlark_server/src/util/paths.rs: app/buck2_cmd_starlark_server/src/util/paths.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in buck2_cmd_starlark_server::util::paths::starlark_file at line 43. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_cmd_starlark_server/src/util/paths.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":"app/buck2_cmd_starlark_server/src/util/paths.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7203e0610e48df88cc9f097e932b2f3739f140a46e09e91ef326f0fa20eea1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dice/dice_examples/bin/memory_by_key.rs: dice/dice_examples/bin/memory_by_key.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in dice_examples::bin::memory_by_key::async_main at line 717. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- dice/dice_examples/bin/memory_by_key.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":"dice/dice_examples/bin/memory_by_key.rs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff15b298981b293315f6f78a5b721c94fbb88800c45596c2712215eb7260636"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: starlark-rust/starlark/src/stdlib/funcs/other.rs: starlark-rust/starlark/src/stdlib/funcs/other.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in starlark::stdlib::funcs::other::register_other at line 41. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- starlark-rust/starlark/src/stdlib/funcs/other.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":"starlark-rust/starlark/src/stdlib/funcs/other.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b8a31746f22ffd96e6acc7f28050193045617e6f7f8d8600aea4505c2ab861"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/AbiFilteringClassVisitor.java: prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/AbiFilteringClassVisitor.java changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in AbiFilteringClassVisitor.visitMethod at line 281. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/AbiFilteringClassVisitor.java\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/AbiFilteringClassVisitor.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"342d5ffeea49ad6d05c67a195b85934e797927258c7237b37fbcc7083e241600"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_cmd_targets_server/src/targets/streaming.rs: app/buck2_cmd_targets_server/src/targets/streaming.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in buck2_cmd_targets_server::targets::streaming::targets_streaming at line 98. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_cmd_targets_server/src/targets/streaming.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":"app/buck2_cmd_targets_server/src/targets/streaming.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba8f51c387ffbe8c9e6aa469fc7c4ffc254b17cb200ad38384c480b0587e091"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compose/ClassStabilityTransformer.kt: prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compose/ClassStabilityTransformer.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ClassStabilityTransformer.computeStability at line 254. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compose/ClassStabilityTransformer.kt\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compose/ClassStabilityTransformer.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"640f360d3abc49f941e3457722a6c8e8683413017809d0568cd528e8f3f1f76b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_client_ctx/src/subscribers/classify_server_stderr.rs: app/buck2_client_ctx/src/subscribers/classify_server_stderr.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in buck2_client_ctx::subscribers::classify_server_stderr::classify_server_stderr at line 22. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_client_ctx/src/subscribers/classify_server_stderr.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":"app/buck2_client_ctx/src/subscribers/classify_server_stderr.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d06251eeb5b605bd6a53bdd2fc235db3101c3c604cd160c9f69f9cf5c37362d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_client/src/commands/run.rs: app/buck2_client/src/commands/run.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in RunCommand::exec_impl at line 120. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_client/src/commands/run.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":"app/buck2_client/src/commands/run.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a290317ab8c09755142e4766e578b3ad33e2de45a151b1c0fcb6393bc87fdc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_cmd_log_client/src/snoop.rs: app/buck2_cmd_log_client/src/snoop.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in buck2_cmd_log_client::snoop::snoop_one at line 343. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_cmd_log_client/src/snoop.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":"app/buck2_cmd_log_client/src/snoop.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc723aaf9f58f893a34711f90fee58ae299675269a74988b80697425b4a18565"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_error/src/starlark_error.rs: app/buck2_error/src/starlark_error.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in buck2_error::starlark_error::from_starlark_impl at line 113. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_error/src/starlark_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":"app/buck2_error/src/starlark_error.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f2428d58508ec950f8922351860d724af80ab26179932dd8d108c5353b4d03"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: starlark-rust/starlark/src/values/types/set/methods.rs: starlark-rust/starlark/src/values/types/set/methods.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in starlark::values::types::set::methods::set_methods at line 86. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- starlark-rust/starlark/src/values/types/set/methods.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":"starlark-rust/starlark/src/values/types/set/methods.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5bc454808c989b7fbc72fcfae6b10e5d4a707d902dd0c2771cc5378cbaa5f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/rust/tools/buildscript_run.py: prelude/rust/tools/buildscript_run.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in buildscript_run.main at line 211. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/rust/tools/buildscript_run.py\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":"prelude/rust/tools/buildscript_run.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4980c296a66a8a181b44a14183c473e35591f384dd354495471d96ef21571441"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_client_ctx/src/subscribers/superconsole/io.rs: app/buck2_client_ctx/src/subscribers/superconsole/io.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in buck2_client_ctx::subscribers::superconsole::io::do_render at line 95. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_client_ctx/src/subscribers/superconsole/io.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":"app/buck2_client_ctx/src/subscribers/superconsole/io.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f01b4a7668227832104de6272b76a40bc59553b5df6eea7fddf276609b02af5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: prelude/go/tools/gobuckify/lib/buck.go: prelude/go/tools/gobuckify/lib/buck.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in BuckTarget.Normalise at line 47. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- prelude/go/tools/gobuckify/lib/buck.go\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":"prelude/go/tools/gobuckify/lib/buck.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"78da56575dc2c7c14f46baf1406684c6861075933fe5ea96905f35dae4a1c3e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: starlark-rust/starlark/src/typing/bindings.rs: starlark-rust/starlark/src/typing/bindings.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in BindingsCollect::visit at line 290. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- starlark-rust/starlark/src/typing/bindings.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":"starlark-rust/starlark/src/typing/bindings.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a73935bc326902a1038835e62ab7daa7672a1353cd32ce15d0bf49c56edd0c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: tools/starlark_fmt/lib/autofixes/sort_list_args/structural.rs: tools/starlark_fmt/lib/autofixes/sort_list_args/structural.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in StructuralListArgSorter::visit_expr at line 198. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- tools/starlark_fmt/lib/autofixes/sort_list_args/structural.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":"tools/starlark_fmt/lib/autofixes/sort_list_args/structural.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf023123717f314c840f57e6789f47030493db5a26681a3d05aac44d1d8b1d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: starlark-rust/starlark_derive/src/module/parse/fun.rs: starlark-rust/starlark_derive/src/module/parse/fun.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in starlark_derive::module::parse::fun::parse_arg at line 705. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- starlark-rust/starlark_derive/src/module/parse/fun.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":"starlark-rust/starlark_derive/src/module/parse/fun.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bc68be36fd75d708420c159941513840e5827aea5a16dc51125f8e89841ecf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dice/dice_core/src/fork.rs: dice/dice_core/src/fork.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in CoreState::fork at line 29. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- dice/dice_core/src/fork.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":"dice/dice_core/src/fork.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df5404389abd3433f7e6718b55cf9baf44e68a058e24e0f69e5023544bf329d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/buck2_cmd_log_client/src/summary.rs: app/buck2_cmd_log_client/src/summary.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Stats::update_with_event at line 64. 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 05:02:16 -08:00\u0027 --until=\u00272026-11-14 05:02:16 -08:00\u0027 --full-history --no-merges -- app/buck2_cmd_log_client/src/summary.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":"app/buck2_cmd_log_client/src/summary.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8307362880fbbdfbfa743b32d9337e62b88839680c2bbf0a523e15976973744d"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 97 significant file(s) lose their only recent owner: app/buck2_execute/src/re/presence.rs, starlark-rust/starlark/src/values/layout/heap/owned_frozen.rs, dice/dice_core/src/fuzz.rs, dice/dice/src/epoch/cycles.rs, app/buck2_build_api_tests/src/interpreter/rule_defs/cmd_args/options.rs, shed/mini_vec/src/mini_box_slice.rs, starlark-rust/starlark/src/values/freeze_dynamic.rs, shed/mini_vec/src/size_assert.rs (\u002B89 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ad967c94806039cafcdf675082d0a804693fdade776672939f7a23cf183bf6cf"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 96 significant file(s) lose their only recent owner: prelude/toolchains/android/src/com/facebook/buck/io/filesystem/impl/ProjectFilesystemUtils.java, prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/ClassVisitorDriverFromElement.java, prelude/toolchains/android/src/com/facebook/buck/io/file/MostFiles.java, prelude/toolchains/android/src/com/facebook/buck/android/resources/MergeAndroidResources.java, prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/SignatureFactory.java, prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/TreeBackedTypeResolutionSimulator.java, prelude/toolchains/android/src/com/facebook/buck/testrunner/TestNGRunner.java, prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/TreeBackedElements.java (\u002B88 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3050dcd99f88c596a5b686380a6a97e19f2ed1bb939cc1882dc7b882785afbf3"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 36 significant file(s) lose their only recent owner: tools/retrace/src/ingest/scan.rs, tools/retrace/src/analyses.rs, tools/retrace/src/gui.rs, tools/retrace/src/gui/detail_ui.rs, tools/retrace/src/export.rs, tools/retrace/src/ingest.rs, tools/retrace/src/sim.rs, tools/retrace/src/gui/panels.rs (\u002B28 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e2fd0a0062f1cb488945ccde75b19dfccae64e2c4dab70d8c07715be35b3ef73"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 13 significant file(s) lose their only recent owner: superconsole/src/components/splitting.rs, starlark-rust/starlark_lsp/src/inspect.rs, superconsole/src/components/padding.rs, app/buck2_http/src/redirect.rs, superconsole/src/components/bordering.rs, app/buck2_common/src/liveliness_observer.rs, prelude/haskell/tools/script_template_processor.py, app/buck2_util/src/truncate.rs (\u002B5 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5bbf87921f7d7aa90e7cdcb991dad08aad67b0cb278a91e7f2c0dabcfa9cb186"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 10 significant file(s) lose their only recent owner: app/buck2_cmd_log_client/src/snoop.rs, app/buck2_event_log/src/tail.rs, allocative/allocative/src/visitor.rs, app/buck2_interpreter_for_build/src/attrs/coerce/attr_type.rs, starlark-rust/starlark_syntax/src/frame.rs, allocative/allocative/src/impls/std/collections.rs, starlark-rust/benchmark/run_benchmark.py, app/buck2_server_ctx/src/streaming_request_handler.rs (\u002B2 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ecbbe13331857f769cc88b22ce72ef982c4a40cf7ebf12ff9a7fa85282b97f6a"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #6: If anonymized user #6 becomes unavailable, 9 significant file(s) lose their only recent owner: prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compose/ClassStabilityTransformer.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/InterfaceStubsGenerator.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/StubsGenAPI.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/InnerClassStubsGenerator.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/AnnotationStubsGenerator.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/parcelize/ParcelableCreatorEmulator.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/plugin/StubsCodegenCommandLineProcessor.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/JavaClassResolverCompat.kt (\u002B1 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9d61d6cc5ef760391ddd81a0f6cce82e25c2ff3e548c23f8006b05a57b58f361"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #7: If anonymized user #7 becomes unavailable, 8 significant file(s) lose their only recent owner: tools/starlark_fmt/lib/autofixes/sort_list_args.rs, app/buck2_interpreter_for_build_tests/src/super_package/package_function.rs, tools/starlark_fmt/lib/autofixes/sort_list_args/structural.rs, tools/starlark_fmt/lib/sort_key.rs, tools/starlark_fmt/lib/autofixes/parsed_module.rs, tools/starlark_fmt/lib/autofixes.rs, tools/starlark_fmt/lib/autofixes/fmt_suppression.rs, tools/starlark_fmt/lib/autofixes/sort_list_args/policy.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3608e4763d913572fe0cd9979eea9169c50d8957c11059dfb07149d906f1b90c"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #8: If anonymized user #8 becomes unavailable, 7 significant file(s) lose their only recent owner: prelude/toolchains/android/src/com/facebook/buck/testrunner/BasePerTestCoverageRunListener.kt, prelude/toolchains/android/src/com/facebook/buck/android/aapt/ResourceSourceMapFormat.kt, prelude/toolchains/android/src/com/facebook/buck/testrunner/RobolectricTimeoutEnforcingRunListener.kt, prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTimeoutEnforcingRunListener.kt, prelude/toolchains/android/src/com/facebook/buck/testrunner/TpxTimeoutBufferManager.kt, prelude/toolchains/android/src/com/facebook/buck/testrunner/PerTestJUnitCoverageRunListener.kt, prelude/toolchains/android/src/com/facebook/buck/testrunner/PerTestCoverageExtensionManager.kt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2c333628b01598290ee433a418011817985a14b54f521ff3354d2de41dd6b021"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #9: If anonymized user #9 becomes unavailable, 6 significant file(s) lose their only recent owner: app/buck2_explain/js/src/graph2/GraphImpl2.tsx, app/buck2_explain/js/src/Target.tsx, app/buck2_explain/js/src/App.tsx, app/buck2_explain/js/src/graph2/GraphViz2.tsx, app/buck2_explain/js/src/Router.tsx, app/buck2_explain/js/src/SearchView.tsx. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d69c813a45b2452caad8b7dee0239cc989ecbde8f0beaf8dd4961455a9d2ce9c"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #10: If anonymized user #10 becomes unavailable, 6 significant file(s) lose their only recent owner: starlark-rust/starlark/src/typing/tuple.rs, starlark-rust/starlark/src/eval/bc/stack_ptr.rs, app/buck2_common/src/legacy_configs/agent_context.rs, starlark-rust/starlark/src/typing/arc_ty.rs, app/buck2_cmd_docs_client/src/agent.rs, starlark-rust/starlark/src/typing/small_arc_vec.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ae544c4113cd8bc3850a0fd23328c4aee62f7e417d263a90174e7e1dc652273b"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #11: If anonymized user #11 becomes unavailable, 6 significant file(s) lose their only recent owner: app/buck2_client_ctx/src/subscribers/classify_server_stderr.rs, app/buck2_client_ctx/src/restarter.rs, dice/dice/src/core/graph/lifecycle.rs, pagable/src/read_failures.rs, starlark-rust/starlark/src/values/layout/heap/allocator/api.rs, starlark-rust/starlark/src/values/layout/heap/allocator/bumpalo.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"87ae4bc5f9cc5b7bafaeb19b2aa31d4f47b3674a517449bfaf7e007511b52769"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #12: If anonymized user #12 becomes unavailable, 3 significant file(s) lose their only recent owner: games/src/games.rs, games/src/games/menu.rs, games/src/console.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8a33500b40ea179c2e0a815cbd45d7177ea51f3bceacd0e7a46f0c25b3b765f8"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #13: If anonymized user #13 becomes unavailable, 3 significant file(s) lose their only recent owner: prelude/toolchains/android/src/com/facebook/buck/android/resources/ResTableType.java, prelude/kotlin/tools/typechecker/typechecker.py, prelude/toolchains/android/src/com/facebook/buck/android/resources/strings/StringResources.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"96c662cbd61e663d6c410fc16637387b976aede64a8e6aafbc53a422fec9120e"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #14: If anonymized user #14 becomes unavailable, 3 significant file(s) lose their only recent owner: gazebo/hmap/src/lib.rs, gazebo/hmap/src/tests.rs, gazebo/hmap/src/compat.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"39fce48e13a9351924b9e6b58c1a706e614a88ac91b287ce0ed7684f401ecf9c"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #15: If anonymized user #15 becomes unavailable, 3 significant file(s) lose their only recent owner: app/buck2_execute/src/dep_file_state.rs, prelude/toolchains/android/src/com/facebook/buck/android/ContentDigests.java, app/buck2_node/src/attrs/configured_traversal.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4e88f9cd6741e4cd3faacd65249793fe0a25517fecea6654f57a4d30d70cb7ba"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #16: If anonymized user #16 becomes unavailable, 3 significant file(s) lose their only recent owner: prelude/go/tools/buildid.go, prelude/go/tools/gobuckify/lib/buck.go, prelude/go/tools/gobuckify/lib/render.go. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7b5c70cc85e5ad7d014729139a8b62b9c684be01c70f22633b76b901c655c130"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #17: If anonymized user #17 becomes unavailable, 3 significant file(s) lose their only recent owner: prelude/apple/tools/code_signing/codesign_command_factory.py, prelude/apple/tools/code_signing/prepare_code_signing_entitlements.py, prelude/apple/tools/dry_codesign_tool.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"461cb079b0f5861e3a67c695d20e318b2b207f1e699052da9f7695edaf25b9f9"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #18: If anonymized user #18 becomes unavailable, 3 significant file(s) lose their only recent owner: prelude/apple/tools/bundling/signing_context_data.py, prelude/apple/tools/code_signing/signing_context_types.py, prelude/apple/tools/bundling/signing_info.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c7ea4d4f3db9674d1b736b4662f5f516788e71e357e683a7ecb1908e898f8dde"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #19: If anonymized user #19 becomes unavailable, 3 significant file(s) lose their only recent owner: app/buck2_critical_path/src/test_utils.rs, starlark-rust/starlark_syntax/src/span_display.rs, allocative/allocative/src/impls/std/cell.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ab9a9324578af1c3e0ce74c87e93875452ad692d46b1c76696e8a4b2207e0fe3"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 14 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 (337 single-owned of 2443 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; 2443 of the 3891 production source files in this repository met that bar). They are anonymized user #20 (2 file(s)), anonymized user #21 (2 file(s)), anonymized user #22 (2 file(s)), anonymized user #23 (1 file(s)), anonymized user #24 (1 file(s)), anonymized user #25 (1 file(s)) (\u002B8 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: starlark-rust/starlark_syntax/src/syntax/ast.rs, starlark-rust/starlark/src/values/recursive_repr_or_json_guard.rs, app/buck2_wrapper_common/src/cleanall/discovery.rs, app/buck2_wrapper_common/src/cleanall/stale.rs, prelude/apple/tools/selective_debugging/benchmark.py, prelude/apple/tools/selective_debugging/macho_parser.py, prelude/nodejs/tools/package_tree.py, app/buck2_cmd_completion_client/src/complete/flagfile.rs (\u002B9 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # FIXME(scottcao): Not fully implemented 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":"website/gen_docs.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"702c4a298c13578b879d59922c5e9413463046ad6a441e607550b8169bb47e73"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(D94266514): Currently vacuous because Select[T] resolves to 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":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f25c32549ad55bf461de3a8e7d655a02374e75455a44476a558dea12b9a37eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(D94266514): Currently vacuous because Select[T] resolves to 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":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3747cff092b23b6a238dc1054c4c101fa2481b5c9ffcb52ce42e034fe3d63d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(D94266514): Currently vacuous because Select[T] resolves to 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":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43e1f73d2556d2c6ac2f0c25f309c6ec4e9b94a9d95da7bc73ba6927c3cfbfa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(D94266514): Currently vacuous because Select[T] resolves to 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":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf4a2c0b0007459b90ed1fb9edc4c7cc047abcb1c933f9758f2933d4c4bb6a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(D94266514): Currently vacuous because Select[T] resolves to 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":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5981e12c4502dc440a60e5a59efb0fc00e0939d9bc11c5b716fa65b135eb5007"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(D94266514): Currently vacuous because Select[T] resolves to 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":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"974b8810caea594ab2476c6646caf55c68be9d162c5902d0ce9f82bcfdd50a52"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(D94266514): Currently vacuous because Select[T] resolves to 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":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b528fe71dd3e37de74c908dc050f6608ed75c6588f85327a1f455e82ffbbebb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(D94266514): Currently vacuous because Select[T] resolves to 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":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fb166fcb6acc5360de86dee39936512e162bbdae8cfac0975fdbecdc5804ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(D94266514): Once Select[T] type parameterization lands, this 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":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb008b4b5f9108dc8ab97ce26a688dbd7f741f45f78bd0a1d62d6c4a5da429d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(D94266514): Once Select[T] type parameterization lands, this 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":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea9cb93a0997b8e52988a4c09c06fadc6368b7974a9b02ebd74b24097ee381a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(D94266514): Once Select[T] type parameterization lands, this 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":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"10749b47d1ec1c7ef40d1cfdfe8efae67201a1e2668e5c77da8f93b90f2e8339"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(D94266514): Once Select[T] type parameterization lands, this 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":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"272e61a7f6dee468bb92f8262f09035fa9bf9517ff58de727ecaa52718177c18"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(D94266514): Once Select[T] type parameterization lands, this 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":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3449f1e4014555223a8f29e463ea5b3b35f95575c154f82fe9bf4302f77717bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(D94266514): Once Select[T] type parameterization lands, this 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":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"398e52bc3e80336268d729601ecf6a4d2bff36e7ee4cf815fff930d94a18ffa9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(D94266514): Once Select[T] type parameterization lands, this 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":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a890d5873592c3ec950891d09153005961f50270870ba5776b5691e4fb3705f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(D94266514): Once Select[T] type parameterization lands, this 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":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f8fc34e716c4a6a7000e4bac6f38a6a0c873dbb0262814e28d11f0605aad8e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(D94266514): expect_failure once Select[T] lands \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cfa4ae653e61d4f5fb390e4720e25ccda405a968f11287f47fa07a270d3b47"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(D94266514): expect_failure once Select[T] lands \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4c57c57f2d68073deb76171c170d745668a220346d258d343ceecc593aa6bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(D94266514): expect_failure once Select[T] lands \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcc4cecc62a355d87011a61c45d8f14d937c99d8a95269e87133c80d5531197"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(D94266514): expect_failure once Select[T] lands \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"794e9b61b108d7d18daebfb7d8d00210f6da99fef571a39f3e33f58c26b810ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(D94266514): expect_failure once Select[T] lands \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"502cf5c209eae6d5e0d2818af7e99ef9a01eafdac5ae71180537f5c53c84241f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(D94266514): expect_failure once Select[T] lands \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a070b0b5716142129c839c0e2cd15a8911170e88b43c86a5a5bd99329f6bdda"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(D94266514): expect_failure once Select[T] lands \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bc5df05d434ae7da388ebd65ae511c1a8682f41e2b35c3573b465478c61fb2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(D94266514): expect_failure once Select[T] lands \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/select_type_params/test_select_types.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7b38a3207039293b3982671006c23aa728cd225255f0c943a936340a388516"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # FIXME(T136079642): Buck2 on Windows has problem with relative symlinks over 260 chars, shorten the hash \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e_util/buck_workspace.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb48392a122dbad6610cb43e910bfe1beed7b401b79c700fd21550c0b8330cdd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: The toolchain platform definitions we hard-code in the prelude are \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e_util/buck_workspace.py"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a916a7e38f06ca4380ba2c2a80547038659e328754094468a8c30978a322f6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(T136079642): buck2 on Windows has problems with relative symlinks over 260 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/e2e_util/rust/src/fixture.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"7732f1443cdf0ca934d207964135b3abe024accd2a5c6202589af20f77b683e2"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # Hacky way to actually make sure we print the full output when a string \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":"tests/e2e_util/helper/assert_occurrences.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"08576dc29c9e3ecaa6d2b13e68c63dc59d4117f39132984f18a8aaf3f66bf039"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ianc) Allow project_as_args to skip nodes that return None \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/transitive_sets/test_transitive_sets.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9263d1cf83a08fa5ee9e632ecd6f5001260944dbd8b403af177b96385d4f22"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ianc) remove the None \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/transitive_sets/test_transitive_sets.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e919cd17877729e0e2478b9bbfa3c78592607ad14bb14eb7d9f77f99096183"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We should also handle the case where the top-level artifact is what \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/restart/test_restart.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd31dc8f28329b7bd78b511c25a6098bb6840aeaf0fc6162eccd50fcfc95852"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Are we really expecting downward variation? Why? Leave a 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":"tests/core/resource_control/test_instruction_count.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3633c02743c17b58bc3e4713c7547924e08740a38d48e5a1f7141d9c54639154"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this test does not test that any target deps are actually returned. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/query/test_target_configuration_toolchain_deps_traversal.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5762a478aa6ac7b1b234332b08868490de7b0ebd29e1c1308046d08efb2588d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): output includes \u0060platform_windows\u0060 target, which is probably not meant to be there. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/query/test_target_configuration_toolchain_deps_traversal.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8b2241665991971c23208f898c86a56d79610b73c35498ba8309066666de97"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this does not return any configuration deps. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/query/test_target_configuration_toolchain_deps_traversal.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0c2b9d001e596af4daadea0690e143e055ea874e002030e41310bcedabde7c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Providers in a query literal should be an error; they are dropped. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/query/uquery/test_uquery.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"92711952b0d5b9b5013a1e65a69cde8dce2a02195a3d987f5a8c012826073522"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Providers in a query literal should be an error; they are dropped. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/query/cquery/test_cquery.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b545cff7a4d9d0f4ee0524bbc48ddce6abffef10b30f17538c3ee15ff0d6a2"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): A source that names a subpackage directory crosses a package \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/query/uquery/test_uquery.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"58172d28467a79b876eade5db5009b9c34ddc0e0d3ea185bf13ecda7e84dfcc3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Likewise for a directory source that contains a subpackage; 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":"tests/core/query/uquery/test_uquery.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7912f452d06301f44f4abcf05f12c95fbbff96fb4802dc2b43a41460ff4e4b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(scottcao): Disabling execution platforms is a hack that we need to get rid 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":"tests/core/query/cquery/test_cquery.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce38a43c00b70be9a4c4eaf6cfe645e9e66dc4bc8d7cbacc79ad28506ecf8fcf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): there should be a warning. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/query/cquery/test_owner.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09b52bc2f6d5fac46f1e555b9996deb0ff531297440781c50fd323b0ffe27da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(marwhal): Fix and enable on Windows \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/materializer/test_materializer.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"72303120915cf91f7029b117856630d1027c7da331970a815bef49d40f6d1db1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): Local and remote execution of \u0060//:dog_and_bone\u0060 must produce identical output. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/materializer/test_symlink_local_remote_bug.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3152b915eb36ecea134368f71ff0cbde385214274dff4b8e1dcd47a78bf22e3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(minglunli): Test was passing for the wrong reason, reached out to Eden and will disable the test for now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/io/test_compare_providers.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdad089ab20c5b1ba5f6510c63ecd1b9effe074bf836e9b74ea040196cd15cf2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //         # TODO(minglunli): Should check for Thrift size limit error message, but CI is on old Eden version 20250403-074430 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/io/test_compare_providers.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ed32c663c0d531048372a82f3838228ef122189ea1e18a187d10c77e16b06c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Flakey in CI \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/invocation_record/test_invocation_record.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"10aeedf90acf680619b3f71eba15ee4631fc05c3103fe57f9633c63fec2bf924"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Disabled; it would take \u0060skip_for_os = [\u0022windows\u0022]\u0060 (TODO(T154836875)). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/invocation_record/test_invocation_record.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e400d1a03da59781ba34fb636a50a2268b67a36385fc86fc36a0844ff63bd4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T154836632) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/invocation_record/test_invocation_record.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec55c70b8d0bc49ebb4eb99bdc7158b7dc239ea3d0b60b6bb13dbae3c3992162"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T154836632) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/invocation_record/test_invocation_record.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8056b255c7ec8ddc78a36fb1703043a5b8064746b101567959c26d36c213b790"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T154836632) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/invocation_record/test_invocation_record.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0ddeba7a67b0e83d30a6df6ba0658df8a7602bc1d37f1589ba8798f091b019"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T154836632) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/invocation_record/test_invocation_record.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bc9e60798071fbd3b8f41c0edcb0ecedc8b6805d43be864bf21cec31b40939"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T154836632) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/invocation_record/test_invocation_record.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6172380684df77e09cc60bf9c2d568a8452c9094565654b2b3b68a34df9e7067"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T154836632) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/invocation_record/test_invocation_record.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a564e2d2fc89646413c0b75da2c5e20759a4cceba8ee0131405f2e5edf3ca7b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T154836632) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/invocation_record/test_invocation_record.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"da74273175846aea54a4215754ceeb3a46f1f3c4f5227e0d7a9689f51bca55fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T154836632) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/invocation_record/test_invocation_record.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"d173dd7eed4aee4afee22628f990c96a0c4700f310b88b65e728762f6fd63b9f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T154836632) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/invocation_record/test_invocation_record.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f8854291fc00d74bb918f17058178ecfdcfc3060c107b1959c41b35ffb4db1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): 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":"tests/core/invalidation/test_forward_node.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bfc72459dbba2a70a5330e7dac033ea4520516b92115cd81111b13e671ae1d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Should be \u0060dir2/dir\u0060. The fact that \u0060redirectvia\u0060, found in the symlink \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/fs/test_symlinks.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea33fe537d4d683cf3411eb6c5d56887b7c200dec49ecafb73fc09920aefae2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T276504188): This test documents a BUG and asserts the buggy \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/executor/test_content_based_paths.rs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f4e2ab3dbd154573c05caad6c294f91bbf791cc249436b4e0ed7787a4de250"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T297763500): This test documents a BUG and asserts the buggy behavior, so it must be \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/executor/test_dep_files.rs"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"347a42480edc42710439cadeb6bcaed1f28176050b7b101d365ab79fac22d349"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Mergebase is currently not set in this 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":"tests/core/executor/test_dep_files.rs"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c0de188ba399fbe4427908aeabe83f5ff071bf951f7111b0a88648b147f9ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): check non-existing command \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/errors/test_exit_code.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1135cbe32185514369114f8e7bc1564c8089c00dc099b3e097fa50121ae55ea2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): check local vs RE \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/errors/test_exit_code.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d69a858706a6b0542eabfa54a2cf9cf078d559fbd3f032fcfe01bce502b4bb6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): \u0060.\u0060 is 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":"tests/core/debug/test_debug.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"867bb90dca1dd1b6c41acef7b3a13dde2c2e11e57544205365eceb2872d4023e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Nested invocations seem to have buggy behavior around writing the event \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/daemon/test_nested_invocations.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"87362a9c96194ceebac8d0447b12acce1801dd382ae01394d481c775a97dfb05"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): 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":"tests/core/configurations/test_configuration_dep_uquery_correctness.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6560348025a2df114f110f2277ee351f78e029a9337e18c66d20f2c501a6138"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): 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":"tests/core/configurations/test_configuration_dep_uquery_correctness.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d299c7a4c850d2c130d4bcc2fcde77d1964b9a0da300d85db33a0e645628349"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Bug. The target specifies a subtarget that does have an appropriate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/configurations/test_subtarget_configuration_dep.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b9b143c0a7fcd1a00e593437193652401bb3223a8a9f9fa5d46c117584447a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Bug. \u0060buck.deps\u0060-like attributes do not include subtargets \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/configurations/test_subtarget_configuration_dep.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9695e06d5496c0796753007002a5aa64259c7f5faa188e2643721cce12431d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): this doesn\u0027t work correctly 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":"tests/core/configurations/test_target_incompatible.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"302bb92d550e1ba5a31d887f4523c4d155f19362fe401f0dad459e15d9d6676b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Evaluate whether we can implement this. The performance \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/configurations/transition/test_constructor_validation.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"786e2d9d94a02499e95cd44d1372e47bf0c143406aa279212f7461fc88fba8db"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Should probably not be inconsistent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/completion/test_completion.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd0a73f91c26c488c2c97879cb2967138d016957d7b1d539f05cad2b14ac52b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Bug: expected=[], \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/completion/test_completion.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"479d5b0214b907c7d0bb330cd680231a0c65920864bf766c8b45a53fb7983461"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Why is this different from above? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/completion/test_completion.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"0237606cb7139dc3bbdb7b4b5d79f35c8ea65298443e5e4cd0f15d213baf56a5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Bug. Notify consistently reports this incorrectly. It might be fine in \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/common/io/file_watcher_symlink_tests.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"17df08134c17032b04f3c8b19ccc2a7f6da1fcf98a982d191a85050d64420dc9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Watchman non-deterministically produces either a create or modify \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/common/io/file_watcher_symlink_tests.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48c67087c67150c1d8a32ea85d42664cbe9aa7fc18a3abe48d9a32c974a77e2"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): 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":"tests/core/common/io/file_watcher_symlink_tests.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ee763d63d7625acc0599e02c75fd0f947b3765bc2e0f96ff65b437780fd312"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Bug. Watchman non-deterministically flip-flops between 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":"tests/core/common/io/file_watcher_symlink_tests.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"98921b614e30a63e1371e8273fb1282e45a2b1fa551a1f685bf6ee84ae5abf32"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): The first assert doesn\u0027t test anything the second doesn\u0027t cover \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/bxl/test_actions.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf51b37a33147558a53f22a59d224f6adb9b4317804fdc5bc22d3a85bb8bc866"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(iguridi) or TODO(raulgarcia4): \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/audit/test_audit_common_opts.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"480102d9c446f05943694b4e576a4a21641006d5499424ff911e285b66cc54fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@wendyy) - remove this config hash hack \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/core/audit/test_audit_output.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c990c63590c17affb124aa814963bf11c2ac895d57c045aed7ef745c01f058"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Why isn\u0027t this 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":"tests/core/audit/test_audit_output.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e003c0867640b788075a9124408abaf84c75fcc5e2cc45224b83b297fad8dba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this is not really 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":"superconsole/src/components.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f83e8fd93b3431f40d8f4854e0b610485fcc1eb592410af76d244c7f095560f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): We may need to try to keep each write call to be under the pipe buffer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"superconsole/src/superconsole.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce264b767ecff9fca897c4af57484a1f934a808ef6634bbc0c6eb36e570a497"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Other code here uses a mix of graphemes count and span.len() for computing the length 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":"superconsole/src/content/line.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4e84a3b91ee0ba9df68dbd00e578f8b5910038a8aa439b9497cb54c9b361e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(brasselsprouts): Does this have to be a \u0060String\u0060? probably not. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"superconsole/src/content/span.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ff336203a6c5eb5211933f9c5b06f4ec459e6cf87d40b3db17274997c3de25"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: IDs aren\u0027t supported here. This is a very naive implementation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"superconsole/src/content/span.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdb34aa408b2f7ae01a2db1dfff13335ba5216e3dd61438ee9087db44606b3d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: I think we should rewrite the CallStack stuff entirely: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/call_stack.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"465c63df6d1197397846a5c54fc3c59421fe26c0565e59fb8c01ebf788bcacbb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): use real module 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":"starlark-rust/starlark_syntax/src/call_stack.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3169cfd32482abbe2bc8f20ea3dee6f1686c1f1ee8b542fef031a357c1d116e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jtbraun): when the invalid spans are root caused, back out D115579787: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/codemap.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d52acfe5dc56b7d2accda37ed41223cb230f1a327ca2fd98f12f05ae1ae981"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): fix instruction for \u0060starlark_syntax\u0060 crate. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/golden_test_template.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"01feaa9cc6222e0aa0fc45ac042b9609141a6468f9a576f44d7d9bdfee4cd503"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): we don\u0027t really need \u0060Clone\u0060 for any payload. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/ast.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e861cd8e70c80834cbedf155677488a0f0da26166ead458325c105b968d5f0a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this is not 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":"starlark-rust/starlark_syntax/src/syntax/ast.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"760bd8a3f8a54019f124611b6d8cb9c4b01ea9ea0cec596d6e130f17fc56c717"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - create a better error message for this case \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/grammar_tests.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8bf2aec4add830a5046ce535d7c5356534196203b92f0a051168bca85336d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): allow it after we prohibit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/type_expr.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f17519ddb558d4a445af0456f21ce74d844f40f1e8252668d6a39f9505fa65"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): eventually this should be allowed for self-referential 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":"starlark-rust/starlark_syntax/src/syntax/type_expr.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfa12ec6faa619758340c5615f27aac9c653cbb77e0a7b86ec5ad82a7fff3db"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Why are we throwing away errors? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/completion.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dad0b8f1eb1ed3038335f0e038fbb917a794235096fe19c0caaac04fd9856a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This seems very inefficient. Once the document starts \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/completion.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a51c21d60a097f88cd1da37a661aba39b1e6fd60784c1c2b96799fec729f3a0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This seems very inefficient. Once the document starts \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/server.rs"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9dd33abe00ea5354c4b1a521f082c26b099a9f51d665bb733350a27a8534f89"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nmj): This should probably just store references to all of the AST nodes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/definition.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1102af98e33499b80a77c1b615ff89521386bcab813862ab5a6c0035259553e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): use dialect of current 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":"starlark-rust/starlark_lsp/src/definition.rs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"392f68dd50255a1e798f27f098cc3e90b8984c6142a73deeaa8fd088a874c938"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): do not unwrap. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/docs.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"92dbab5883475ffb190178519a0dc8d70e7229d5440ad74d9f20a73c78276566"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): do not unwrap. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/compiler/def.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d6e91db9757e58c687b7c6072f1cc297cca81f247551902a5921396c0e9c3e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jadel): maybe this should be re-formatted somehow? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/docs.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d714cc88527efc275b3b0a56957f7c84435ea9a63897e715332a40e9ddb2af8c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Figure out how to get a \u0060Ty\u0060 from the \u0060def.return_type\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":"starlark-rust/starlark_lsp/src/docs.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac25a9a28db85d856f7ace62777718b4d95a3751ac9181f53a4d767962e156c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Can constants have a 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":"starlark-rust/starlark_lsp/src/docs.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d350d90d2b137c06d2dfb54d8ab462bf8ad7cbd3eb3728099a51a39847863cbb"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): wtf is happening 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":"starlark-rust/starlark_lsp/src/server.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33a754fe556b5a91543f755127626f44657d0e06f61583afb3d0d32abddbfb8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nmj): Also implement DocumentSymbols so that some logic can \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/server.rs"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fad76298e680890c3e927eff7adeabd9661c79fd1d7f85fedf14875d7ae081"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should be dynamic based on the actual loaded value. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/symbols.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb73bf0efcf9366e13b8561142b6b41485c95cb7efa3dbfa8c8664e8befad875"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Pull from the original file. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/symbols.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8270458ff9df4b277ebc921c51bddb911dfea7c82527b4ffa23cff927accd2bc"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Pick one form and enforce 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":"starlark-rust/starlark_derive/src/module/parse.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b69a70ca9c85ac52e98b9e23e1d64e50c5391e3ee50e43bb3e44587393a56b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): copy lifetime parameter from declaration, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/module/render/fun.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"91941bad39d7a0c9b254e3442ce046bbbdd08088a9e37ffb3e5d6dcc79361b2c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): currently, without \u0060#[starlark(require = named)]\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":"starlark-rust/starlark_derive/src/module/parse/fun.rs"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5f10ee2193b796d83744db1abfe30e4df15b57edf3cc557a971d6b99c863ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): document 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":"starlark-rust/starlark/src/docs.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"786dfd6e39cd5eef01969f92c7eaaeb4e7d13801cff513d1f3c010a1bd1df0b0"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Temporary \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/lib.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb9b0be536aac9c05e17a09c95e3c471168d9057508275177215b0d6242f35e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): add set: https://www.internalfb.com/tasks/?t=184017710"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/stdlib.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"abec249230bc4224ad9b5fa6796154ecc94da79e332546f0f2e18a32e2d52b54"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this function is only used to compare structs, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/comparison.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4364db453bf88d2bbc6f0a420488a0e873760583abc10af26b2e060c2f212d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): implement derive for 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":"starlark-rust/starlark/src/values/demand.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbef4cfbccfa541758a7c33d522c408dd4ab6879f9fa0adec9a92eae6305857"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: /// FIXME(JakobDegen): We may want to make it possible to *only* freeze \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/freeze.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"994d724c788e8af7bec4f5aebf9d09d461e338cc86f31fa0fcafd9f79bb410c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): verify hash unchanged after freeze. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/freeze.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"15be22a9f887f5ebf9c46877e2d3da5812c42dab81694dfdbe48396db30cdb18"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): verify hash unchanged after freeze. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/freeze.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25c02589e49baed2d6b5e7ea2e977d80ecc01568ef5b5a17d7a2cb34b1bb3b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): verify hash unchanged after freeze. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/freeze.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4bfa2a40de38bf128520905e6ebbc779cdb46c144903860e7e695d42b32c5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): verify hash unchanged after freeze. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/freeze.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"656d51e58d9e3e98fa0130ed4a93bd970fdb078d220c8a3c02eaf76d7dfaf944"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(minglunli): Check how often this is called and if it\u0027s worth keeping \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/freeze_error.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d4133ff6bc2bf4754cca62d6314288bd36d8ba49ac4f5a7ab6fc82e20efbd9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dmarting): those are rather short, maybe make it 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":"starlark-rust/starlark/src/values/stack_guard.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2509b9a18f3faddb3c4e8fdab3e837023c42324cc0e816d9f53c866148f8541f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): replace with \u0060Self::get_type_starlark_repr()\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":"starlark-rust/starlark/src/values/traits.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0acd1d53b4ae0c5bee8cdae7fbc142844da40d383a7c3c5b02aac4577c40cf5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): implement \u0060#[trace(bound = \u0022\u0022)]\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":"starlark-rust/starlark/src/values/typing/callable.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d608b0cdf552187b4a4762da0277936e4249fc56ea23e2ee686fb11fc39ed8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): implement the same machinery for \u0060typing.Callable\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":"starlark-rust/starlark/src/values/typing/callable.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"a042c77b1ee767e1f8e9d3202808bdb2b1019de570e69d22e0105c868bd0dfdb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): support \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":"starlark-rust/starlark/src/values/typing/iter.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc5345406538532097b5354056ba8104f3f8cd22b6308b67fa93bead291bb50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): replace panic with 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":"starlark-rust/starlark/src/values/typing/type_compiled/alloc.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b255f7afb93fd96a55a5d61162a1eda1f11064ec2579404f4baf5333db15d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): derive. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/typing/type_compiled/compiled.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1199c87a06dbc5203980fa15d6cffcd1d6d3497620bbbefd3c7dc84b2ef4681b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): derive. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shed/static_interner/src/lib.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c9a4ac7db9c966e201ed73b91fab33b9294787464961b1117366aff975a46c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): trip to a heap is not 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":"starlark-rust/starlark/src/values/typing/type_compiled/compiled.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe126aeee5b3486fbdb962f45616188fcaba82549cb14f6b387cebf9e8dc83c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): should be compile-time 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":"starlark-rust/starlark/src/values/typing/type_compiled/tests.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97767f4310eafccc4dcb7d848d15a038482282143ed47628fb8d7c6c772b60e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): do not skip. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/any.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf535a5c6380e37652f7d18758c6d7ec9ea28ddc3788b60ec1e924db283ccb1c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): do not skip. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/any_array.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"25502dd77e5590ee499d375db7fc7dacf6f978fcfd79a6b771dcc29d566aa59b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): do not skip. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/bigint.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"db201ee22e814e14b692066438a521749341997211218212f33fe1b1b0a68cb0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): do not skip. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/enumeration/enum_type.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b3dcb97179ef4d800b25111ff4f434cb28f2a77429c7fce6f762a176a9602c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): do not skip. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_util/src/self_ref.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b308677533ca9fe784241abb103521a56e5160e28a2ffea1bba71f2b58d604c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): do not skip. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter/src/types/regex.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5910c1f66f660525a3eb06c7e460e507f0e85cf61582cad454b349fb84a325c4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): do not skip. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_events/src/dispatch.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc997700311ef4ef93ee0242ee459d531c4d2a24166a8685af4502b3604bdd2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): do not skip. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/provider/collection.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca0b9a48c8ab4369a103703da950774430adf880c23b86dc40da194d9d5e356"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): This exists because \u0060StarlarkAnyComplex\u0060 does not line up with how \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/any_complex.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea37cac59bb770667ad820b3ba1674f7338d82bd82ebfa607b26596f8d255dd9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): consider merging this field with \u0060capacity\u0060 to save space: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/array.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1971f20b10882d52cfa6e7350928f54f72440fa6bedaec1c57457e4c84b927be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): implement 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":"starlark-rust/starlark/src/values/types/function.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce5b94bb6d664511bda7ad3bbbac321805c42455c6a28f92435f8619e3c79f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): fix and enable. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/tuple/value.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"90df6c7104b2d06150a430b64032b185f1793e87393e061ffe08f4e250adde9d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): fix and enable. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/float/float.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8075a57d42994b7f3e4096ad2503d5a1ecb4482c58e8a0878cce962f10b8ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): fix and enable. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/tests/basic.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3aa9fd24f867d44d9c43d29c94b194bbf35d65a85a9d36286955296aa08d5c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): fix and enable. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/tests/basic.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"7415053de735c5ecdba1dff0a5086ed49796e4c9a2d6f07bd7f372dea4efd847"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): fix and enable. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/tests/go.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6204e10d0c405f457a7cb9a93aefcf32424ee0e1faa07708f16bf3f710c93dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): fix and enable. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/tests/uncategorized.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"364a68bacd16d4db78074cb341897536bd55befd4f5aee1af8ef1bb08e2a1a9d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): fix and enable. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/stdlib/funcs/other.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cb7a42d3d20521746f1fa2d37de6e00d972ef8e834b440c9a415e7ff63da5b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): fix and enable. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/assert/assert.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee8411cec45afbcec3c9bfdaa028d74eaad59da1697579f57a9669bee2804f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this should be obtained from function signature from function definition. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/structs/structs.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b2e5e565f159babaa51a08ccd3cf1741556ee6ee76b5bc1c6f498261480c75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this should be obtained from function signature from function definition. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/namespace/typing.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6525098eaadc13d4cbd5862fd72314ef803ccf1b9ad7fd68bb92142c1ec6bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this should be obtained from function signature from function definition. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/stdlib/funcs/zip.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3532de590eb6996d9b237512fd736a0975479dd20bd699d2c7f3394e6973f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): missing optimization: practically most \u0060struct\u0060 invocations are \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/structs/structs.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"493efb4813d7b0c88f1c29fd8b4b00c24e037ddc3f27a9736db515c1cf4b3a75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this should be false, because \u0060a \u003C b\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":"starlark-rust/starlark/src/values/types/structs/value.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"97010641e7bfe97aa777c48f0e627644e305b0dc01ce8561c5d573ffcbde4f77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): Also, since structs are ordered, but not sorted, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/structs/value.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"7510d5be1229b0c52bfde60859b11f6768578b07a1e7ef0b888a97802108340b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Investigate if this is really needed, fails on Mac. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/string/repr.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c13f8673e0f04813f1243880edbb9fc41928de412fc670a7877aadeef243bde"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Investigate if this is really needed, fails on Mac \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/string/simd.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a019840f5f42ded93d54ab3952a8208a3dcd01ad7bc37859479ded4a947c8bf"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Investigate if this is really needed, fails on Mac \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/string/simd.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1a2ff45eb63ef4ffa79fa5cc684229ede7ac268193c5ae6740ce58b4a79773"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Add optimizations not to allocate empty set. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/set/value.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fca9245c323d4ad16d341c7eeb73028a5e98a5af29bc35585ac3706d639dd5b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Allocative OSS release \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/record/record_type.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b35d9ffc5ae67f0b13283383d52ed82363cbb9fdd3d557a6270227b2afbb85b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): 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":"starlark-rust/starlark/src/values/types/int/int_or_big.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf210dbf3976a05f7b1578c21f92446df626d851fd3274970743455d0c2822b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): can negate without allocating in most 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":"starlark-rust/starlark/src/values/types/int/int_or_big.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f632de00fcb97bb232e03fc02a1919aef8a0b25d0ccd8b93f19f8b512459fa5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this is inefficient if \u0060i32\u0060 cannot fit in \u0060InlineInt\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":"starlark-rust/starlark/src/values/types/int/int_or_big.rs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"7842b595c3d2fea75f5553a06a022a7217262b68411f79098fbc395855915a7c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this is inefficient if \u0060i32\u0060 cannot fit in \u0060InlineInt\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":"starlark-rust/starlark/src/values/types/int/int_or_big.rs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a95292b5e41ca77e61488c8d182d2f2fddb40b6510c1c512bc1845f179272d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): allocative OSS release \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/enumeration/enum_type.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2e0de3ac5f57917cf1878bf8d57d880287b29a6adf6c04174b138508b7e7eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): we can do better parameter 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":"starlark-rust/starlark/src/values/types/enumeration/enum_type.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"01881fb8af295c573e2098dc10515fef77cfb8e4246a7790396e2f3570ba48ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): replace \u0060Color(\u0022RED\u0022)\u0060 with \u0060Color.RED\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":"starlark-rust/starlark/src/values/types/enumeration/enum_type.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"58feed41671e6b849c3df14021d786d7b5278827574d3a9fd1964e4bc6bc3756"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this implementation is O(N). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/dict/methods.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"2465b0e4d443a969b007b5a26b332c87be3d3d56e327d58757541b18d3fc856a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): we can collect into partially initialized \u0060ThinBoxSlice\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":"starlark-rust/starlark/src/values/thin_box_slice_value/thin_box.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e22eff7aeb7a227a910d550327ded6866ef07d4d837901fb997fd8fc371c96"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): we don\u0027t need to do virtual call to obtain memory size \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/layout/heap/repr.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7f94dfb082e6000f657571ac026417bed817555684817a0c809c523ae9b29a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nero): remove Option here, make it 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":"starlark-rust/starlark/src/values/layout/heap/sealed.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"0186f83c52a49689f7842ddccf029e9fa38caf993913e3183addf16dc1c267dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): we don\u0027t need pointers after the heap is frozen. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/layout/heap/allocator/alloc/allocator.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"21743eb06eb017469bccb8fc24f8abb199ab9a5a765279a4012e00c58fa9c3d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): we should stop doubling after 1M or so. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/layout/heap/allocator/alloc/per_thread.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"188eba0008c5c0daf5510601e94c9b3066ddd2473c6040cfe565e95fba46d498"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This could be duplicated if you declare the type of a variable twice, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/bindings.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcaebfbdce7c3d1c935d0376b659ee17e7ecedc8ae902b2dd3c65c988560c85b"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack for \u0060list[str]\u0060: list of \u0060list\u0060 is just \u0022function\u0022, and we don\u0027t want \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":"starlark-rust/starlark/src/typing/ctx.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c13ae0cb702fb72cee2ec02269c7030faf0b20dc39b3121043b4c97f01d6045"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): push this code down to \u0060OracleTypingCtx\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":"starlark-rust/starlark/src/typing/ctx.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed21d3cdd31980eaf3ef82445a36cc108fe836f325a3facc91cca652e859490c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make this \u0022eval_type\u0022 or something. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/ctx.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e634953d4d93d1ee93d414fca894e52733eb8033a61b340aeb10901727583960"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): some errors we create, we ignore later. For example, when typechecking a union, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/error.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04bcaaee3617aa4e2c035cd8a1b3d165a6c242fc5f66c09265b955984f0aeba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): could be a call like \u0060record(...)\u0060, and we need to evaluate 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":"starlark-rust/starlark/src/typing/fill_types_for_lint.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba522527ef3176566363761c6a791cc5c9308735e7d35ca6d824515c2633bbc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): do better if RHS is a tuple. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/fill_types_for_lint.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff92a0d9fd5f119c46595bbf5d3386f341cc3b2e1c01c6a3e35e476321472f24"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): do not ignore 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":"starlark-rust/starlark/src/typing/fill_types_for_lint.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27bb16bc960316cab18c042d2649b911c62757126f6ae96c3dc1c4f35b3aba2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this is hack for \u0060enum\u0060 (type) which pretends to be a 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":"starlark-rust/starlark/src/typing/function.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a7278c1aefea616d685ff50cb680e26a993c48638e11749627ee6125ff37fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): validate params are in correct order. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/function.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c87dc3c1b7e893a323d04b5130161ccbeec750582b7abf67c3f7495b42b7fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): store hash in vtable. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/starlark_value.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"231d6e6b2a009b73b70e79fd23715876cd78efff24f8a1535f7196e707b07ebf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): do not 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":"starlark-rust/starlark/src/typing/structs.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e977cd2bd16c511faeb2927224a4fefc1683af16f6b0f3bfe21c4214cd80e11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): do not 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":"starlark-rust/starlark/src/eval/compiler/known.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa5af8fbabf0fb3d555747e28bdf4d31cf8a607ef0a98e986a2fe42858fbf51"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): figure out how to fix 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":"starlark-rust/starlark/src/typing/tests.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a7fdea6d4d9bca03ff3ef5acee9c99d64e9ba7923b24e27e828ae695c50d40"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): 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":"starlark-rust/starlark/src/typing/tests.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79abb78a367aff4449ebad0570a186ce8299128b31fd7055a35ea6fb9a134e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): 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":"starlark-rust/starlark/src/typing/tests/list.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ee6ea48d5f44fb5558e24fd41196cf8c1d1f75633462d2b4d8ba3698ae5566"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): 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":"starlark-rust/starlark/src/typing/tests/list.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8254caed49f364c0575c772b8f22e034351aa3666829a5a832d0e8c51addd1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Should be a fixed point, just do 10 iterations since that probably converges \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/typecheck.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87471261bc31afcb95fa87180125ed35e8957e5a17dc4b516df0be5ee188843"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: message is wrong: it is possible that there\u0027s index operator, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/oracle/ctx.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b76ba4d45f87cdf6d97268e035fc60cd3b6c564d31e99f8fc2adcb925af7fa7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(romanp) add match on attr similar to Dict \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/oracle/ctx.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1369fbe74aafbc4a9c1d47a55f6f3d3e2f372aff64d456ac23dafc07119270"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): can do better 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":"starlark-rust/starlark/src/typing/oracle/ctx.rs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea8fbb676e46c8e93c9022b364d87b4b47a59b995cb7b18071f0ad9d23469df"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): even if RHS is never, it still can be 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":"starlark-rust/starlark/src/typing/oracle/ctx.rs"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0894178719d134c4afb671ca8d6eae2c1bd12fcfca25a5ee74e360534f3fb2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): keep the error if it is the only one 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":"starlark-rust/starlark/src/typing/oracle/ctx.rs"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"1187962917d95e7345571982f356c7b1ad9687adb825e7fc8af9ab75ebadf49c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): proper 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":"starlark-rust/starlark/src/typing/oracle/ctx.rs"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ec598da8fa087e6f2262169078097d54bd78dedb38974298fb3ca6bef8b446"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): proper 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":"starlark-rust/starlark/src/typing/oracle/ctx.rs"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ced01b74ef3540c8e4909e50d691736558bfba394067fac9f8e74803b5d0fe7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): more precise. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/typing/oracle/ctx.rs"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3aa53f6ba3e0caab12e04933b7ccd22a75a9dc1faf1602f7e9e1b48df51ae6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): bad message. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/tests/call.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce68fdf53f66a22f2a34b7544307c0ccf8d16dceb525b5d5b5a132e23a9d76c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): typechecker is wrong 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":"starlark-rust/starlark/src/tests/comprehension.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"03243d96476d38ac65fe838b9f405ef459ee776db3a54df579e98a070786693e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: We should give a better error message \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/tests/go.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffd663bc55babe8e5854a93b49077958846bb72957d49ef08cdf148ea593a0a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Give a better line number \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/tests/go.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"82122b1be23d14701c3149276da2c4b6b5da8627b8cfa2cb855509ef91fe8e1b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: we should do 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":"starlark-rust/starlark/src/tests/go.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7a3b7ef30ccdd47ffbed64c5edb00dc09a6bb361c61442565ab7ff498f4d4b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this should fail. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/tests/uncategorized.rs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de2100d2a783fd9ec6b0c1324a22619a593310522c8160ec9413e726f0453a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this marker is no-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":"starlark-rust/starlark/src/tests/derive/module/other_attributes.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc1c883b3c8368ebffbd810bc6ad63963244472ffb63c32e177c32cd60fe906"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nmj): Figure out default values here. ValueOf\u003Ci32\u003E = 5 should 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":"starlark-rust/starlark/src/tests/derive/module/unpack_value.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7134cdd20bdf92728a0c6118863b0618ca79ace65a4e5de086580b54600bdeb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): still run evaluation on 32-bit platforms, without comparison. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/tests/bc/golden.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df3130297faca16f3916892b82665080d9ccd5d1c1273a9b173781344b9ba5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this doesn\u0027t cache string hash, so it is suboptimal. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/stdlib/funcs/other.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f935ff23685c55c714d0aa429f58ff6e417e60f2f6006a753ae96fa45092801"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): pull DAP into the crate, and hide this function. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/runtime/before_stmt.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c8c89ed8e0b25995107005975eaf0f650555fa5adc138fbf7ffdd31598d39e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): pull DAP into the crate, and hide this function. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/runtime/before_stmt.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9fd18f5acb9ce5448c7e626a23932e1fc69d32c0c768fa9e65e972f7a8a2b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): pull DAP into the crate, and hide this function. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/runtime/before_stmt.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe02b0005efc5f235bdbdb7e71ab89f4185976e59b848b0d1f8db692964892e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): pull DAP into the crate, and hide this function. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/runtime/evaluator.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"4434e68f01723c92f450048879c091d65672d474798af8fb6fed3e5912e3c460"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): merge inlined frames. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/runtime/frame_span.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"da472ebdba200fddd03e8d386b66cbd56e6d72ace496b3221b61a2cb4b2b8d3a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): either display inlined frames or 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":"starlark-rust/starlark/src/eval/runtime/frame_span.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0daed12e1fa94a57f68e73d4754bc3bbceb2536ebf333ae1e4f9c8957bfd1e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): if condition is false, do something better. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/compiler/compr.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09dbdae50c64e52ef4ec53a3991a85e79966c3f46ebdaf3c41631281e958e67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): unnecessary 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":"starlark-rust/starlark/src/eval/compiler/compr.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"086b034d342f963733bc33a11520d87010a377901a76caca983b617dbc7d0d61"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): unnecessary 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":"starlark-rust/starlark/src/eval/compiler/expr.rs"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb799035ac8e2414d9ad25c736b05d22833bda1b3ef9fbddeb2a47c3dade0712"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): unnecessary 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":"starlark-rust/starlark/src/eval/compiler/stmt.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f689a8ba01e11881739785143f9c599747dac7bf6371a9a932cb35358026f6c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: some comprehensions are safe to inline. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/compiler/def_inline.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd82856e25bc583e02a760830f285b1543d57f5f0baedf26119f564e5d5310a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): if keys are unique hashable constants, we can fold this to constant 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":"starlark-rust/starlark/src/eval/compiler/expr.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"665dcbb5bb9e942884ddcecd830262772cc022d4ed308aa61643104422d61caf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): visibility does not belong to AST. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/compiler/scope.rs"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8c6fc18c18a6815231fc738187b1e92fae7a936cfa0c154aa363610378dad0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if RHS is list, consider calling \u0060List::extend_from_slice\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":"starlark-rust/starlark/src/eval/compiler/stmt.rs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5ab3a9e07d934acc95f68066d5bc6e86a8a8e1f501ecbc3a287d9506ee796b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): tuple type should be \u0060tuple[str, int, bool]\u0060, not \u0060(str, int, bool)\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":"starlark-rust/starlark/src/eval/compiler/types.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5705595e2960a8f68e03c4f2b71449e307e596f89c24b1da7100a2161b21f12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): most functions have less than 64 locals, we could use a bitmap 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":"starlark-rust/starlark/src/eval/bc/definitely_assigned.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3353e9c22a6e5c0f312dd0a9c2e2eedfaa89c29f56b1445e7ba8173f6feee308"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): no need to fill the slots for parameters. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/bc/frame.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c828deb881b518a350bc9f8e31e8b20d524a6c4762779793e6513049cc2e32cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): call continue routine 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":"starlark-rust/starlark/src/eval/bc/instr_impl.rs"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcff0c9ba19ef3f5beb01ebf2879cac7d95b3eaeeb7b3408a86b4a1d7f94caef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): call continue routine 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":"starlark-rust/starlark/src/eval/bc/instr_impl.rs"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5903a75b36fdb3423a716bcdb6b68b3d921fc6bf011909d7a4f02337ae542523"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: wrong span: should be span of \u0060object.method\u0060, not of the whole expression \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/bc/instr_impl.rs"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ae2b811c4f74676737f69333e3b330bb66a86edf6eb1909dd9a21d7eeabc4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): argument default values and types can be used \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/bc/compiler/def.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"dace0634cc36dd297cef3763a2281e1842b78931c7ed13c41f0dc2676c9b0c4e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: /// FIXME(JakobDegen): This should probably be removed. Having a docstring on a \u0060GlobalsBuilder\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":"starlark-rust/starlark/src/environment/globals.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b378aa3c156a00a745173b7c82b636e82d8458ea1162b8121f0b0302995bc195"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): do not quietly ignore redefinitions. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/environment/globals.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20a9f8f223316c2f86aae8750c97a2c61484515c9cc382c7713b0f2369efa47"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: /// FIXME(JakobDegen): This should probably be removed. Not only can these docstrings not be \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/environment/methods.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c208a39fefa4364cf22a6c80ce8ee531a9960cac80ff321a76dfe7109fb834"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this prints public, private and imported symbols. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/environment/module_dump.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbe17c4dd23245057d4d6ced48df2400def33e1e8f191e7e7e12134052af9b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): separate private visibility into private (\u0060_foo\u0060) and imported (\u0060load(\u0027foo\u0027)\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":"starlark-rust/starlark/src/environment/modules.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0d3ccaf84f0b0ffb25d6df7ac492d78f31a8da2c74fc7f7d24b53ef5fdaaa6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Private for now because this disables GC and it\u0027s hard to make it sound in \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/environment/modules.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e32dfec2727877addea793ad8928ea5cbf799a78202afc09b031466bcadcd19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): retained heap profile does not store information about data \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/environment/modules.rs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5e87cb1cd4fed27f597c4f07cba25b1b18904103acb93a7ff1843db12d4569"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nmj): The starlark syntax needs to be updated to support 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":"starlark-rust/starlark/src/docs/code.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c005468efc533c1266b02b260ef4fdb36db031507396461ffffdb4c9cdb5a80"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vmakaev): figure out if need to optimize memory usage and build persistent data structure \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/debug/adapter.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0856d18af45a5686d25d87f80ee3d9ca7d212f48dac39e2b682fbd525e6016"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): correctly handle captured. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/debug/inspect.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9860ad9bf05a855d49220ed4e7eb8e9a9ec93a7aa69a950d61bbd66b935f3e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): print the 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":"starlark-rust/starlark/src/debug/adapter/implementation.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70e3f1d4f14d6b861460714300165517dd14320966a5c1d2506d1823d2f0b82"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): we currently hit breakpoints on top-level statements twice (once for the gc bytecode, once for the actual statement). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/debug/adapter/tests.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d77afb5ce86f6d5946388d5df1e22db58ab81d42c4edcfc4f2de9e22001a94"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): we currently hit breakpoints on top-level statements twice (once for the gc bytecode, once for the actual statement). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/debug/adapter/tests.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48ba49326a3ea26bf3cb6132fab774ed7f859b23b37f2801fecf7d4fe2b8b71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): we currently hit breakpoints on top-level statements twice (once for the gc bytecode, once for the actual statement). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/debug/adapter/tests.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e92380675b13daa48198ed7ffd31f237dee02cdb4204542890355ab31a87496"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): we currently hit breakpoints on top-level statements twice (once for the gc bytecode, once for the actual statement). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/debug/adapter/tests.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bb579568bb683032fe024b85f3015800c3154476d435eb65ef1e593e95dd09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): we currently hit breakpoints on top-level statements twice (once for the gc bytecode, once for the actual statement). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/debug/adapter/tests.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0fafe963ac4bdcd1b9911080d3cd1f365feb21eb9a2be924294cebf479396e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): unfortunately, gc being marked as statements causes us to need to step_into again. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/debug/adapter/tests.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"306f44e4027ce3ef3a1fb7e787ec8917f32d7a4e10e72fcc1285ecf6bbd4ba41"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// # // TODO: \u0060#[derive(ProvidesStaticType)]\u0060 should learn to handle this case 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":"starlark-rust/starlark/src/any/any_lifetime.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"93056b18a62a21fabef07aa75168a94a5c66ea764a2217d9f7486e63284d8323"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(swgillespie) add a buck2 use case? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shed/scribe_client/src/producer.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9340f1860489ded560e4a4e236a890df35affd58bd12b956afb7b93a8370fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO use more of the capabilities of the remote build executor \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2249d7f713845ec7ee19981579d51dc670b38ff28750a5301e46ed15a025463"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aloiscochard): Map those properly in the request \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c0ef90831493365033e864abe61d36c33894f9902b3b7ac77a56c5bc6aeb32"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(arr) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab8a5418ee47469219414bcc3cfbead72fedb753e78eefe5989d6907d3e0d5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aloiscochard): Return a unique ID, ideally from the GRPC client \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"0237211157e34b5d8b902199eebab6d5d181fc0e5d4cb38f6039f981d72426a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#503): Pull the BuckVersion::get_unique_id() from BuckDaemon"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":2223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3890f4a1bb9c6006692da2983b4ec30e52fe2b6e16ea7e913afdebd44d0e69"}},{"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":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":3791}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1e03812490da255afa947a5be50e6b8132fb001ef1a594c2fb63537d19902b"}},{"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":"app/buck2_forkserver/src/launch.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dd34fb905fafa4589d753df9b6e9f4a7b6df0eb31502f5f8a1fe3daad67baf"}},{"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":"app/buck2_forkserver/src/launch.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0b33e4a4135388cefe0593ffb6f812aa8adf2fbc50cbd4036658a872e12145"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO[AH] Enable Conan revisions for reproducibility \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/conan/conan_common.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9ff2dc7682d7ec06ee1992f0032f1ca56b6da2e50edb6414706252fa906b18"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO[AH] Enable Conan revisions for reproducibility \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/conan/lock_generate.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5870b2715b7a1dd4c274654a59018b77df10e14afd9b645445e1227cf08821a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO[AH] Support parallelized package builds and set an appropriate action \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/conan/conan_common.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"886e97e5b05be60172247a98fd244eb1be3656b6e91df6d04c6e8ba27919c9bf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO[AH] Remove this debug output. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/conan/conan_common.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef49b57771fdf8574288e2f7af81bfd0ce628d173792517b05a1a8676660b46c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO[AH] Enable if needed with a hermetic short 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":"prelude/toolchains/conan/conan_common.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"733a8477ddfe2fd7fef57a7301d76a85f312784045a120b5e5d5d4447c540abc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO[AH] Allow users to define additional remotes. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/conan/conan_init.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48312bc8c9e4e7100ee5547c64b4d39046015e15a960ea40eebd849dbfe19f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO[AH] Remove unused \u0060--manifests\u0060 and \u0060--verify\u0060 flags and outputs. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/conan/conan_package.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e24d9446033a40b1f758b68c73814266f532a9613e92d4d0367a99778b63c7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO[AH] Should we enable the \u0060--no-imports\u0060 flag? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/conan/conan_package.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d874e46abc6e140d09069502d658f4dc847899061c99a52f05cf58ad769e82e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO[AH] Handle packages that are build requirements and set \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/conan/conan_package.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1db71d19b57f8e38f89602ed8c2b1bbb1faea075e419c953c4ce388b71e50b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO[AH] This assumes that buck2 is in PATH when executing the script via \u0060buck2 run\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":"prelude/toolchains/conan/conan_update.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a62937adff62a8cc61eca8c46f6a273f5a9c58ea1195de12deafc216c700731"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # context = item[\u0022context\u0022]  # TODO[AH] Do we 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":"prelude/toolchains/conan/lock_generate.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7010c2784b090385a4842d8436aca5526e46ce3530934a42e802b78691ceb80a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO[AH] Remove that lockfile and generate a minimal one in the 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":"prelude/toolchains/conan/lock_generate.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37e5bb52ac2f8e2b22b6fdd257c7f0c4e1ef6c08ac64b38ad4d325be88f773a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO[AH] Can we distinguish static and static-pic libs? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/conan/buckler/conanfile.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c861af1202bd899d6e67d228830eebff82b4279f047f4b13fb5cec0e171728"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Create a tester class that lets us create an annotation and a value thereof, then \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/test/com/facebook/buck/jvm/java/abi/AnnotationValueScanner8Test.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b62726e350427462382b3de7c08cced9b4d9acf326959743fc2d8652e8b8f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO T94515328 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/test/com/facebook/buck/jvm/java/abi/StubJarTest.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7521e5d6882c9a8e0480d96cb76c06fbc4afcac69a7dcb579757da169c8a35"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO T94515328 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/test/com/facebook/buck/jvm/java/abi/StubJarTest.java"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30076f5a9bda08e09e35c314d528ebdb26b3e6e5002546de5b4bb76e28d86f4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO T94515328 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/test/com/facebook/buck/jvm/java/abi/StubJarTest.java"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1e9eb17b0f264382ba53b2ebd4ad5cb6448ccad5212cf431f1a455308914d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO T94515328 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/test/com/facebook/buck/jvm/java/abi/StubJarTest.java"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"773fa772a7cced4fc504c5ba6fa9e23faeb55965a37c33d80b4defde2f143bc1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO T94515328 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/test/com/facebook/buck/jvm/java/abi/StubJarTest.java"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb96723d2364853c2d0a7d243c9abb8e4b66630e61304279130577a6866d0da1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO T94515328 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/test/com/facebook/buck/jvm/java/abi/StubJarTest.java"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"878670d836ab73bf77fc333071362689ecff86b142d92ef80bb95147b70cdcba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO T94515328 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/test/com/facebook/buck/jvm/java/abi/StubJarTest.java"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa3238a0ea51abdb9833140b6b03659ee53295680ae18e2adf21a0480d78e45"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO T94515328 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/test/com/facebook/buck/jvm/java/abi/StubJarTest.java"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b09623ea7ed06346661173a2aec1fbec71099222848bef4c03f04231f4df7c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO T94515328 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/test/com/facebook/buck/jvm/java/abi/StubJarTest.java"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbd33959bb790bfe449c18c13f4507a44d539c96882c479247a9895bc174cf1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO T94515328 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/test/com/facebook/buck/jvm/java/abi/StubJarTest.java"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"28063a7e7dd1572d83737bd69d2289e5c32507b2acef73e2f7d07003df4d7690"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO T53836707 the methods in the synthetic class are wrongly stripped, preventing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/test/com/facebook/buck/jvm/java/abi/StubJarTest.java"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ffc3333539968a2898deb5841362aa678df2e3cc6ca3e64cf0eee6ff419c37"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO T53836707 the methods in the synthetic class are wrongly stripped, preventing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/test/com/facebook/buck/jvm/java/abi/StubJarTest.java"},"region":{"startLine":1970}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0169d382ea295b99613adc4ccaabe74e6567f9ff760f70ac4d459250fa8a6a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO T53836707 the methods in the synthetic class are wrongly stripped, preventing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/test/com/facebook/buck/jvm/java/abi/StubJarTest.java"},"region":{"startLine":2209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff0c643d7d846aca7b40bb0f70ebb96c6960287be12f88b633702075abcea5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO T53836707 the methods in the synthetic class are wrongly stripped, preventing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/test/com/facebook/buck/jvm/java/abi/StubJarTest.java"},"region":{"startLine":2378}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6854716853475d02847b411dcc6219b365b3a873daad272bf71acf0b206ddfe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO T53836707 the methods in the synthetic class are wrongly stripped, preventing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/test/com/facebook/buck/jvm/java/abi/StubJarTest.java"},"region":{"startLine":2593}}}],"partialFingerprints":{"codehealthFindingId/v1":"13845b7605161a86d42c04f39cbf887adea1f008d4428cd09333966d5135a16a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO T53836707 the methods in the synthetic class are wrongly stripped, preventing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/test/com/facebook/buck/jvm/java/abi/StubJarTest.java"},"region":{"startLine":7958}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae7d001ecdacefd164a41f051d8062aef0fada8a05a5d082fe0ff97a96ee93b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jkeljo): We should only be stubbing private inner classes when they are referenced in \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/test/com/facebook/buck/jvm/java/abi/StubJarTest.java"},"region":{"startLine":4636}}}],"partialFingerprints":{"codehealthFindingId/v1":"347dbffc3d4d1164870b273b49d2089386c2eb64838b9494e6fcb66dd27a1119"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jkeljo): Uncomment when we stop supporting javac 7 and implement receiver types again \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/test/com/facebook/buck/jvm/java/abi/source/TreeBackedExecutableElementTest.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10fe2de2682cf88dcb9b3ff5e0572899d57882e26a26c5bc4fcadd84c6cfdef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mbolin): Consider introducing more Verbosity levels that affect the Java Logger \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/util/Verbosity.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"387ce45eec02c3040e41f0d4f5913066082f5db3c13bd3217047cfbf0b1eedb5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Should this buffer the entries and then sort them by name? We may have 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":"prelude/toolchains/android/src/com/facebook/buck/util/zip/DeterministicZipBuilder.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"729b887ed8fa7e610abba037bd0dcfc1596ce9af7c7afdd460d56a3d58022dfa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(simons): Implement what the comment below says we should do. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/util/unarchive/Unzip.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4659eb4d99858cac6ebea1d0dc9f8a8b36c1084ab33720ebe8d279eeeec46b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: If more than one device is attached, we currently select the first one. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTestRunner.java"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e55704cd2ab45638b2aa6a25416d8d733b693196522f4aa8fdd929e234755f4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: speed this up by checking for already installed items \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTestRunner.java"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"99dd92b5afe9d4b9227e9b0fed4166c3a97356bd804878ebc4a0fa109379efb5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: speed this up by only installing ABI-compatible shared-objects \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTestRunner.java"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f4d92ab27d3284ec89d2795356b21017fdcf368e678427241a4b75cca58188"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Provide value as argument \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/KaptStepsBuilder.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e1f799f11e626dc45a7e1c867ab83bd1e12e2d59344338b1be5f5c23e6635d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO asoshin: move all other steps to use KSP2 pattern for logging \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/KotlinCDLoggingContextFactory.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f503c3f23d796b7d9a472388370fb82b794948585199935089f73baeaaee10"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(navidq) Deserialize BuildKotlinCommand into our own data model and use it everywhere \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/KotlinCDModelHelper.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba981b4551e927d4b996d39317133250b02586bde5758d61317874bfc4ae68d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This Extraction technique will be deprecated as we will provide dep-tracker dependency \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/plugin/PluginLoader.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"18024e22df7e5d1b745cbf9087a53e5d6cf3b955ccc9ce1c597631bf8dda8d1f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: log the name == null cases (likely anonymous classes) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/KtFileExt.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03862da324a406495f9788c92cb51e135c0159d922594023783f783d8c512c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support multi-import 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/KtImportDirectiveExt.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa92d9488e3732c6d726e5f86ceea8c7ce02d458075b4a8b55ad6809fac6476"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: verify all cases where \u0060importPath == null\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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/KtImportDirectiveExt.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"57840f9794988b722d3d4d417c1d9cbf0df929edad808aa4e9601639fd4b091a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fix a non-optimal lookup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/stub/container/StubsContainerImpl.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c9318d27a602d10b98c06bf7a067d24840e6d2541eb188bdd6efd60624944f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Do not apply for SDK classes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/CtorStubsGenerator.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5b4380f00aee5d2a04879914c6a9308bc57cab3ad2e2f1581b268b5bcfa5d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Do not apply for SDK classes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/GenericStubsGenerator.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"98de7013f925cfe6c62965fc9ddccda9fb57f93619fa750700ab7c59c6c9e13e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We might have multiple ctors for each 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/GenerationContext.kt"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"0756461b450ebe2f5a400f95293863dbd665b2795bed894811f8dcdcf62ed4c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Properties with non-resolvable initializers (like TODO()) need stubs, so we must not \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce372ac892eeace2501586727b155f5e1738739996162e8503ee866bac8b227"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fix it: T235115614 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b633efd5f1b9b42ef710a911200b89a8647f5e56046121a13280ccf18e6d0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fix it: T235115614 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96d02dfbd147b6727f3d9da45861e448e6ededc729fd48a3fbd185dd3fd15c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fix it: T235115614 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"47927b0a5be8a9e7d12626368a30ee9df8c2f635ad0a2a6848f64240b9fa09c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fix it: T235115614 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f0be8a699f2926910f469f4ddb81b80df0d9242660f0e04684ff5fb61ba2a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fix it: T235115614 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b6376032b9844af19029386eb9e5a5fb49a840b6f6e9b76e77e97561c0cdbe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fix it: T235115614 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1a2bd9d9863a30b91ae551ffc837a15699f34fe30fe8e7751a0cec2723cb71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We might need to create different names for inner generic type parameters: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/common/stub/render/StubRender.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff84a165228cc34d6eb322f40f48ea4bf6295e98d733da84a17916a2703aeac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(sergei): change to render Exception \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/common/stub/render/StubRender.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b164abd849a6c37e016f3efc8042dd53257ba1a6d59e4a37eeb041a977b321fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We might want to optimise [innerStubs] for find operation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/common/stub/model/KStub.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f681b34b854de3072acd4a192ccc9c34d75e4e9df87a6cd0b960954c46a766"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: pass as a compiler plugin parameter \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/common/StubUtils.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df6b46ef8cc53ee4702e2f3d78d51bff2c7dd89d852c59310c47dc589116c27"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: If [KtFile] doesn\u0027t have a package element then \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/common/StubUtils.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb98e8d0e77b4f6a698d5710216c31ae0c88785fae31c9e45a7974a1a4d37f76"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(sergei): Do we want to cache this set? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/common/StubUtils.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b336dd7235258598e17b46b24dcc0fcef63a61b389fe71690125d97eaafd5be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jtorkkola): Add proper Java 9\u002B module 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/lang/model/MoreElements.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abf092c86ef9b13ea6a9b8e3c7bf45fb452dcd4cab047fd1bff754ffbb98c96"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: @classpath_args are relative to repo root for buck2 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/fatjar/FatJarMain.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51ee68667a5a4437a9783948f4aa22688d2a3c7ad6b33124d6dbf7fcf2a493a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fully remove includeParameterMetadata. This feature is no longer needed and wasn\u0027t \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/ClassVisitorDriverFromElement.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8faf77bca70d15d26eeb87d9febb5891742fcb6f8017afbba152b52544f8a1a0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jkeljo): Either make this adaptive or just wait until we drop javac 7 support 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/TypeScanner8.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f622c1829bdc6d35ca225ac100f1fae1ff2a4f1c7563cb577d771c4fade8eb38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jkeljo): I think we should be able to sometimes use the real annotation mirrors \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/ArtificialAnnotatedConstruct.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"267f9a5992e27ff958a88f7ed58dcdf5155d2be458aa8c593b2be780b0202797"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jkeljo): We should be able to sometimes use the real AnnotationValue, much like we \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/ArtificialExecutableElement.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c6da472c1c89ec4314f4a188dd710d917ba2f639f990a451e5dbdc53d81073"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Different message based on kind. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/InterfaceValidator.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"186922d00ff0abea524436524a3c424d9ccff9339f938c23c3ac8634619cf02b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jkeljo): Either implement this adaptively or wait until we eliminate javac 7 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/StandaloneExecutableType.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7842d8df11d63927c8521f913dbfb7aa19eb8025bde480397d6885f245bfd778"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jkeljo): Capture conversion can create a non-null lower bound, but we don\u0027t need it 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/StandaloneTypeVariable.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46f270e443dcb0585edbab0ce5a03cb04454e35315584d0dfa93b4c60590a9f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Maybe support this for primitives and 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/TreeBackedAnnotationFactory.java"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"0433b165aa0a51c3cd9be0df5b24cd24f2262b550f239d895f7c71b03c77d8c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jkeljo): This is impossible in code that will compile, but we will eventually need \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/TreeBackedTypes.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2be34772a5efefdb28f50412561ea56d6259354f8763795c632422fe9cb82f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jkeljo): Upper and lower bounds could also matter if the type variable is the result 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/source/TreeBackedTypes.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"793f6c510390e26c660596bcf79cd6be54892af4a07822ec6cc5de2414750a4d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO This is a pessimisation: not all \u0022$sam$i\u0022 classes need to be retained, we can do 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/abi/kotlin/InlineFunctionScope.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ca421dfdd081dcf8db56b0140b403e2c5f1e821277285ec9ac24d0d2e3e342"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): prohibit backslashes in format \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/core/BuildTargetValueExtraParams.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae32c8598a3a2c03e763e4f94f5f033fa03caab96f4e29b703411a4e91f18c60"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ianc) fix this, we shouldn\u0027t be adding the same jar to the classpath multiple \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/cd/command/BaseJarCommand.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dac386dc58bca65263578c8133af1899abff8aa78cf7b1e4f05b747552a49e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T213306104) Add a wiki link to guide users on troubleshooting installation errors. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/installer/InstallError.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"453e86c75d7ed57c34278aff0a90f813565ad29d3cb8c39a0fcac230c3a90379"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mbolin): contains() is O(N), consider maintaining an index so it is O(1)? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/core/util/graph/TraversableGraphs.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2521f1e9a64620736ba039755956042831eeb9cb94216220890099a90ba1539e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): for files that we don\u0027t already have in memory, we should use the builder\u0027s \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/resources/ExoResourcesRewriter.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30d7c5ebfcd68e428c316e68cddff868d9760cadad607f99b4ee4f2f7477f1d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(natthu): Make this a hard error once we fix fbandroid and remove all unreferenced \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/resources/MergeAndroidResources.java"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"847a5d843bab10836d2de81521dea1b24e978add399961e16ff977ae8d5b1437"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): aapt1 generates a lastPublicType/lastPublicKey at the end of types/keys. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/resources/ResTablePackage.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c876d32c052c60205687b2ec3a78d5fb236e3a0381b32384e70d5e6be53abc1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we should check for specific failure 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":"prelude/toolchains/android/src/com/facebook/buck/android/exopackage/AndroidDeviceImpl.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"548c1c3c5a252a7cea88b1f7a2d4704b45b1cc3636e279917b77d0ece22faeac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(natthu): Skipping silently is bad. These should really be assertions. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/apk/ApkBuilderUtils.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43fc724295d51d1d22ff0f161f91972aca3df438d2fee554d31949f703b8fd5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T139016417) This hack is only necessary because we are using an old and deprecated \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/android/apk/sdk/ApkJarBuilder.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"604e1100fa6a45c779468b7bc4e4439f746d7c9db7ee122c8c717d55423d999d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: figure out where this comes from and why it doesn\u0027t 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":"prelude/rust/tools/from_any_dir.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"82398d979c16a098121e6f03b23b7cc622e632a1e18a52559304b7232346549c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: figure out why this flag passes \u0060is_flag_supported\u0060 and is then rejected by the assembler. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/rust/tools/from_any_dir.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"690813c827537c7cbcfb6710a646a870b8f7a27b110e9552238b9dd22a84a803"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(andirauter): Required by RE. Remove them when no longer required T119466023 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/rust/tools/rustc_action.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a59befd4802fdfbf7970d8f5dbc0e9bd57de314b3f4304a962f28162015bf84"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: When Python 3.12 becomes the baseline, replace this 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":"prelude/rust/tools/rustc_action.py"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6648d19e62ed3c192201e35bae6da2f0b73f30cc9e0e704c1b5c2866c79d48e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(agallagher): Is there a better way to detect these tags? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/python/tools/extract.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf49bfc5e2be4c87ac1665f427d8c990455dc1afbf8d75cc61c142c5589ae0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(nmj): Remove this hack. So, if arg0 in your shebang is a bash script \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/python/tools/make_py_package_inplace.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d96c2da01366d42e7caa91ce4bff0f27f61bfc4e6e858149c4d7be1e363f2dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(agallaher): This was copied from v1, but some things below probably \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/python/tools/make_py_package_modules.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b43a180e5482c807363fbea27d7ab22053d749c93787fc5db82e4235b5cc33"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO normalize version like we normalized name above \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/python/tools/wheel.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08e8a02587d5c565bfae4f82ed6b73146088360236c5d96f34986c4920e8396"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(T121096376) remove this hack \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/js/worker_runner/worker_tool_runner.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea054112ed6c8fc640a747864324c0e546bdbe1032c6818d28b9dde7b4545b3c"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # HACK: Split the value into a list of arguments then join them back. \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":"prelude/go_bootstrap/tools/go_wrapper.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fc03d47766a8344e079f48e2145cc61faa3f6abfbfcc054674577283a24860"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: # HACK: Replace %cwd% with the current working directory to make it work when \u0060go\u0060 does \u0060cd\u0060 to a tmp-dir. \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":"prelude/go_bootstrap/tools/go_wrapper.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"181c1a87ac4d96b2c97c0509cefe0fb6506e86adedf61d2df6c98bfc2c04e64b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(michaelpo): Skip unil we are ready to handle no-go errors. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/go/tools/pkg_analyzer.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7115efef76ec5c7ff656f5aea868a5491267d15bc2e11f31df8ea4b76b0b72"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: add packages.NeedTypesSizes to the query as well, when we fix slow builds \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/go/tools/gopackagesdriver/driver/query_bxl.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad18cd7beab052bfae74dcce77921419331b3b0e9d669676bd30f5cba9559581"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: patch request to fix Syntax and Types for stdlib \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":"prelude/go/tools/gopackagesdriver/driver/stdlib.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bf0c6eae2c424ba7dc4a8ddd1230f5d12668011eae21591b16c7e16b187ffd"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: if go distribution has been built with CGO_ENABLED=0, this changes default behaviour on \u0022always disabled\u0022 \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":"prelude/go/tools/gopackagesdriver/driver/stdlib.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1678a911a411d3b3ce543721e9a30170d43ecc9945541a1991463895c7f36716"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack for golangci-lint, it doesn\u0027t add the file= prefix, let\u0027s detect it ourselves \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":"prelude/go/tools/gopackagesdriver/driver/targets.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf43863b7e3e46d5fc3b73bd5e2b0ba713c0f20583553b6322a37af795a96d8"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: %% hack to make startup not fail if no config is set \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":"prelude/erlang/common_test/test_exec/src/test_exec.erl"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c89d641e51cfe7d817e856169d4f4f4455262cc2fa884fddf756c25689e5308"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(T139459294): \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/cxx/dist_lto/tools/dist_lto_opt_gnu.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0a153a691b589e55e3d53338223966dbcf487353f722ce345f4863b3a343b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(T139448744): Cover all the flags. Check available flags using \u0022ld.lld --help | grep -A 1 \u0027\\-\\-plugin-opt=\u0027\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":"prelude/cxx/dist_lto/tools/dist_lto_opt_gnu.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"335b0587894b77bc4654fc900fc762fa90710f99d36de6c5c51693cc2c16b7e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(T159109840): Generalize this logic to handle -Xlinker \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/cxx/dist_lto/tools/dist_lto_opt_gnu.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1691c083f3bf53251bd3103936a5ed764d0f81947a6027c0a4abe8c344654d9e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(T130322878): since we call linker wrapper twice (in index and in final_link), to avoid these libs get \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/cxx/dist_lto/tools/dist_lto_planner_gnu.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4829983f98379e255e0fa39976bd74a0cf10a9e92cadf54e1dadef7a50475c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(T149863217): Make skip checks run in parallel, they\u0027re usually fast (~15ms) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/codesign_bundle.py"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"3faa31b2c433611b6838cb4511bcf119aa811c1680b34779c64452e29fda9e00"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(T181556849) when incremental bundling is on, binary, frameworks and plugins are not changed, signing identity is unchanged skip this step. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/bundling/swift_support.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"71722a4f6f28a3e80522f204fc104e2b643d18d660383c71d214b3a616c99e9b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(cjhopman): This logic does not explicitly exclude targets that are used_by_wrap_script. D38377593 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/android/tools/merge_sequence.py"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e6e388adac1019d61c9866169ad14eea22a27d7a54a44855bbdf77f75655fc"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: # FIXME: Remove once actual tests work on mac and windows \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/rust-project/tests/test_rust_project.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a799f2d405cfe38d6c00a76ca35ed1064c8bf7e7db4bd2f66ecd6fce34906b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Do this in bxl as well instead of manually writing a separate query \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/rust-project/src/buck.rs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"929591be40ecb45229c37d31463a26adbe95752951f7035de7169c3a5b12d97d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME XXX: remove this after everything in fbcode is migrated 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":"integrations/rust-project/src/main.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e32f55998ac6223b283379a059641ec53f8e6346c56d0d00f83686bd2bb92c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: switch to unix_path crate so this works on windows 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":"integrations/rust-project/src/cli/check.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"5285b23bc153d49eae01c5c7b329eb816c34ff32e7072688e14892563f330e56"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: switch to unix_path crate so this works on windows 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":"integrations/rust-project/src/cli/check.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0f1e41a570baeaa1d00aabd8085d8aceffb44327cedf598bea81ee9231174c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): This should be set via a configuration mechanism of some kind. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/rust-project/src/cli/develop.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"addb5dc8fa2f38e31bf1005d8882c934f0d3ce5311153f1814994c4af71ab513"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Starlark values don\u0027t really do anything with the rest of the flags so \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gazebo/display_container/src/lib.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5868d492252b971f697136b6a9793d615142d54ec55938d5a092993d345266"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: /// FIXME(JakobDegen): Probably find a way to unify this with dice_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":"dice/dice_futures/src/cancellation.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc6b475d07c3fc53fcc90dfd7d2ba65fd1f1e42dbe8b4cb0cff68628cd0d6d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(cjhopman): It\u0027s not clear that this matches expected rust behavior or that it\u0027s every actually necessary. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice_futures/src/drop_on_ready.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dae8d88c37fc633c490581700f8bec440c0d44b1366989632637de1b552c2d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): It\u0027s not clear DropOnReady is necessary. If it is, we should probably figure \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice_futures/src/details/cancellable_future.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d312fd46e23f4a6fd1a972cd21c6a9d628710b67aae0103f14d735ee488af833"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): It seems like this is likely unreliable behavior. The intent here is that by returning \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice_futures/src/details/cancellation_context.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f019ad67d72f50791a8ac3dae9e5c1098309c931e8f027d6d58850d377c5a8dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): 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":"dice/dice/src/introspection.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5f279d8d0e50cc3a8c9e8f7ba1e38ee6b344729d4eb28fb23aeaee5b93ad41"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): shorten types like \u0060Vec\u003CString\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":"dice/dice/src/introspection/graph.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13d4cd5b80f9d18b2946cea3a0533fd10d8cc69b6a63d72cc50764083926d06"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): if inspected during the with_linear_recompute, this will be \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/epoch/ctx.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2f57cb505bb465fb6e2922ca7508eaa2f7f37d520635e0a09ce2f1230f4010"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/epoch/evaluator.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8daa08b1546648d200da93b00925fc3cc8249cb6538c8c5745c7d0005f2590"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Why do we treat nodeps as deps not matching? There seems to be 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":"dice/dice/src/epoch/worker.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"73db5547201794cc97a9d8c3f03216a079f12f55888ee842d656fe3ae7652bf0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): we could be polling this future, it might eagerly request deps more quickly than \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/epoch/worker.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da8ed700a2041fc8d83386d163f9f026e54d93acc571d2ed9d61d39e9a2f0e1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): It\u0027s a very non-local property that this is ok; in practice the worker \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/epoch/task/dice.rs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dbc72fc3546fd6b17772bdbdb6c32f31b585664acb419f0b3fa43e65e3f8c2"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Ideally we\u0027d correctly report the fact that this is shared, but there\u0027s \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/core/state.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"5886d25b64acfa906f8a02f48d07f5b1c5ff534fe082c93d516e199515d846c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): We should be able to wrap this in a convenient assertion macro. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/api/computations.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"53338021eaea9caac2dc795c0dbca293c613f111d18169d2f82ba14ee1788493"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): measure 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":"dice/dice/src/api/data.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0a2b30150db7ec1fe6cfed58848289d779c928c28aa053f959ee3d887441e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(bobyf): ideally, we want something where we don\u0027t have to use the specific keys \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/api/dice.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f3226209e012c2f9f691e627172f775888d765eb92d16443a6c13faf36bdbb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO when rust gets smarter about negative trait bounds and specializations, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/api/injected.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a87d404b2efcb1277b9ecb504427612d7fbd43bd8462a5070f0af267a3fb0cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO T187306095: we only check for existence once, because flakiness \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_wrapper_common/src/kill.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d494cb3b6f667841d574a3c25b537cc0a73b04274cf6e741488da4f27e9bcd3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): handle error 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":"app/buck2_wrapper_common/src/win/winapi_process.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59e3b27183fd338cca3a8ed4454847a42e86ac8a5acbf76ec1a00a797bac941"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(scottcao): Also run separate buck-out discovery to discover all possible cleanall targets \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_wrapper_common/src/cleanall/discovery.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea0ca85f3d03b366f0482a6fb67c47182b12c28e0a1df30bce715cdaf7d5f65"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rajneeshl): Promote the info! below to warn! when the health check CLI lifetime is better managed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_util/src/properly_reaped_child.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d2890965336603ad76bcd729421a5dc1eff615530ba922adab24f75342f26e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: sort without allocation. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_util/src/vec2.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aab52b828c7d8ee8cca5606b39c80b8fcb6af3b696858a587d043b0b0cab89b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: drain. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_util/src/vec2.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd015ec2813ab207f40337779de3dd1bc57b33e1799441c7b71c27b4bc1f3cd0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO libc::mach_host_self is deprecated and is not yet part of the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_util/src/os/macos/host_cpu_load_info.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfacc31621831204d43e43e4aef5091d42a78130245896a0aadea96a827294ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(skcd) should this be optional? why doesn\u0027t everything have duration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test_api/src/data.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2600642cc02041c621c32560df3a026c1eac1181dafff7bc14fe83b3a04949e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO need to figure out what this is. we can go without it for now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test_api/src/protocol.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b840faf7b0cf4bdd163c7927fdcb3e92c246885dbeac8a9851afa8379e4008ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (torozco): Should the --fail-fast flag work here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/command.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"485da85aa45d683c34ba71067dfa421519926a7b1e3e4ffa95966ff1030bc838"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(bobyf) remap exit code for buck reserved exit 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":"app/buck2_test/src/command.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fcc90c246ec123e44905adf23a43f465b8479e626d7dff0afc555ce483237c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(bobyf, torozco) we can use cancellation handle here instead of liveliness observer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/command.rs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58b980dab68accac8da99e0c3d2ba9c024d5897a5f89ddc6c713342142c7439"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: add aggregated error message \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/command.rs"},"region":{"startLine":1383}}}],"partialFingerprints":{"codehealthFindingId/v1":"9debf53e316bf66705890e8dbc301f910765c67bfe1ef2ec3a80729b967ee6e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is this right? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/command.rs"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"2963d35f9bb1fbb160917073da8b9b070d5e637e1b779e490517ca1fc78b83e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(azhang2542): Ideally we would only have to map the \u0060Modifier\u0060\u0060 to a \u0060ConfiguredProvidersLabel\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":"app/buck2_test/src/command.rs"},"region":{"startLine":1852}}}],"partialFingerprints":{"codehealthFindingId/v1":"69120853f3ccc7df00c3c30e135e5fa078cb184117d53dbaf4fc089dd1ba8939"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(brasselsprouts): use the level and hook it up with our superconsole \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/downward_api.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c9c0f856dd0d8766289fa3b183d984f1ea8c498db8822fa088ca7a718d52c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(arr): is there a better way to check that the output is \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/orchestrator.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cde2195b6f3a2e364155c56da9910a540af8b58fcca1540f11b7c847bcb3e99"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(materializer): The runner writes the outputs after this returns, so nothing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/orchestrator.rs"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20d02f0978ce59393981d3561cf74bc3218a8ff61b88c268e2dfdc0329bc752"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(materializer): As for the test command above. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/orchestrator.rs"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91b60fe4dcf0c376750378f4c184d68c349d6df45ce7e4199de8294055fd623"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(brasselsprouts): migrate this into the executor to get better accuracy. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/orchestrator.rs"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64886913e7da4d19e79c6a05c5effb4162f948b8cb60e92a97a047305385d54"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(romanp): The code below is not optimal. We are locking the entire registry here, but we could have better concurrency. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/orchestrator.rs"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5500ba6dc300dd04a322303ae78314a3a1522fff7ffe1e0066c0cde289252984"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ianc): Support input_paths on test workers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_test/src/orchestrator.rs"},"region":{"startLine":2738}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae473977e998088d764370d53cb547c2433d4f55cda014b1e30787f5e5558b10"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(jakobdegen): drop the fallback once fbsource sets this in \u0060.bucksettings.toml\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":"app/buck2_settings/src/daemon.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eab6755c7fa63df86b940a8dbe15324bdfc1b3d6970b4070d2df9857577a336"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(jakobdegen): drop the fallback once fbsource sets this in \u0060.bucksettings.toml\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":"app/buck2_settings/src/daemon.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f650273c19055c2d89bc0c5b380c88d68cc951cff6238b3a3ac05b7fb2da3a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(jakobdegen): drop the fallback once fbsource sets this in \u0060.bucksettings.toml\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":"app/buck2_settings/src/health_check.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"77524f8d2332c14733aa2349edab02c0c69bddf8afb5a89a79e97b0b6e9de892"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(jakobdegen): drop the fallback once fbsource sets this in \u0060.bucksettings.toml\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":"app/buck2_settings/src/starlark.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"433f4dec281f7c4aa814141334502332152609a5ca8b4030f11e496dc3b87384"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(jakobdegen): drop the fallback once Sandcastle passes this as a setting. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_settings/src/daemon.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4febce5af6a76a1ca705d1b8ee5a8481f6d05efc958085da67854d42b8dc13"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(jakobdegen): This configures the daemon although materialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_settings/src/materializer.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f7d2828f307080d9ad46b9ab83d2f790c432b20d797124755cac7afb3372d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): debugserver_types is pretty out of date, we should switch to another \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_starlark_debug/src/dap_api.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"724296bb31359e62144e052dc510156595ff617e07c1d4aee4b4c7edb39532af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(cjhopman): It probably actually makes sense for this to be a more general mechanism in buck so 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":"app/buck2_server_starlark_debug/src/server.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7ebc5ab09387f22b26290749a8e4a9f672932cdecc3bab486ef9795ec2a0b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): figure out a better value for the limit on evaluations. This should probably be \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_starlark_debug/src/server.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19437657a92c8dfd23f5a712a243aed7a76ea8cf39af973a0bef0acde6ca8d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): This may not make sense in starlark and could be a more informative error. Or possibly we \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_starlark_debug/src/server.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe7d8744b03447c66a723864370d9a9f1f6973a3f967a2a9eb744df014e6247"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): whoever called this function, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_ctx/src/target_resolution_config.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdffe7669d02db13e58f4042941ee6f52f88597ef0bc41626c4b3ae643281f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: This is called \u0060Result\u0060 everywhere, we should probably be consistent. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_ctx/src/template.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ed2e200eda97088558ae8a70e367d95f4ccfe14869cef64bc49d670ad07cf8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should be reported in the build report eventually. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_commands/src/build.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd7dc0ffcfcc6558414e52290fa8d57204941b635967f1c54e44e6b892721ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: make it work for OSS \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_commands/src/explain.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3961126be34d3564825453b8f2fa495d9865a3a8e35fda6c8413da973e3d4ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: deduplicate this from whatran 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":"app/buck2_server_commands/src/explain_code.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81f59d6f2fbcf63a652f932b191ac0d32114b7461bf4bc5bf18efba963abbca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: one by one and serially is not very smart \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_commands/src/explain_code.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de0a7e60adb7b570561c64cd824cd94430f8050a9cfbdc0c7410e229175c510"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO report this correctly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_commands/src/install.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf07fe9d28aea1ee6cc49013bd59b48d2f5df4de90ac18db1e341ccd01753cae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo(@lebentle) Use for now to unblock exopackage, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_commands/src/install.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b3b7432d8a37ae4e3247d47467fac1540c312073c1f9a19c43a44e750cbc26"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: The random unused tcp port might be available when get_random_tcp_port() is 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":"app/buck2_server_commands/src/install.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"52109165d121e2f8e32f71d37e5c318209af92b9a34170a3f9913509e81853e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: choose unused tcp port on installer side. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_commands/src/install.rs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a9cde1f0b0d40cf0076e0248ee05f87d29c9fe56244e75d334087f918f9b97"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): We\u0027d like to return more than one error here, but we have \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_commands/src/build/result_report.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"502cc4da2c61db1cb3c0ba3f634e6302820b9d8551c8d1bf690119f601c485c5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Only one non-action error or all action errors is returned currently \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_commands/src/build/result_report.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a103c1d9aebe1c7f8c6d4d4d75969b6670502f160420ce24b70adfe93c52eaae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rajneeshl): The MacOS low-level API returns u32 for the tick count which overflows \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/cpu_usage_collector.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1182c66f7de1afcf0df45f08e3d15603ece1992482032659965be85c1a29b8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): This is wrong, since we might fail to add symlinks that we depend on. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/ctx.rs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c1bf0da540c1b3678db92b2fa8fed95ff40cdad26b99e44da96f9ad74b6fa0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(swgillespie) - This only covers the normals since Buck2\u0027s event protocol only allows for 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":"app/buck2_server/src/ctx.rs"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d76f79edd67d685e58e7cf9168c7dfdf3b34c0978c3fd82c7717d27cde81ed"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(pbergen): Setting \u0060client.id\u0060 through buckconfig should be rejected in favor 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":"app/buck2_server/src/ctx.rs"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8386c587d4dfacd26a260119bbf95adc782a33c2dbfa2962f80dbd29671cd47"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): no need to buffer 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":"app/buck2_server/src/ctx.rs"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84275c96d5f76e1185d282650cd74eebf1974439ee1c3066cb9f2cadcab3170"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jtbraun): consider making this one thread per daemon with registered heartbeat/snapshot \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/heartbeat_guard.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"127bf7499edd9bf2bc668b4767aaf5d33f06df4b5171679b948053309b92decd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this checks binary architecture, not runtime architecture. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/host_info.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"086612ba2693cc793be6fad4c0c35d732e2f7df67d495add1d4d0e10298fee11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(raulgarcia4): Consider moving out this file to buck2_common, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/jemalloc_stats.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70f41b9255dd78d451576f9db0e752200f3ec77808992335d832852c3ac74a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(yurysamkevich): properly detect device type using SCNetworkInterfaceGetInterfaceType Apple API \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/net_io.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8983dbf65dc6b6427cb5b20160101c8e1530c65a79c8f50b0a215436dcf69a11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): This should probably be a global limit, otherwise simultaneous commands may \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/common.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"810513ce53bb9d34b064edcf9c3bc01f5e2543163cd406a520eb6d3525644a1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(scottcao): Narrow down what metadata we need and insert them into the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/disk_state.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a85755c029360f3da150aa213c3ead8c1a6764d22d6479fac37e11938b4ed0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // are worth logging here. TODO(scottcao): Refine our error types and figure out what \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/disk_state.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5cc2738777e01d6e1e2bc97cdbb46b0ac275957ef7992d8d8d0ab801ace9fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(minglunli): I\u0027m not convinced we need reject_identity for incremental state. iiuc, this is only used by restarter \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/disk_state.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a308016b588daa3fe3aa3920e0371c8da06a9b71935b2b37766a5f68b285d72"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Figure out a reasonable value for 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":"app/buck2_server/src/daemon/server.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad53ca89eb042017c879a972c43b269cf878d6fbfab4a14dfe3f76b81f93ba0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use the PartialResultDispatcher instead of writing events. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/server.rs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f583f4cfeb5784f1a8f16fb75e998d9042f056fc0d740bef741f66d94a68a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ezgi): add it to oneshot command 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":"app/buck2_server/src/daemon/server.rs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d18938c0f578aafa43f0d6e74734696dc346e2109f187894dd77e71357eb70"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Figure out a way to dump all of them and not just the last. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/server.rs"},"region":{"startLine":2107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a677ebc4487441c0b716ac7cd9192abb59bb0a372cbd0189b2effe14db2c9e0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): Emit some progress. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/server_allocative.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a479d86092866c375e002837e193ff30e0dc6d4dcdaaa46337f2397a7a60f54"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rafaelc): merge configs from all cells once they are consistent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/state.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf337ac65fbf7428c7b9143ea26d2f2a429d0281767a19f1a6680320341f56b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(bobyf): Eagerly sync the file watcher here once the DICE commit panic is fixed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/state.rs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"636b3ba8d13d1f331efc2561f37d0e1fd33f85c07505b77ab8a3ad12a7c843c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(scottcao): Delete this tag since now hash all commands is always enabled. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/state.rs"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda972820f3b821bd398dfd25bf483357abfcadfc868031b4f82119f47b9df09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(minglunli): Errors here don\u0027t actually make it to invocation records which should be fixed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/state.rs"},"region":{"startLine":2438}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0a2ee9e932640fee8c87d76ce80cee4d357985e4765c144755089f24a0636b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): A proper drop impl on the id would be better than 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":"app/buck2_resource_control/src/action_scene.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f882bbb80bc0840550b7c15af0f0a919c94739c52a975932f24da4615d088802"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Is there something we ought to be doing to ensure this is \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_resource_control/src/cgroup.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e46c5caa8523db5de122145677c97c0ad6ba1dddb00dfdfde91f3d0d36b84da"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): This isn\u0027t really a good test, we should do it at a higher level 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":"app/buck2_resource_control/src/cgroup.rs"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abe4aa8c704ba3653e9571a8babb6ebda681310325cac06092c37a07f238c96"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Ought probably to have some types to represent the files \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_resource_control/src/cgroup_files.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"291ef07ad3233100f19616ae8a69912c25dd65e6908d909307ccc6f45d934685"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nero): Reset memory peak \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_resource_control/src/pool.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c35d41b08e32278997f282d88a31d9d4b051139ae434f4660c716e3f9f0029"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nero): Kill all processes in the cgroup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_resource_control/src/pool.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c389211ee602a4ce2694bf6a06c3d427d83fb0629552a864577c069c3ca3db30"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: /// FIXME(JakobDegen): Is having a single value for this enough? Should we be averaging over the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_resource_control/src/scheduler.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b2a6ae2e9084d13d3ae45c52e8a4b56f87e8b858916a9a4c458b42339e2701"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Justify this a bit 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":"app/buck2_resource_control/src/scheduler.rs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd30b87b9eea974844a0a97b098cce341fb21b8da0fbb316837e39992c4d0e2"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Replace with more appropriate columns \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_resource_control/src/scheduler/event.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e91bb80ffa81a92cbde65e197450306d5b1622181af0cd80fa66d4c7d1cebac"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: 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":"app/buck2_re_configuration/src/lib.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"99764924ac8cde0d51837a5cce251927bf6a972e189863fa1b4d72c9ad2ac91a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: 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":"app/buck2_re_configuration/src/lib.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"b439a11a6ee4bf3ad4b435ac2ecb174c471d81ba637c035f4b41d4e1b3e211c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Add \u0060LET WORD = expr IN expr\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":"app/buck2_query_parser/src/lib.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"31da8b82404ce50fbde37ceb0c5c1e98d7d2241a6a298b08172fa8b89823f95c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): We should switch to our own error type here. VerboseError doesn\u0027t even allow us to construct \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_parser/src/lib.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ae4be8add5ee59d70ef5c611a56a6831da71969e0346d031316a0b87908778"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Do better error message conversion. The nom format is rather verbose and references 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":"app/buck2_query_parser/src/lib.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"05137e50809cd4d3c1733dddffaf5bf4ea7f3fd995d47a71ad15c25bbab45366"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): This assumes that the input is a single line, it should (maybe) handle multi-line inputs. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_parser/src/spanned.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ef343f8294b21f0a2ca73d6e595dd39ac5d99268165d352fcab109b5340378"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): This should cut off the beginning and/or end of long lines and focus around the 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":"app/buck2_query_parser/src/spanned.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b774c9b86bde51fb32bf065653fd1a0fa51fdf8913d9ca4a6c2454a15fdba9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Consider using annotate-snippets like we do in starlark. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_parser/src/spanned.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc43dabce3df91fd973d458714f3c086f967d0dca999d9f9af8a3c9736b1d63"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Providers in a query target literal should be an error, at which \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/dice.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4681cacd9c215124502a4bf6c9b9c2be21b30e5b1490b6885f9cae26c3f49dff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this should support configured target patterns \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/frontend.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"52015bb0e3a5b3ab69793fbcfc02af1f700f91805f1e4340d7489a79818f73c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): working as as cell root is not right. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/uquery/bxl.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"87327db6461057e775d0bca55eccfea5cc08b298f94f2707e93f05cd7b1de7c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): working as as cell root is not right. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/cquery/bxl.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bca7b3356246af0e75920ed28f56ce4d561e67ec386aa5c9bb89517e70a7fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// todo(dbarsky): instead of having this be a trait method, this should be implemented as a uquery-specific 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":"app/buck2_query_impls/src/uquery/environment.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"899d81302adf6ba96d2e618cd079662476632a1d22c6ba7ee33a104bf1ea9ddd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: no longer use eval_build_file, just parse imports directly (will solve async issue 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":"app/buck2_query_impls/src/uquery/environment.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65705863e39cac56af5c8ed11a0dfd0889d49189a553246d7a91c7bf80913bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(benfoxman) this is actually unnecessary, since we can get the imports while traversing. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/uquery/environment.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fcb10ab3aaf50f5f09fe5cd9c6385769be5836865ff6e9476ee1926d76e840"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: right now we assume non-buildfiles are bzl\u0027s - we might want to handle error cases 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":"app/buck2_query_impls/src/uquery/environment.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b24189dd130777e16edd5e87acf340c6e914a0f37c45a3a39501f8fda80b7ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: no need to get all the first order imports prior to the traversal - we can do 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":"app/buck2_query_impls/src/uquery/environment.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"459dc085fa11317515cdc01df7117f5bd6f23c217d7eb92ebb7a40043c10e8ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jtbraun/cjhopman): Resolving a \u0060TransitiveSetKey\u0060 to its tset value takes an async \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/dice/aquery.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec1c40784b81d56cec04cc56d56c87a9f63fe20b56e62715847a3b38f074582"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): This is a common pattern and we should probably pull it out to a common \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/dice/aquery.rs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"be73a1d256a3cf6e721a781e8d8ad5224e42796476b94d2a8869aaf0aac1adf5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): BXL \u0060cquery\u0060 function does not provides us the universe. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/cquery/environment.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7245b50a5f9a0f34a96be22625f4611435d2a39dd674c392bf4394ee969d76"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): do not compute the universe when we don\u0027t need it, because it is not 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":"app/buck2_query_impls/src/cquery/environment.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25902cab8cb12c416c3883e6a263dbf707949589c998b648a1e34922cdee214"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): fast lookup with depth 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":"app/buck2_query_impls/src/cquery/environment.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43217dd642e349c3d31d0389050bdd4366cbd30b51e351cb9781780316cf8ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): fast lookup with depth 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":"app/buck2_query_impls/src/analysis/environment.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c789ea34f7dd4cee27b418558cdb2a39f061816f5e02b566a3afd27a837a23b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): We should probably also resolve the literals to TargetNode so 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":"app/buck2_query_impls/src/cquery/evaluator.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5b405dd5f073497ccb33558ac5e7b74ff8c1d573ac8032211961c452ae17a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Using the default resolution for recursive literals is inefficient. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/cquery/evaluator.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf90a50cad6c989cea2c994ec1d9c3cc254ca33cf791803ae70c3afb54dee2ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): See above. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/aquery/environment.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb863d2f8812b55113e55c5210d3a216631850d25bd7743d923e79d2f6b532a5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(@wendyy): If we\u0027ve iterated over all build artifacts and still haven\u0027t found an exact \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/aquery/find_matching_action.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d2d1d57e0cb6eeaefd24614bff99353b48ab5257149b6eb606056fa90fa91f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): We should probably just support iterating over declared artifacts rather than \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_impls/src/aquery/find_matching_action.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58c2ed4d49425f0e7be3f8b6eca7430973da301d5f2fd35ae8cbdfa7259d528"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Maybe this should be \u0060\u0026mut self\u0060 since we only need the one reference to 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":"app/buck2_query/src/query/traversal.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ce04c3e74b56fd9d0a5186fe5042f6de29166f5be87a86809fb332db034576"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Figure out how to implement this traversal in a way that has good performance \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query/src/query/traversal.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf42afcf327c8ac0bd9924685c64c33c00b1d13bbb7018637a2edbc0dca878ec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): There\u0027s a couple of things that could be improved about 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":"app/buck2_query/src/query/traversal.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbe051cb0d47b22a8da006c8b23b9593f37604ca6a7307e3aebc09f7fde3807"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): FuturesOrdered/Unordered interacts poorly with tokio cooperative scheduling \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query/src/query/traversal.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0712b6bdbb5aa12c1406d5972b4ce034b40fe5bb2e50eb0e71a91634f969f3b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): FuturesOrdered/Unordered interacts poorly with tokio cooperative scheduling \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query/src/query/graph/graph.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9c55eda9c5af173ca23066cacc26022c8033ff61aeb699379ecf04c06f0666"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): FuturesOrdered/Unordered interacts poorly with tokio cooperative scheduling \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_targets_server/src/target_hash.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9dc253b8457917a2bd43fd9c574327a835ed29a9bfc5e6c348337af61f7a9b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Accept a generic iterator for the roots. We need to iterate over it twice and it\u0027s only used with this specific iterator so it was easier to not be generic. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query/src/query/traversal.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8bba2729a63f76dfba27c7015935825f4b99d43c7cd71d54412c0de91ad235"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): This is going to drop the backtrace attached to the error, we should figure \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query/src/query/syntax/simple/eval/error.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3413fe1fe2f27ebee2e57a3831eb8b4a7578e42e88af9973b9177c5f86110f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): This is going to drop the backtrace attached to the error, we should figure \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query/src/query/syntax/simple/eval/error.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd13dbd3d892b61d7dfc56ec1fcbdf364922c36a21310c7c3ad053dc10801e47"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): We should extract these functions to a map of name-\u003Efunctionobj and attach \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query/src/query/syntax/simple/eval/evaluator.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5df859f06859e1855dd77301089f8e03d35240a60546abd151937c3fa350c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): evaluating the literals in this way does not preserver the ordering from \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query/src/query/syntax/simple/eval/evaluator.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"be67b036be15b0e9f7e63bda2c4f8f3c137612ee90eb6009f2aba97f24a80d67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): should be \u0060[30, 10, 20]\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":"app/buck2_query/src/query/graph/graph.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"5772277fc079536670768217efccbc290901f3769470ea059da2fe1a43849b65"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should this be part of QueryEnvironment\u0027s default impl? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query/src/query/environment/tests.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"1709d1c8dde91200024fe33741f2044b5cb71a7bbef61f35505ed2392a059613"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(skarlage): Symlinks are weird on Windows; this crate won\u0027t actually \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_offline_archive/src/lib.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"20480f9e9bdb260b121e3e0c727de85ab30ecca1f694878c7e335904e0cdd819"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jtbraun): render users the parsed value, and drop this, once the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/modifiers.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"452ba8d8725ac17deb7affa36c2f60bc112b441e465f267f22c26a8d6c552b48"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): There\u0027s a lot of optimization opportunities 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":"app/buck2_node/src/nodes/configured.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae47d60d12a89e99331d3c47d129475be3e90b4c107d239b863f733019a510c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Should this be a diff against the node\u0027s deps? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/nodes/configured.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e4b96a8362c350e7f17723811c31609ae65b920e58adcefd922aba90b256a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(JakobDegen): Consider saving some memory by using a more tset like representation 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":"app/buck2_node/src/nodes/configured.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84c10fc19693f637e8035f5fa52d6ff0657d1a8695cbc504690230a199313e5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Should this include configuration deps? Should it include the configuration deps that were inspected resolving selects? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/nodes/configured.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fff3590da619dbec25ee8bf796a7405aa840124d55b90bf8a66d745965cdd3c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): switch to for_each_query? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/nodes/configured.rs"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad17f3b82e632fec59714b84cb4d6896bf94dd43ba876ca47d6308804b26f062"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): we store hash here, but we also store hash in \u0060dfs_postorder\u0060. This is redundant. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/nodes/configured_node_ref.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbeba9360c126b6950f980c57d8f696cf3af7adf079c4f6577e16c28180ae45"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: /// FIXME(JakobDegen): This is kind of a hack, we shouldn\u0027t really be inspecting \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/nodes/eval_result.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"438d60b33ed228c7f30a637ca3e92e69260610df12f9090c62033db2805cbbd0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement our own equality here that preserves ordering \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/metadata/value.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c22527bc10358b6b3c11bda2256a97049ca0656df92849ac899efc39d25ff29"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this is inefficient. We should impl Serialize and derive value from this 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":"app/buck2_node/src/attrs/configured_attr.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d1220599042b7608e8cd5c7ec694f5d86ceacb57897c9c19c61670ec0dbd80"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this is inefficient. We should impl Serialize and derive value from this 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":"app/buck2_anon_target/src/anon_target_attr.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f578be723b9ee1f85683690d6a1dbf5b0aa7c97e44137b0f08389bb0d6f025b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(jtbraun): tag errors with \u0060ErrorTag::ConfigureAttr\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":"app/buck2_node/src/attrs/coerced/configure.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a090084fca9827ec7a34d33e4ef9b14fbc36bd789eb84119fd9ec3b6160ce80"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this should re-escape values in the args that need to be escaped to have returned that arg (it\u0027s not possible \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/attr_type/arg.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"50875aabe62586704ad9a3913be14cc85ab411c15898f828fde54a9e306f5fa2"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): This can\u0027t actually error, we need to ban it or \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/attr_type/dict.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f12cdee02d900dbbd8e1bf4746c551808aefd2c41acb4948dd6644834ea514e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): There\u0027s a lot awkward about this definition. IMO, we especially should remove the \u0022unquoted\u0022 arg\u0027s special \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/attr_type/arg/parser.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd1e9c5755ff642462584836c6e664ca97b8e1386545e27a00319f7887e8299"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: that second case seems like a bug in buckv1 and it should be just a single arg. We\u0027ve preserved the v1 behavior. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/attr_type/arg/parser.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"4322c4e8b6736619ea86a0b0f9fae95284828a5d9f4ccc6436fe4e464947759a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fixup escaped things. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/attrs/attr_type/arg/parser.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"46412a83cc608d8aaa0493a0c19e3329fbfb8a3935f9a2060614f850a7e666c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jtbraun): fold these parallel vecs into a \u0060starlark_map\u0060 \u0060Vec2\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":"app/buck2_node/src/attrs/arena/storage.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"b038e4a3a5e50b59d2988ad14ee830c9ccb7bdccfc6f638c487d66283dd4be19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: With float counters this equality comparison seems sketchy. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_log_common/src/chrome_trace.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd1fbcd8da18e01dcb3c60641e58e4eedb4880ee7a1806ad7fac04d76638472"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // \u0022method\u0022: materialization.method, // TODO: convert to string? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_log_common/src/chrome_trace.rs"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"51830983657b7408190c6e297b02c4e0ca22289be2baa89a57e66ecf0983c417"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this test require imports extractions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build_tests/src/tests.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff87f6b1dee48825210ca4776a3a8137f998582b0c71baf4e9d95f146826896"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this test require imports extractions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build_tests/src/tests.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91033dc24ac62ea04f364ed2f31af92d7b2b8948d0942940e078b99a1080177"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nero): add error for 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":"app/buck2_interpreter_for_build/src/rule.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6679b81fc552ad52ee71885dbe9f131f3e194e0aa2494ff6eff1f1fd676083"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO consider if we want to impl eq for 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":"app/buck2_interpreter_for_build/src/interpreter/calculation.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff5687c1548902a0fbcbbe9064c24a311830659910e2e083b3f0fcc2de4ff17"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): also ban single dot. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/interpreter/globspec.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd33cb7c7bd149de4cffa20f53e40e167ea2490c6b5e6a7472fa9f19179d9f73"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): pattern \u0060*/[bc]\u0060 is parsed as glob pattern, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/interpreter/globspec.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7bb6d4faf72617daca64c4d0b74819d9886906a158b0ace6bdc1bd3d945a2c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: We should have case sensitive globs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/interpreter/globspec.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9b63e4eaba10defa6a1f5dc5442f9212772b88588afbed23fd8d75572c75d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): This is a 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":"app/buck2_interpreter_for_build/src/interpreter/globspec.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7d0072a88cf9f9ebf5ded89ae2918d89ced8b07fa4d5df408f46e6ef46a496"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // globals. TODO(nga): add API to only freeze extra. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/interpreter/interpreter_for_dir.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f619ad23f4864c105f73e59eff54b04f8c17ed642cfe0c70495639cc9660610"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Let\u0027s make this an \u0060into_evaluation_result()\u0060 on ModuleInternals 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":"app/buck2_interpreter_for_build/src/interpreter/module_internals.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"580e114747e440ee56a1bf8accc781384bacf3d9c00f169b7f4953f51237bb0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this does not need to be fully starlark_value, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/interpreter/package_file_extra.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"684b3bfe6a4396e8fb73ec53144b5ac4c6b76eb6730d8ebb796f1c665e5e9749"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T245559941): change the default to recurse=true \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/interpreter/selector.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bfbf6b87f52fe458f6f57c0f952278252d35c9f46dad949d1fc9ae3d353135"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): drop it, and only use \u0060regex\u0060 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":"app/buck2_interpreter_for_build/src/interpreter/functions/regex.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff95a9e31b2f7a182b3c9bd58f2d48e92fbd89e0fbc968dbe49efa5901d6b7c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// \u0060MemoizedCoercionCtx\u0060. TODO(jtbraun): wrapping it in a \u0060MemoizedCoercionCtx\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":"app/buck2_interpreter_for_build/src/attrs/attrs_global.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2814a326f759e9d80c388bc8edddb092c6c77427276dfa0380d81ff1c8996332"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): require positional only for key and value. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/attrs/attrs_global.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd7550d9d5c6d2da63a26f00157050ed605373fc98110369f5de7a440481183"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): explain how this is different from \u0060dep\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":"app/buck2_interpreter_for_build/src/attrs/attrs_global.rs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"2445d15f6206a17e6bb9a2aa968d5f64a1476b0fd9ee027d913f46206606a819"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): the select() function itself 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":"app/buck2_interpreter_for_build/src/attrs/coerce/coerced_attr.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"83dd0fa98a8288ddc9bbb16166a45821b21f728ac65fe40c0f0d0ce8d2cb8359"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Selectable addition (__ladd__ and __radd__) should perform \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/attrs/coerce/coerced_attr.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"940f30d8ab09e9f23ed298b298e57ebd91f383dc64a66aa53f767f66e14ecf27"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nmj): Make this take an import path / package \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/attrs/coerce/ctx.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9971ee8d31bf11cdb9ce8d643e80e92eb79cb1effe5e68b1a57a34b47c499f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): A directory source that contains a subpackage should be 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":"app/buck2_interpreter_for_build/src/attrs/coerce/ctx.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23e0d34980977338fd48a3676f368eb657084dce5339ddff61c56be02f5fea8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): A source file that is not in the package listing should be an \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/attrs/coerce/ctx.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"066f23fd3da84af80706ae2748b88b3b2782177916354817e69fd3a6c0aac53c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): errors when args aren\u0027t the right size (too many, or separator for non-separator query) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/attrs/coerce/attr_type/arg.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf3a36c7b353359405f89e41f05e754fe9aea049c879f19ebcfaf263f5b800d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): anyhow error creation is expensive. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/attrs/coerce/attr_type/one_of.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"265a7d5a360aabd4bfd5ece6956a51e4d1a21cbcce5006255eb329c036f79e0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): anyhow error creation is expensive. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/anon_target_attr_coerce.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec4bf03d4617b035544b1eb4b26c2db15eec140e211fdb5a55764fe74b647fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): We could probably parse the pattern first. This would likely at least give a better error message when the query contains a non-literal target pattern. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/attrs/coerce/attr_type/query.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67d1979c01b6f59aaf6c28c488a90d21dd4873587729742258417484fefb881"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): It would be nicer if we could have this functionality be \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter/src/factory.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63e8affa610dab2923034d849c5593be57d69dd6e0e862b549b2225939028bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(benfoxman): Don\u0027t need to get the whole module, just parse the 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":"app/buck2_interpreter/src/load_module.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a6dd1c29ce74554be3f937aa3dd93c3b98b08dcd923ae9d97de03b09c29dc3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should we verify the contents of the 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":"app/buck2_interpreter/src/parse_import.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64d9a3923255a1995eafcd052749e2bdbe4c7c985d0ddc576b9a9aa8cf6aaf2"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): \u0060join_normalized\u0060 is always 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":"app/buck2_interpreter/src/types/cell_path.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"216901aaa5b6f492626382077ec1822a57b2ea101166f87998f57ffe268da0f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): remove the \u0060Label\u0060 alias. (T264813434) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter/src/types/configured_providers_label.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7b872083cd062076fd9bfd7bc1282f2b9c3f11bf213d9dec006bd301da4234"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): should use starlark string repr. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter/src/types/regex.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c44b246c76e7b1067b263a7a622b7f969aec46e6f293f28c9b7b5643947364d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): must be either positional or named. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter/src/types/target_label.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c097e61f9c29dc66d824009a84632777977afefdff284275d9a78aae2325140"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): must be either positional or named. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter/src/types/target_label.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"40351b339ae6159697950c5391a4bef3685ab084e5008af2ffd4edbbc0869983"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): must be either positional or named. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/output.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdc44e4250351c1de25ab86340ae2baeead46644537d61eb69f404c2c1e1a8a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use \u0060tokio::time::pause\u0060 to make this faster and deterministic. Blocked by \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_http/src/client.rs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"719b609cd1735748cb4212b782c106e84cc28160cbada1e7d0e72e8b445282d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(skarlage, T160529958): Debug why these tests fail on CircleCI \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_http/src/client.rs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16bf6cd720643eeb0b4e416047a77162feb49bc40523201531aba52f3381c5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rajneeshl): Remove this when the health checks are moved to the server. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_health_check/src/health_check_client.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b808c65ad0854d7c95058be18b9e32be201b9388e8f750cd5c09a603c647f321"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO check network health to be sure. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_fs/src/error.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3780acc71c430c6b5ef0a9d850c579581eb55dfc678af123748c5d89557091"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T144443238): This will cause issues if the file type turns out to be directory, 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":"app/buck2_fs/src/fs_util.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cecdc8c4404331229214cdbed7a3c81812745b7c98e2459603c93716d6911e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// * TODO(nga): normalize slashes on Windows \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_fs/src/paths/abs_norm_path.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a639d5980d60a141029f7da20e386107ce221720704d5a884e024e1bfe8a4be0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// * TODO(nga): validate UTF-8"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_fs/src/paths/abs_norm_path.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc19d19c8fc29732e637a1c008def5442645e52d8bed497555d82d4ae3f558e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): behavior of UNC paths is under-specified in \u0060AbsPath\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":"app/buck2_fs/src/paths/abs_norm_path.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6bc856752e0618e226014e8f2c2e393904597025716f52640a4ea67c68be69"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO maybe we actually want to allow \u0022.\u0022s and just \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_fs/src/paths/abs_norm_path.rs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"c863d28b2bf7c28b2762c75b57723e08c31c8aac58c1c0643f31f1ba38706848"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this accepts \u0060Path\u0060, but should accept \u0060str\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":"app/buck2_fs/src/paths/forward_rel_path.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c4cee252668121b2adba687edaa0f60a37d5a1cd3ae529eb03b4b346bb06b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: \u0060PathNotRelative\u0060 and \u0060PathNotUtf8\u0060 duplicate \u0060PathError\u0060, which describes the same \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_fs/src/paths/forward_rel_path.rs"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c95b7fc03e4fca1b36ef4568e9468081933afbf264209a6f2a3ce412a3e60fe"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //! FIXME(JakobDegen): this type was lifted directly from the external \u0060relative-path\u0060 crate as 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":"app/buck2_fs/src/paths/relative_path.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"883ea46aa1443de41455afb2d00a560cc01f0e24cab59888b792cbe6bb5267a5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Track symlink targets \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_file_watcher/src/fs_hash_crawler.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a578285e45eb9204e8c0cee3b968daedfc50c0dbe9914e6848d6e807189759"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): This should not be 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":"app/buck2_file_watcher/src/fs_hash_crawler.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0e7be912290ad0d02acf4c636799ac46c9fa1ff51f52e0b535d060e26a4c80"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): This should not be 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":"app/buck2_file_watcher/src/edenfs/interface.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"e051aafde0b1c9cb57627d65b619495256b0329423ea6aaad36cb1c14da28dcd"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Clarify if this just needs to be kept alive or can be removed? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_file_watcher/src/notify.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacb79db1043c3df9d53480cf66e6e8d5ec789ce5da0121ce10568dcd6a36d78"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Figure out reasonable timeouts. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_file_watcher/src/watchman/core.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"062815d7481b4c40a70241b9f3038bbac1dd988b8edf70c43a45495144c153fd"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Add comment explaining why this is 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":"app/buck2_file_watcher/src/watchman/interface.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf0254b873ad51e815c7e7181287a082ecf129887622b525477f20f49f7ca3a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): If we find we get a lot of value from the invalidation tracking 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":"app/buck2_file_watcher/src/watchman/interface.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdf413b1b18b15e090695d4e95564b1b722f9cbaa2b0a8a88fdaae2dc6953a7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: /// FIXME(JakobDegen): Consider compressing the data \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_external_cells_bundled/src/lib.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"346ebec2dc0a6dc110e78df86886c26365000ea24491926699b14d649d2b67a0"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Ideally we\u0027d use libgit2 directly here instead of shelling out, but \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_external_cells/src/git.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1691303d08b0587a960f3e6ca4d1c2402bc845fee9449ee9a006caf1320bff1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Ideally we\u0027d be able to ask the materializer to just make a copy \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_external_cells/src/lib.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d22ce14c7c7810775684500597132af4aebf13ceb2d800e4c5d71c75363945"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: make a \u0022printer_for_explain\u0022 for attrs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/src/flatbuffers.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"4522898c20765a7f1315e7669867c70b082a1e13366868b0502829c0b9940d2a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: make a \u0022printer_for_explain\u0022 for attrs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/src/flatbuffers.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae39a7451d0cf205b0abff5b80a6bb8731462c2e9a3f3fae84f9c7262ec245b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: make a \u0022printer_for_explain\u0022 for attrs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/src/flatbuffers.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"198fde97a44c02cc16bfe13b0e85ca8e5450a5940c859883801a38ed180134da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: add more interesting action fields e.g. duration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/src/lib.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"570f368d69a2dfe8c87669decbb28de43f3289f3e3b5d280b87292f5474cff9d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: write and upload concurrently \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/src/lib.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a74001ae8f1455452ac045b59c6131fee563e1a296d8c2ec8a117442174237"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: decode blob 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":"app/buck2_explain/output_format_js/src/App.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3ac034bb97c7f9e9e706c159189639db314cd8d707aca117c6d4fdb65f2bc4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: decode blob 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":"app/buck2_explain/js/src/App.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e87943a84d53eb26c201e3808f1d86ed2c3fb8b8bdff3f0a847dfab40e19b98"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: just show 1 target for now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/output_format_js/src/App.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"741ca7740e5ee4188cc532954d7f43777e1f2eccdab440698e634fe303bc1051"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: just show 1 target for now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/App.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ceb360dcd104e2a6f03a79ac01a7ab4f1d97d9d49ee29f9b81232bdde302e6e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this should show a loading sign \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/output_format_js/src/graph2/GraphView2.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"28214625cd19675d9c4886add1bc48f2e193a061da35a6914d5fdea7252af51d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this should show a loading sign \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/graph2/GraphView2.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e87698e12172e362541210a9c7189dec2dc8344cf3c6e5a2feb47d22e9ea2f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: filter this out in rust side of things \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/App.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cedb1ee6cc4674f937510eff2bb18510bb5eaf9699214fa58401dc24463597"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: make it work outside of fbsource \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/Target.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3425c1ee721963805ab5a43e359c20145dc7f4c83b746aee8c7f385432ff9391"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: make this in a js worker \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/flexSearch.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"047c05e238721d8a9612ef5b8b8da9bbc1efa9f16ab5e5f832d700d06b505fd5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: make it match whatran \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/graph2/GraphView2.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6c69f2f2c4b0efffa13301c14b4c32811d79c484f52039136cea01a36ddd00"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO @torozco: report this in the event log? Might be verbose for little \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_local/src/status_decoder.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22852901caa10b6be05d0378abe36e102ca0e64fac6e323cf172f631134047a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(minglunli): Properly handle this and the error below and add a test for 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":"app/buck2_execute_impl/src/re/download.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f429e3a3cb400c3aed6c7be7f280c7c6c7dc5dc3f564fb5a20b7855b439910"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(rafaelc): aim to replace it with a simple mutex. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4d4a5f2a1b354db2fd44fb36819d5a5d4c942d50c36c2352497aa36a8cab87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rafaelc): get rid of this tree; it\u0027d save a lot of memory. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a941b2781c4b2e7ad461ac80cc9b17d2791a790cb4626b31097ee9041caf61f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: display [materializing] in superconsole \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred.rs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefffb2f415cad59e770151c0928c0b718b29424cf9771945e70348946c00477"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(scottcao): Turn this into a queue of pending futures. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/artifact_tree.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3425dce19096478c1bbd8a07d55b1b375d03917cf9d278d8eda339021a5354b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (@torozco): A nicer API to get an Immutable directory 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":"app/buck2_execute_impl/src/materializers/deferred/artifact_tree.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"20dc7cdb9fcb3d09c0d9cbc8d989de976953f0d8a29438e1d0280ce6c159cb84"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Do the write directly to RE instead of materializing locally? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/artifact_tree.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"27886b20bccb415a6c156dfdca9209ba83fe8ba83a44930b3c427d4ef5e09460"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: also record and check materialized_files for LocalCopy \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/artifact_tree.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4dbf1274de1e5b8cae7c9ef922c0f9df9e6283f5c0b32c8f912a8b589a3520"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This probably shouldn\u0027t return a CleanFuture \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/command_processor.rs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3c61d1d340106de31186a72d418a77e5bb4e20568d4a6043eddf3854c99220"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): rewrite without recursion or figure out why we overflow stack 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":"app/buck2_execute_impl/src/materializers/deferred/command_processor.rs"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"76566d6d58037886525a7256a999aa10c770ddb869e717b83baaf65fc11dbdbd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (torozco): Why is it legal for something to be Materialized \u002B Cleaning? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/command_processor.rs"},"region":{"startLine":1352}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fd313f581609a20540e719db205993edc70c1d8d43553b90804b6587d30350"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(scottcao): Once command processor accepts an ArtifactTree instead of initializing one, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/command_processor.rs"},"region":{"startLine":1573}}}],"partialFingerprints":{"codehealthFindingId/v1":"873e94735ec6bc550bd056b467a6ce53a822b3caaca97fed5dc66fb8cb05cd27"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(scottcao): This trie is not implemented properly. It should be merged into the directory trie \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/data_tree.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15fb126e08783bd0c781c96437ef089dce082aa5a23f465036e5e98a9ca28ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): figure the meaning of remaining. Are these bugs? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/file_tree.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7eeb7f372782b97ca8035ddf7f0be0d1d1cece85da1ee479f89c6eeeb073add"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#503): implement this"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/action_cache.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac1080fdf8b635f531f99a4cce2701d8622f576fc63f88fd58def15d6314bc7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#503): implement this"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/caching.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5907435b475d17b62ee4e91ea467deca5d4eb6bbf782a2c325ae91ec90d9bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(bobyf, torozco) should these be critical sections? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/caching.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"c224a3c9dcc83892590ef10c0240ace22f9c3b4d37cbeba0e2a1a4a3d0739592"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Release 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":"app/buck2_execute_impl/src/executors/local.rs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbb3511ed8ba6a6d519b5bb10dce47499a05b82e0890d899ca00b83625b7c26"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ianc) We want to also create symlinks here for projected artifacts. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/local.rs"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6db39470f92ff81bf845740af4dbec4e36d7e8a7a3128c9cfbb7554aa7fb25"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: something similar on Windows: T123279320 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/local.rs"},"region":{"startLine":2049}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7919c76e311896111dcecbed246a8aa6c7163ea9dd9ada8a64cb30f902c5d23"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add a dedicated report variant for 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":"app/buck2_execute_impl/src/executors/re.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbf3ee556f4d0413aa8427294b83d5045b82e985f5073faf12d402a9d88db99"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(bobyf, torozco): remote execution probably needs to explicitly handle cancellations \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/re.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"2914c174f644be12cae0fbbf4decdf016682ca56987616b3ef62369291e2f391"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ctolliday) this should be a new failure type (worker_init_failure), not conflated with a \u0022command failure\u0022 which \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/worker.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34f2ae0f5b59ff58433c94183af9e2ab2ac16982864cbb765ece1bf8646b040"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ctolliday) as above, use a new failure type (worker_init_failure) that indicates this is a worker initialization 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":"app/buck2_execute_impl/src/executors/worker.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"321bf98632e44511bd5322ef63685249717635090e8b6becc975dd1070838b03"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ctolliday) delete directory (after logs are moved to buck-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":"app/buck2_execute_impl/src/executors/worker.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"334a9ec2054452bca44e66ea475eac85be74838788cae9737a9fa38bdd166089"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ctolliday) put these in buck-out/\u003Ciso\u003E/workers and only use /tmp dir for sockets \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/worker.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b24211bdca0de38829848828bd6f1121149051acf7956a12d648e0fd462763"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ctolliday) T153604304 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/worker.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb87b3519932590d61acb5a32f36ef58ad80c807acb926245e3bf17bf5cbeb3e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This seems like it normally shouldn\u0027t need to be normalizing anything. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/artifact_utils.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"493b8834e0dc3118d0f7b3167869e4d7c567b450835930f3338aa9f3d1138d0d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (@torozco): We could improve this a lot by sharing() those entries in place when we \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/directory.rs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7588ab18db4c3d93857bc2eb44121d4cce6657c56c35705c9ddb69782db8737"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO make RE report same value as estimated_queue_time_ms, switch to that then stop reporting new_estimated_queue_time_ms \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cdf015f406800e78e4edfba266fdfd1348def5ac6fcc9db5ec0b1d7bba8371"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ndmitchell): For now, we just drop RE log messages, but ideally we\u0027d put them in our log stream. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"862aef73404ccdfed3c58902499abc2fc060387a3ed7d995f096554afcfc243a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO T179215751: If RE client fails we don\u0027t get the RE session ID and we can\u0027t find the RE logs. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2af460fa0ff95bbf076b46ebf25558c79136c45dc8b332c6c3627b0606b2630"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: figure out what to do with priority from \u0060meta_internal_extra_params\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":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"038b315bdc549a0e1ae2977555e3ccad4309357d80a1c5b227dc6a703342a680"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(arr): use batch API from RE when it becomes available \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"61de3a3a3994afd585588e31e955558707c7e458ed1aa515323c1f14625fc38a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): implement in \u0060allocative\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":"app/buck2_execute/src/re/manager.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b605e59e190638d77ac7ab16f628c41a713fbb24a7675959b06162e250ff8d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): While we vend out Weak\u003CArc\u003E with this, due to the way this is stored/used on \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/manager.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"8928b9b527f419d5fd772ecffcd1b212a21b897c9e5f8757b2bcaeb9b40c44d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Better representation of this. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/uploader.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56f605975d6432fab7f19e554647a6ae8024e81917f18fce6b030b82f0ece3a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(rafaelc): analyze if we can get rid of this method without making \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/materialize/materializer.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da501a998a8f57d3126158c7f39bcb5647c18c57a1992dabaa611b5d1a804f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO[AH] Ideally, Buck2 could generate an argfile on the fly. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/execute/command_executor.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf34a05a4f305640d9601b2f0861e1b681ccb91d11ec80c171a2a54870218b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (torozco): This assumes that the existing remote outputs we have the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/execute/output.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"36811f2da66ff71d85c5ab906b410cb4daefb93a02adf78c0b03ea9519709a56"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We should rename 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":"app/buck2_execute/src/execute/result.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b7e06d5377ab2644a7ac2186f560fe60a61c59758b7b87c365e5a2f524d52a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(swgillespie) actually implement suspend/resume \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_events/src/dispatch.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef0050e2c0d193219c120f170c159c15beb1ea89c238a3a6a236926078b9872"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(swgillespie) actually implement suspend/resume \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_events/src/dispatch.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"728bc4e814ea08a75df6e5d8213803e2998e6612ba202d8c21b5b122b8af314d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is firing millions of times, needs to fix this up before it\u0027s made a soft 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":"app/buck2_events/src/dispatch.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c26c182de3bfdc97c187dc7daf0ba83cc117e3c240108785122137e6c9100aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mufeez): re-consider adding recursive calls to event \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_events/src/dispatch.rs"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"939524bc6680c038750182b793812adf34238f4f1d981a1c4c80f9c8672c9bb7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: consolidate with buckconfig \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_events/src/schedule_type.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e42ebba20c11a4095520dbcfad6742b94083b2218ee0c4bad9389582d17c57d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: ignore these errors once this shows how often they happen. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_events/src/sink/channel.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbde91d8fa8e938d2f399bbb833ea5ffda63cfbfab08d5f75db2e903853e1d2"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): The sum of the per-field limits adds up to more than the 1MB scribe limits \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_events/src/sink/smart_truncate_event.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcd8e14829a956b5a5534c381c16f2a07260c2b20c5663c4366d28518dec49d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ezgi): consolidate with InvocationRecord creation at https://fburl.com/code/c8iitvvy"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_observer/src/action_stats.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee45b3cdd244bf6320e017394381e0acce7f1ec35b1fb9ebd654591e72502cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(brasselsprouts): move this onto the original core types and convert in events \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_observer/src/display.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4d1493249ee43401898475baad129f08b948f638cda18ad76605438c0595e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(raulgarcia4): Add some in-progress-stats for http metrics as well. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_observer/src/re_state.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbe420919abf096ee56c71ec3b08c02e808b23a5d9eadbf5fdb1e1d1fd17022"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: the \u0060env\u0060 command and \u0060shlex\u0060 quoting below is POSIX-specific. How can we best support windows? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_observer/src/what_ran.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14b0fdf1596bb232fc58db8a10b79efdc9a4664f1400e18265c065dc50aa794"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Change this API to just produce a 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":"app/buck2_event_observer/src/what_ran.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f29813bcde4e9f2bc24c9d62a9b453156319a8baa105ce1d0c037afeb70c9a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: this should be done by parsing file header \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_log/src/read.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"6534415420228945eb9d9b40f92ce8eda7fe52bdaf90670caf059c89e196cd21"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO T184566736: detach subprocess \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_log/src/write.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"059a13ec7a8318ab90bfd6434418019ffbf8cb12710d6e6a3e721a2b3715bc0b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// %\u003E        for next line start with current pattern again efm-%\u003E           // TODO: we don\u0027t support this 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":"app/buck2_errorformat/src/efm.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d0404c0c580ea9270ad02305e9401d686389f01dee5dce25851c279c488c3e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(minglunli): Check how often Win32 Errors are actually hit, potentially do the same as POSIX \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_error/src/classify.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fed0f009f1d49b5494bc5038b7f25ad4114bb769c7528655f7bee0741fe317f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Make this bad experience once that\u0027s available. Usually when 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":"app/buck2_error/src/classify.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"669f89edd3ba2ad974e4dad5b59a8745e523c4c4c888046ec0154e080db03051"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(minglunli): We could take in the CallStack type and do some magic to make it look nicer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_error/src/context_value.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"507e56ca1dd7a35badc2c7ddd8344da872626611549d76a8d8e6ab5eabd9a999"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): \u0022Implementation is not general enough\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":"app/buck2_error/src/error.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1c3184b99d33c7a6d5edeb934f845c34cc50492f06188735276918cff898dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(minglunli): This is used as an intermediate step so Native errors are categorized. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_error/src/starlark_error.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4996c9367c742fd7fcfc1cb530e1d4b424f5889379d8e5fd9525fb30f28e5872"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ctolliday) convert remaining 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":"app/buck2_error/src/conversion/report.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03d520752538b920fca6e71bb8d1c369ac681599795c72a63ee1a824a71b916"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(JakobDegen): Use next diff \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_env/src/env/registry.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"375813eece1baab435f0acca7270d4cdcb5f7f8978f1e4a34c4f43b72cea7f0f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(minglunli): Hacky solution to check if Eden errors are cert related \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_eden/src/error.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5edc7b6e3f4a26ad48edb52728b5a729913189f79454210a4073a889eea960"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(minglunli): Look at data, if this doesn\u0027t happen in practice, enforce the limit for all IoProvider \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_eden/src/io_provider.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37b252abbb7ba1c8c6515fdae9edf3fc22c44e503f1a0a732c5c35fe2319dde"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(minglunli): Can remove this arm if Eden Thrift API is better and stable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_eden/src/io_provider.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b491f0c528b58d777d2f8d1afe30f9132735bfde4bae9198922714ebc54e97"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): no need to create \u0060ctx\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":"app/buck2_dynamic_actions/src/deferred.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"220596d5c3ae29a4d13724f759af76fee2a7e20c011dbae4f43778d83e72a332"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nero): the type name is not aligan with the registered type \u0060DynamicActions\u0060, fix 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":"app/buck2_dynamic_actions/src/dynamic_actions.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b5ff2fa08e8e149ecdf33c13b6e547e7b7a598fb617857241db36bb6190778"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO consider if we should have structured log instead of a String message \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_downward_api/src/lib.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b0a0f6ce512ae52a5c40daf8266a5019c64712f16c10bd25764204d3b058c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO map the StepEvent and TraceEvents in buckv1 to something. Maybe just a single trace event \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_downward_api/src/lib.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"515d2003cdbd4cf94819eb15b0a2d6e6e14aec81c798f92ed7ca835f551a148d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): We should reuse the initial value \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_directory/src/directory/builder.rs"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"687d56add2353abd1f652e5ed599e349273fd7332f8811160e05f1d4c465c6f0"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: /// FIXME(JakobDegen): It\u0027d be nice if we could account for empty-directories and non-file \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_directory/src/directory/directory_data.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d9ad95182a790ce368e317ad2af33586158e0c9be5010374f5ddabd0c41db1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this breaks relative paths in \u0060--no-buckd\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":"app/buck2_daemon/src/daemon.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8ee7390c55c2dafd5823a2c59b8e118d94fa747e0c1b2006b8d76163b14e8f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this code is executed after server daemonization, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_daemon/src/daemon.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a58ad571c87830cbc0eda6ac2fd020c646865296c7690fe59d4e923f6b0f45"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Daemonize is pretty un-maintained. We may need to move \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_daemon/src/daemon.rs"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4dcf46bd2851292ae4e07938fe6eeed4dcd1a1a0e3ec7ca97388ae1ae4f73b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Interning is overkill here, this is never called with the same \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/bzl_global.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8aeec904c5fa2a998cc86660d29d691cdd48b093b47097b07fc2abfc69e457"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dcssiva): remove CategoryRef because Category has a cheap Copy \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/category.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ac97b5e41b4be2919c6d4343586e0ed5e0b8bbcb7abb3aa3effe159954eb68"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(bobyf) we need to check if cells changed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/cells.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec39dcd920b1444e75516bb80c5ff50b8c2121e6ecf030c85444b16aa2953c62"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(azhang2542): Replace with \u0060Modifiers\u0060 struct \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/global_cfg_options.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"03217e81bad42c71e12b1639b711f047b99b0fb6acea8a44a5580682019db48f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Whether this interning makes sense has not been re-evaluated since \u0060CellPath\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":"app/buck2_core/src/package.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c47fa22f507104f731d7cd5d5b3f2e74dfc30875232be73613ae94bd9304a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(JakobDegen): Representation with fewer allocations \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/plugins.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2fea55416aa4cb4ba24a815229a1f263f21311c54166eeeacf391485e776ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(scottcao): Use get_shard internally \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/rollout_percentage.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82ccd1dc2ef21ab39d621250a01565974a7dd2752bf73629e4c75b180995512"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO intern 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":"app/buck2_core/src/target/name.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a992faad6abb418fdb816f6525ef7d8449305c311b1b3e15c0598817f6f69b1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): \u0060,\u0060 and \u0060$\u0060 should not be allowed in target names. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/target/name.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4d7a30ee7e75184090ccc7100eeeed656568a7fe4060607c015a7255ffac49"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Would be better if we had a Display on self, so we could produce a nice error message. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/pattern/pattern.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac52820e67781fc562431d39cb1624f39d013ef3068ff0923d5b960aeb4b1df4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// no allocation conversion (TODO make ForwardRelativePath a no allocation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/package/package_relative_path.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"141e3fb9ce16e6a73311d74cf1e67bf3632eed305bd58eb883d049cced4ae9f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// no allocation conversion (TODO make ForwardRelativePath a no allocation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/fs/project_rel_path.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9978cab652848e4ba6b869a60104ab26634fe614be44514b23394a544fa724f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// no allocation conversion (TODO make ForwardRelativePath a no allocation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/cells/paths.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ab416944a5692932857f99df1981581bc97a56dbe3ba07276de9a850765517"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Should this be a crypto hasher? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/fs/buck_out_path.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c28cc9c9055624b8ebf6fb2c33116d5ff8793c784e1b333a41738448485cc7b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this does not treat \u0060..\u0060 correctly. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/fs/project.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"9645cad296a2dfb8e33b4df9fc675783f8fa1c9ac6f4909a33eaae93d820ea94"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): refactor this to global 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":"app/buck2_core/src/fs/project.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1bfcd820ee04c79d1341ff8bf6b934fb150db50817ce7400f5818f16f97774"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): refactor this to global 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":"app/buck2_core/src/fs/project.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86b9409d54e4f61627df2bd3bb431bf6495417215df5a7885ccc995f367a77c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): refactor this to global 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":"app/buck2_core/src/fs/project.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"955ff9949f6baa28a02490c9529ae82cbc71988b320d4b481efdcbbfc5de27d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): refactor this to global 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":"app/buck2_core/src/fs/project.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"25470d9ddadd0d5939b22c721eee732912353d2e1ab0f70d2a34ab39efaf8c50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): refactor this to global 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":"app/buck2_core/src/fs/project.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51fc698f064a1c42544ff5f8e9daf765e2013651e5b661c6f80733745699365"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): refactor this to global 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":"app/buck2_core/src/fs/project.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a3ecf934cb759bafa58502341d543cab9d340e0d91d14e09ab9f743cc10e52"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): make private. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/fs/project_rel_path.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"35591a159b7cf6459a9f70bd6121b9855aa19710ff9f05bee2f97cab0ad74763"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO need 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":"app/buck2_core/src/fs/project_rel_path.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d485f26a13cc59c8d65976e9d139d1e34d2c48ae1e3e4b39ea74a22cea75ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Should this be an buck2_error::Result and never return an invalid configuration? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/execution_types/execution.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c03c155084dfb27fe6ba4858e011261887cef140dc82ed1943c5d9e986d27c6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(ndmitchell): We\u0027d like to have some kind of user supplied name/category 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":"app/buck2_core/src/deferred/key.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"095be9de7dca2b87ee9b403448194fdae8cb523c2d33d64114cf3ff832535ec9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): restrict more: label should be either: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/configuration/bound_label.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cb7b40bd40d29c170a9a4d823daa262852e5101a9e3e0254c0e6bb2c74b154"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(scottcao): Delete this once we are done with migration and made this a hard 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":"app/buck2_core/src/configuration/compatibility.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"783bd5e6073086b2723ccb774f245e25540cfb5d71767444c97366422e43e6a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(scottcao): Make this into a Vec\u003CConfigArgumentPair\u003E for more structured data \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/configuration/config_setting.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3d8416de89d139028a31cf6f6a00d30e1ee7c93525ef1b63b3ba8979f8f860"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this can be done in linear time. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/configuration/config_setting.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1279813f1ae89af73a8304c6ea10eef4db1382186a550a722360b3c9852e08e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nero): remove Option when we migrated to unified constraint 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":"app/buck2_core/src/configuration/constraints.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a737bd6652db426b2b65fc8c1c3400e46ac93dfced008cbd1d09cce04ee780c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T198223238): Not supporting platforms being supplied via subtargets for now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/configuration.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"548dde6cfce2afba1b901895471e0121a3f743d156605fbb77255a470bc13826"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman) should these be comparable for caching \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/execution.rs"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93e794f6ab515db782a43f627a99530ada85778fe812e2df46df3c8040a2db6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Should we report _all_ the things that are incompatible? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/nodes.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a50fefcd3383ffd660e93bab44523966a28fa418ddc22987b2813a38af9e05f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Report all incompatibilities \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/nodes.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80b2571c503e30a566bed019e181e85c67230b7f75a70e5bd96536cd4b4925f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Why is this an internal error? Doesn\u0027t it indicate an error in the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/nodes.rs"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c5340f67ff621f69c55a51ff7945b927cec7a498091709d3f2d56e96827d8f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Should we construct this (and similar buckconfig-derived objects) as part of the buck config itself? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/target_platform_resolution.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"944aaba903a8c92148d0b4ca6f741e7ffba10b10bdb036bd493f776a00a355a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Consider revisiting that approach. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/target_platform_resolution.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf280407b872b76e3fe1e39da52c472923276723e1f9402da094e43fb9cd15a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): This needs to implement buck1\u0027s approach to determining target platform, it\u0027s currently missing the fallback to buckconfig parser.target_platform. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/target_platform_resolution.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ff98d9214e906b0f70287222cb67fcf3abb484f8aa4319fec6c097c90294a2"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): This is busted. Callers of this function expect to need 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":"app/buck2_configured/src/target_platform_resolution.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce292ac16ad0bcbbf966404aa8e18ee61bad2b329299963157f537bec2cc653e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Write a test for the above. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_configured/src/target_platform_resolution.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"435a935cc771aa129061481bb909f3b7d83c67f74f440e7291e4f4c3f94da3fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nero): Remove NoneOr when we migrate to unified 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":"app/buck2_configuration_providers/src/constraint_setting_info.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a0f45b90182d293e92a84727891f412c434e22ed31586250845786f347251c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Clippy points out that tracing won\u0027t know when this future gets \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_concurrency/src/lib.rs"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3850447f467353c4538aba4e1670700b50da527cd87dd0517f15a332ba92195"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This times out on open source, and we don\u0027t know why \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_concurrency/src/lib.rs"},"region":{"startLine":4617}}}],"partialFingerprints":{"codehealthFindingId/v1":"9275a7e39cde741ce44afb4fc703c870639058447b95634fcb46b0f72caeef66"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove Unix support a week after D40394826 lands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/buckd_connection.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2988894488a69babee636154f2b9a80ed1ee12d0de9d23ee36ae8b8f8e1f1b7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Perhaps this should be represented as a (DigestAlgorithmKind, [0;32]) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/cas_digest.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ed75e405eb2093f15680668ccb2f6c3ce0492a119101af5bf9a6d640fa36f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(cjhopman): We currently place all buckd info into a directory owned by the user. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/invocation_roots.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"9237a0442b043d44241549fdc40c1bbe7625376ea4bdc77cd258c2efc63f09c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: We should probably remove this API: it\u0027s a bit of a footgun. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/liveliness_observer.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"45efd91666e052a7115d9553382f8234e0906e86edf47e8b5c3df84853be6d74"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(swgillespie) the \u0060jemalloc_ctl\u0060 crate is probably capable of doing 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":"app/buck2_common/src/memory.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f15363b612f92691331d66bf85ac1a742d9949b0a29e772f05e46420aec61f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make this work on Windows 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":"app/buck2_common/src/sqlite/sqlite_db.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"314d06ba3adf138d2ec32b5fa269860944824b574178baf889d953902be50992"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Convert this to a inline defined stream when support for those is good. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/pattern/package_roots.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8029d4f9b14316fbd297f26b62ac03eda17193b361ad804074ed147964cd9af1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): We could probably figure out some form of tiered semaphore and tokio \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/pattern/package_roots.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"830c0b8c7743f9545a30d2f55384371052df61315171049f76fd01c491b93f8e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Ignoring this matches buck1 behavior, but we\u0027d like this to be 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":"app/buck2_common/src/pattern/package_roots.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0728ab11c8cdfdabeafa63e03b2d2e5a4c381fb6053a95ab56d3cffd1a0190"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //  TODO(scottcao): Add cell_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":"app/buck2_common/src/legacy_configs/configs.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d759de4c5fc86df5f0ffd543876fdfa87575f116481f303af1fd7ceaa5b312c7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Error if someone tries to read any of these from in dice \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/legacy_configs/dice.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4191c4d9b8732ac98e2059560e145849374a140160a8ddb791adbaf269dba4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): implement \u0060buck2 help-buckconfig\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":"app/buck2_common/src/legacy_configs/key.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85aaa2faf9343e5bae405e8ccbaf85139722e7b1a9c8ef3aaa18278a418a3fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use %PROGRAMDATA% on Windows \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/legacy_configs/path.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77fd9f334fb6b732cb0682ae8589a31864138d9e85ea31a6ee198718e532b1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Should add support for escaping the call, I guess. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/legacy_configs/parser/resolver.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c17e75ffd7147c23ef0d5495a7efacd0ea1aedec6c8c9505737b7d08c26f9ad"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Remove the \u0060unwrap\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":"app/buck2_common/src/io/fs.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e6c292dd6e5921a12946be6b04f3abec4aeee69bb8b2f131aa748d4fa6c159"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): The \u0060relative_path\u0060 crate has a misbehavior where it pushes 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":"app/buck2_common/src/io/fs.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f9918dc8d325fab4b861e39a04419d007dba58514045e33b70c75f0996aaac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): There\u0027s opportunity to greatly improve the performance of IgnoreSet by \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/ignores/ignore_set.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"93baae3c4588319125543c792f90a387f2807c994f9fb52d2cd4812073f26fe2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(jakobdegen): once the repo is clean, undo D128645602, which reads ignored paths anyway. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/file_ops/dice.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc52a60e1375741b96175888aa55e5c6956b61bdcd48df472b5b4509c15cc60d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(jakobdegen): once the repo is clean, undo D128645602, which reads ignored paths anyway. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/file_ops/dice.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"90278fc49a28d074c065307e6913eb7d335b778a354e867a02d0cbc0f584c140"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(rafaelc): we don\u0027t need to normalize the target anymore! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/file_ops/metadata.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d1512fa3b045ea3f13196c81ebb889a7055648a5074f11909571821681b86e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this should accept \u0060ConfiguredTargetPatternExtra\u0060. And handle the universe. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_targets_server/src/ctargets.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c03682f89759a7830f9049e297bcf1969fbbc265af3ece3ea25a12caf3fea8f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (T126181780): This should have a limit on recursion. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_targets_server/src/target_hash.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6b24661101184c021b63b6a2a643abc8d623970b84b583d9a9d08d9aff7d4f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (T126181780): This should have a limit on recursion. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/artifact_groups/calculation.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"6affd9e0dac6421a6c0963c0ed3bcecf28096d57a2fc0a43eec021f6496f1bba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): return 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":"app/buck2_cmd_targets_server/src/targets/fmt.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c81f9e1433d09b385cd8a21f11355d6b7764d63a5449c758240920561d7e85d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): the client just hangs at this point. We should probably error out (or \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_starlark_client/src/debug.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a515f790d15970e21d79c14d1c32e13266ae467e651d7873e013b1c0b2631d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: remove string_data and int_data \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_rage_client/src/rage.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"8373d6a2654dfd3a1c6858c29e07ede2d2bfdd89cd983abbfafbc1558a1f33d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(swgiillespie) scribe_logging is likely the right feature for this, but we should be able to inject a sink \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_rage_client/src/rage.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb21a2e67c42916967d04d8af466df3ce3c22823a6a97dd1411dd37f7582bc0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): while the \u0060dot\u0060 crate is probably too opinionated, \u0060tabbycat\u0060 looks nice and is \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_query_server/src/dot.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f7f06d8fa7ea1fd876e69959a5cefac5b622830ece8b067a1f128c5f932dd5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: add attributes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_query_server/src/html.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"636a011f65afe04bcd64ff5d28d431e88ba11864e014659df56c5d9f8717abaa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): buck1 does this really odd thing that a multi-query that requests any attributes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_query_server/src/query/printer.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38118a68e4838c20c5e3c5bfc06ad4325745ad1c6100658d0f3fe4597db80e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(yurysamkevich): add number of file changes since last build once availbale in log \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/summary.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"799c7a92790032c9b8cd0326f741f1ee21295c28317dd2ccfcea0d01f9921e32"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(yurysamkevich): split by RE platform - mac/windows/linux once available in log \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/summary.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d601aa5c20ab4815b1ce649f0063386c06b12e7ba77e7c40a59b9303ec7a063"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ctolliday): use the worker_id as the \u0060identity\u0060, and add it to worker execution events. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/what_ran.rs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbd9d86341701bfc4734cd3c6d54e76f9190181897b9654bff611d85283f5e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should receive the path from the caller. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_debug_client/src/upload_re_logs.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dca3e25de888832e1a88d443a78913dff161654b6e71708f9b18879be8338d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Remove after rollout \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_completion_client/src/completion.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"df214eebff5a241b52138da00099cf34ff61fce2c7f1a47eff3deeed66db26d0"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: it appears that this might silently swallow errors; would require a PR 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":"app/buck2_cmd_completion_client/src/completion.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"6889ed053f2aabc075cee9504a01cfe14dbf1cc7f746d463419e0e7e018f0282"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): We should try preserving error metadata 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":"app/buck2_cmd_audit_server/src/providers.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f57d40c907749c2fe1709591a5b31255f97c5c645af34726551b54e0a7b9bcb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(raulgarcia4): Extract function where possible, shares a lot of code with audit providers. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_audit_server/src/subtargets.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0185a4e5cb5b2d1240c003c0b6cf679024c2b6b6a0a94c103f5554eea17fe58c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(scottcao): Add --show-targets, --dot, and other relevant 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":"app/buck2_cmd_audit_client/src/classpath.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2acdd42b4b7df656285f4921707a7e090d57f65d41694b31bfa0ab966188b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This function should also return tracking information, so \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/argfiles.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72332324cd4e16daf4a13bffed65864622415139ce9d46637ae0483f8917c4d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Checks for normalization for historical reasons, not sure \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/argfiles.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f4ba53db4bdb360c590bf8ed1e94f72bc83cf9d25af059427eb0a7583d4843"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Don\u0027t canonicalize \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/argfiles.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"e005cb63d341f6cf330fdd0c7d3d008e0e5bcec214f455bb2be876c001d02026"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Support non unicode paths? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/client_ctx.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0cb81b360fafcf94fd64e8eb05f04ae83d31f85496d906cf861aa413c50ee5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Why do we not make this optional? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/client_ctx.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8370e5718be405b89250983b2a25cc3cd26b5ee5aee94bd2d776debe93b750f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): hardcoded default, should at least use the same default buck2 uses, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/event_log_options.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"70908e75000d936cde7a1e091bee28f854f9321b0308cd5a684acac2c65bbe75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ctolliday) disabled because quiet: true appears broken for client side soft_errors. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/events_ctx.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"d978b2a08b0611300616b50b725285a078c673343f95f40e198889f92a2a8161"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this is not a tailer. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/events_ctx.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7896566894e7150325609c0fcb102f78efbc21603aaeba8eb0df2d111a52029"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Don\u0027t fail the command if command report fails to write. TODO(ctolliday) show a warning? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/events_ctx.rs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"682d2f49fb577a4b620a99537f165b3bdaa97d3c3a8130477ba93e4df9d97bb7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(ndmitchell): Deprecated since 2022-09 with nothing driving the removal; delete 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":"app/buck2_client_ctx/src/query_args.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"85955b19550b1a01267977cf493f5f34335c79d2a1ad6f5bf1c45d52b3bf03d4"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: move this into client_ctx \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/streaming.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a597748c375400725ac610a75cff73e1afed274278ce9dd0f43c8c1a50ffb0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): currently we mostly ignore buckd stderr. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/event_log.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"219e9e806f19862a34d7b7561dd7f6d5b0a703470252ccbe357c4c9a1a92085a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rajneeshl): Remove this when we start forwarding events to client \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/health_check_subscriber.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"697a211d45e8d3e9d30f3237ff8332383bdc555584f221cf1a5ffaa805146815"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME this error should be updated at the source if possible, and not only in the invocation record. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/recorder.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafad1053ad90521d4094f1fa812a34bd4f1d582ba33965f87d11edb7980107a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): query now once in \u0060EventsCtx\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":"app/buck2_client_ctx/src/subscribers/recorder.rs"},"region":{"startLine":2600}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af2ea3e0bb62e16fad5ed9de5a0316c40eea70e9cc69da853ce8e1f3e0ce60b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nmj): Factor out behavior here so that handling ttymode isn\u0027t ad hoc.  i.e. write a method that formats text based on tty 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":"app/buck2_client_ctx/src/subscribers/simpleconsole.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b39f65af41b819b146078eeef49eba4d5fcf0f28359f40ff007d1220ff1aa4e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nmj): Maybe better handling of messages that have color data in them. Right now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole.rs"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57716d4ceda1a33c939a8cca808573dada48c026440f11b723c2d62a03acea0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (ezgi): one-shot commands don\u0027t record this. Prevent panick (division-by-zero) until it is fixed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/system_warning.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5de13e445e24104111d5ad1c67856ef17ce8f8fb2998e2143da03b98d90d6a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(yurysamkevich): compute average download speed in RE/HTTP client \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/system_warning.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89bac46d939b954fda41f70d5b567e49fac90c8891e355c9e3871fc4c329985"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(junliqin): Handle single words longer than max_width \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole/message_renderer.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c468b3e93714bd363c70474fb3fa44f1be73cf5554b8cd713df9afdda9562755"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(brasselsprouts): use the outer try_into conversion on Lines. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole/test.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9528620821bd7a3ea5f281600c5b262e083ab6d6f42d9f8dde38c25e75ebc3d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): It would probably be nicer to implement this via inotify/fsevents/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":"app/buck2_client_ctx/src/file_tailers/tailer.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3895de44beffb13967a72a07d9bcd7f9f762076c740fb9c20355f0672e8d2062"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nmj): We have a number of things that wish to use status() and return an buck2_error::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":"app/buck2_client_ctx/src/daemon/client.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"13339806215097319380dc1c4ca2b148b6331e258597a7051a706dc1a3386d86"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): check it actually spawns a process. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/daemon/daemon_windows.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"4933edd52bb96664b7d472f3511dfc1d99a91569dfbdee75af1271e6a0f76727"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): We create too many backtraces during \u0060attrs.source()\u0060 coercion. Can be \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/daemon/client/connect.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c5bf3957ee1a2d28c0887817f2afe60c8135f5bc387fb96454bf2a63a16ff5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): get rid of this variant. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/daemon/client/connect.rs"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"9834488e4915c944924b96fc19beeaa19758b27a5996097d598ac4bc0c90f6e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ctolliday) always hide connection error details/workaround message if there is a structured error from daemon. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/daemon/client/connect.rs"},"region":{"startLine":1915}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc13d3504258d64f56697ba5f325221cc9080b79f5cf8b72ff1262b26f53d002"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(minglunli): Look into checking for explicit \u0027Connection Refused\u0027 or something 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":"app/buck2_client_ctx/src/daemon/client/kill.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"897507a736f5e526ccb0267dba03e5284b5615469a1171934d72223db0bd532c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jtbraun): Once all old wrappers are gone, we can remove most of these safety checks on the wrapper\u0027s suitability. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/daemon/client/connect/linux_unsandbox.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1b039b45be114c525d04ef0316b27e5fa5531489342246670a3d97c0a31ed0"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Find a way to support that without silently accepting typos. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/common/build.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e78551bcf2e3881ccdba7979c3d57853ea3e42829249343e2f9772fd367bbd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): This only limits the threads used for action execution and it doesn\u0027t work correctly with concurrent commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/common/build.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0289b87e57636b0d0f3dcc9faf76c6827b756999b3ef48014622f757aa6ff68"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Why exactly do we not show the 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":"app/buck2_client/src/commands/build.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2ed9c032cbbd651f858f9512634c936dbeccdb51c9430ee80f7a9b4f4c9c13"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(scottcao): Make stale duration be specified on a separate flag so 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":"app/buck2_client/src/commands/clean.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"17403f3c28a904d17ff25b9b4c2cfd92a570dba7404d45c6480d0c536e3159cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: not sure I need StreamingCommand \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client/src/commands/explain.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecf5292df5b4faa37d13a1576db43806859a15ac8e27940f695809cc71ec945"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: get things like configs and target universe 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":"app/buck2_client/src/commands/explain.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"057d46a396dfcbfd367eae4050f24c258594573a89ba5e2d1944e708a1f330c4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO iguridi: add option to turn manifold upload off for OSS \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client/src/commands/explain.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69d6f720fdd3701410c03690f1649f2062f1ab4a365a1cecb35fa317b54b165"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): print special buckconfigs 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":"app/buck2_client/src/commands/help_env.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa326d5b9be1758b310816e66a304b0475a09c99a2c5862611c1770d8b3ed82"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add a doc pointers for rules \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client/src/commands/init.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e0770586a8b3e8556ce9090180083165e47fdb0890912e38e9c3c6ce309dfe"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Remove usage override once soft error is removed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client/src/commands/run.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8952c465914508c83bc9e8ea69a76a6b99ec27fb68e6698eae9f08c487b564a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rafaelc): fail fast on the daemon if the target doesn\u0027t have RunInfo \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client/src/commands/run.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b41d3066ccc2e5ccc6c4df49e8b229ab0663649c0c48027350be52f597bd15"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(wendyy): glob patterns should be prohibited, and command should fail before the build event happens. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client/src/commands/run.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae6aea38be49435a037903b6a677e7cfb676a7c00582716ba5688f6e6a6519b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe it shouild be supported 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":"app/buck2_client/src/commands/run.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf929ccb7227b3ba6223a5055ef73aa9cfef22739a6098eff97505eb42c363d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rafaelc): use absolute paths for artifacts in the cli \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client/src/commands/run.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a2110d52e5f0c1fdb899ee213b220f52433b14e64b9959ce616b0a0bf582eb"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): This command should propagate some error information back from the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client/src/commands/subscribe.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"8323ad747b6b9b73f51b1e9d184dd6ead2931eb73a5f9a94f42be58b42225a1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(bobyf) this flag should always override the buckconfig option when we use 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":"app/buck2_client/src/commands/test.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f5bd5e165880a97d9ed0c5bc2c7ec7dbedb16ac15a65a90115ad2f669667dc"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Figure out if we can replace this. We used to log this way in Ingress :/ \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client/src/commands/query/uquery.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9860c7c743d92f34f03b32def3b368e9b12307e3e63e43ad5ec1f3e4b78a2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jtbraun) drive these errors to zero and turn these into errors at PACKAGE/BUCK load time \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cfg_constructor/src/calculation.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bfcbe2729029e7de06b21ea1b0cef05affb4d88a2721ddf09d3a5ccdce85a4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(scottcao): This is just for rollout purpose. Remove once modifier is rolled 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":"app/buck2_cfg_constructor/src/calculation.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b978883e0e0a1288c656aec52a8c8bf01d60413353e15268caba2cfdcbb4669"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should eventually accept cli modifiers and target modifiers (T163570597) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cfg_constructor/src/lib.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc6b6427e1a515d665bb99ff6dac87834a5077eaf06c9714c8ea0d5b6d7f3bf"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): A bxl path that resolves into a cell other than the one it names 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":"app/buck2_bxl/src/command.rs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2fd3467a6d4220c02fa50dc13872666455d4a5265190dec4813639b9174c0e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): send analysis started/finished events for bxl to support detailed aggregated metrics \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/calculation.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05053abe7f7873bfea539dcaea0cc28c7e8622dc7815adfb4a98a289b2bf190"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Why is there so much divergence in code here for whether we created actions or \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/eval.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a4bfcf010b0ef7ae5a77529f1f123897d3213fddfa67372f1f889af74ea414"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: /// Overrides \u0060fail_no_stacktrace\u0060 to print a stacktrace anyway. FIXME(JakobDegen): Might be \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/key.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec6ca61c668f61dfc26fad743f1851638237669e1bca630fed006e729d12b36"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): Parse relaxed relative to cell root is incorrect. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/value_as_starlark_target_label.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde0c12f7c716c56888c1ad8febe0c121a0e866dcd78aee9da1e982472899847"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): Parse relaxed relative to cell root is incorrect. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/providers_expr.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"4201188c35318ada0ba861bacf545c7334373e37a32527c478952ccc1d4701a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): Parse relaxed relative to cell root is incorrect. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"164d108f0c64a75cdcd7896a987d6b3fbf84e83dfb98596a4a5f9c96fef85f91"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): Parse relaxed relative to cell root is incorrect. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"4daec21841dd96154ca47df6cc4a7ff8aadc8d7327ca0bb5316518c4a7b7a36e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): Parse relaxed relative to cell root is incorrect. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12eb7fccea46661be7a0200166385c9ff5ff082f3028ff75c45fb8da78ccd71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): parameters should be either positional or named, not both. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/aquery.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a4b9cc21e4b8fe2c18e50b236886385cd318cb8bee9d70e52077ca93c213fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): parameters should be either positional or named, not both. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/aquery.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"886b70da4b0b782575c2aa2b15eb9a8ca09837dc920d7d39bac7437be2bfb331"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): parameters should be either positional or named, not both. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/aquery.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7edfb97f81d27c37ffc2664da700eef005ab07234919b6bc3ee6513423fe43"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): parameters should be either positional or named, not both. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/aquery.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"77141178bfa7ae14504bea2bba92e4bb126d103bd3de086e25757c3f7fc0aa4e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): parameters should be either positional or named, not both. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/audit.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c40c64a64c4149f17d237f8c77758bf924e0531ee330bc88e45e400d1d9e6a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): parameters should be either positional or named, not both. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/audit.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"167ac5a10601eb63e8a30dd4bfabae4b03e8b1f8b6a244080f0628969fdfb2f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): parameters should be either positional or named, not both. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api_tests/src/interpreter/rule_defs/artifact/testing.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d640db64a73a90050594280e039e11fd2ae7711f7148392aaba10881d6f155"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): used precise 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":"app/buck2_bxl/src/bxl/starlark_defs/audit.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48f2d731bd17146fc6998ac9bdcf72a883fd567e9ce3b50a1352c4a9f1b79fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO maybe this should be \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/file_set.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2d26b79d93e49456f61c09968534d8b48dcf13aa53de2ebd881af94f8cf146"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO maybe this should be \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/targetset.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b6bdd90ef16fe9e1e71f00a3278b606e2db3fcb725be555ded14ddd8ad4670"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nero): add support for relative 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":"app/buck2_bxl/src/bxl/starlark_defs/functions.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a58c39376fac1179effb2fb87241e1c55ac88f4e62286d3f2c82df222abe42"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): This ought to require a \u0060BxlContext\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":"app/buck2_bxl/src/bxl/starlark_defs/functions.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b74f23cf97a36dcad30e24c86070dda56755ad67b3ec321bcaa9ea9a82ab791"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): add \u0060main\u0060 function here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/globals.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"475222fc2c796275cda2543ea39600a5d90f28b0fdde3e22fa4529ffb4e68a1c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): move these into \u0060bxl\u0060 namespace. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/globals.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dadb4e6a6de4d17052082300bcc9b699af73ba1af05a80b7423080d1d61da5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nero): implement multiline when multiline is requested \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/result.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1fd14dc48ed3b66d47601ed5344e3d637fb35da34b247dac80b1871d966767"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: /// FIXME(JakobDegen): The cquery callers of this should reject an unconfigured target 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":"app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c45b8c77c889a7dfbf30d770aa4037865a8894d09986a56fe41db6f1ab33a4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this does not accept unconfigured targets, so should be narrower type 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":"app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ee52a952f4ea58285cba0f4b15e7709d2dd7dfae86671a93d4029d8891b49b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Both package errors (_package_errors) and target errors (from the iterator) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeac254c60797e944fc78fbb8422d3fa2fa53d78f037befc98fe046977463555"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): These iterations don\u0027t run in parallel, which is pretty sad. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/target_list_expr.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"7945f2fe00b39034b788dbe4faabb1afa1141e7d65dd5c8c559521637de330db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): derive 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":"app/buck2_bxl/src/bxl/starlark_defs/targetset.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aaa684fe418ff79c6b32efbd9c670d0a9288c03e9e99fde8c450a7c4f48c46b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - we really should change eval_query() to handle this, but escaping the unconfigured target label for now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/uquery.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d9577ae281e5d9da83209372bdd733ada1e587357e9dbb236350f324490910"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO probably should be serializable the same as how queries serialize \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2917e0fae6b9270258de74257b3b93008814b9a17a402d09947e6b4ac15d03"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO probably should be serializable the same as how queries serialize \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/nodes/unconfigured.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad21684d4eb28407b71c4d8364841fd1e4cd30a8af66b35314b8abb98fc9f70"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Strings as types are mostly dead, users should be getting the value 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":"app/buck2_bxl/src/bxl/starlark_defs/nodes/configured.rs"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80e9b3983b2094c9fac1f6ba56182aa9ba109b76ebe55bb6386948a5fbb32b3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Strings as types are mostly dead, users should be getting the value 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":"app/buck2_build_api/src/bxl/unconfigured_attribute.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc14a3e1d191c899ea75e872c1ffdd3206098bd34c8e6dfd888cf6e62455a7a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): It seems wrong that we\u0027re structurally hashing this entire value \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/actions.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c2cbc2f8963e3d6b3866d734c3904807eaa70e464afed46eefca894cc3034f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): The approach here is pretty against the general model that we want. Ideally \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/anon_target.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba70cd695781440deb36d474147406a3b04ef607e7d5147417b40a3182248e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (torozco): support --fail-fast in BXL. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/build.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"cceb9d56aff1b31ba55852cc1024b0bdedf69b1ed9a1b0f83d61951176dcbc3e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO support skipping/configuring? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/build.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e57ce09055867425a42c7ea67aefd82962e72786c9729d6b61c90e77900896"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support timeouts? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/build.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"0511548a724ce3d525f7d8901227e04764650a82285ddbe7ac55430d80341d37"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(wendyy) emit telemetry, support profiler \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/dynamic.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f791c208dd2aa6fd5a8c534162a62ecc885576cf00c4548046fd8d2c672d0a2b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Audit that this string is user-friendly. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/dynamic.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"624b6bd63baee1d0629fd538bb6183478ef4cb11a55b44eb6ed6b8bc8cd035fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Why does this get the digest_config from dice??? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/dynamic.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"12382677d6fb7cc96f70586dbf99e97164d5601c34ef614d8112d9a0b7027faa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): parameter should be either positional or named, not both. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/methods.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bb0a5bdb37d9760d22221e5bc6d087210c8454a2ba0e5bc072f50ed210cfae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): parameter should be either positional or named, not both. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/methods.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1b824c5d4dff0880f7ac2cbf401115f360768a60026e393de83d424f758a20"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): parameter should be either positional or named, not both. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/methods.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0e3355a5cb2f57bda61dfa53a83272c64961330d2b9f71994b6dc52e7a950b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(nbadami,JakobDegen): This should support subtargets, but \u0060TargetListExpr\u0060 cannot express 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":"app/buck2_bxl/src/bxl/starlark_defs/context/methods.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"6debe0ecccb62c0f923f7e420cc678ffaf9b184daae4216a3610608269c97c5f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): these parameters should be either position or named, not both. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_bxl/src/bxl/starlark_defs/context/methods.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1b8d74a6d35051d540df4ebd68682e99ade50d401c983e2f318a6a2c876b6f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: /// FIXME(JakobDegen): This is completely disgusting, we should not store this here and keep 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":"app/buck2_bxl/src/bxl/starlark_defs/context/output.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2ff439ad772ac7075f31b2f6c81747f89b80c9ef200d68711199bbffb94bc8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): we should not be doing that 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":"app/buck2_bxl/src/bxl/starlark_defs/context/output.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccab1433a51d99dfc47d778be2a42524bd3741212c230991b18f600ba798be52"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): If data.duration.total.start() \u003C waiting_for_deps_end, we have overlapping entries. That should be an error (as it indicates that we claim 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":"app/buck2_build_signals_impl/src/enhancement.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb291f8fc4df08974170ab49bf051bf168cbb78fbbba13d5335ddb17c6a285cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rajneeshl): When Test listing and execution are on DICE, we can remove this and 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":"app/buck2_build_signals_impl/src/lib.rs"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f0435fc205da5575e018c63cf8d27b9072a8ce6bc1af34491bb2f858e17639"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: test restricting field names \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api_tests/src/interpreter/rule_defs/provider/build_defs.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4b4027ed840a04ed818136621595a3d01b23ef1fd55e4deb73b359d6b6a002"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nmj): Starlark doesn\u0027t let you call \u0027new_invoker()\u0027 on is_mutable 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":"app/buck2_build_api_tests/src/interpreter/rule_defs/provider/tests.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"852b18148c4ff2d18904f76f6a265685b6043db228764dd3abd5b905eff22d48"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Implement remaining stuff for this test. Creating tsets for tests is extremely difficult currently. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api_tests/src/build/detailed_aggregated_metrics/traverse.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"048096108d2e1cce2581c5bd361afca1025be41ea9803017950f00dff840bdbd"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: T85510500 Enable this test properly once we can error out on missing files \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api_tests/src/attrs/tests.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30fb1ffc68a9b143323ef5a8016e647b3841c0ad438a078bd949ad64d53c03c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is way too unnecessarily verbose for a 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":"app/buck2_build_api_tests/src/attrs/tests.rs"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2e90efb99b1d29b0787208f2c85a78b68e66ca4983fff328338fd6e87283c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this probably wants more data for execution, like printing a short_name and the 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":"app/buck2_build_api/src/actions.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"44cefd16ec07f777bd84c0cf0ed76590f1f6551edbcf33ade01924e559b70e7c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(bobyf) this seems like it deserves critical sections? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"3add95ff1aba98ce9891637a916c8fe52fb9e0857704ee7fcb89db6afb802538"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@wendyy) move into \u0060buck2_node\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":"app/buck2_build_api/src/analysis.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9866f9720416be42f63cc6a2dc736b0ada6e1a0e3490ef47bfbe1e985e407db3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@wendyy) move into \u0060buck2_interpreter_for_build\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":"app/buck2_build_api/src/analysis.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f55146f89205a6962b6e7d489d28de7504cd54ace20c04f7e61939f70e4b71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ianc) do we have a better way of detecting if an artifact being built for an anon target is eligible for dedupe? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/artifact_groups.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"f390b1c1f6eef2b05648c4eab1a2d0fece09bd13ff14834bf5f06f45cfeefb56"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@wendyy) if we move PromiseArtifact into ArtifactKind someday, we should probably \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/artifact_groups.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b267560e48238bf0d6f200fbf80b00d302bee94d408a20946d0b7e601ee110"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Why don\u0027t we break 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":"app/buck2_build_api/src/build.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9a450090404929c9e8d110baf4efee574d07297804dc9de4f87f65faa0b0ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Why don\u0027t we break 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":"app/buck2_build_api/src/build.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f564f05e1b499821d72a4544589de1ad62ee95cdcc70db94c7e929fea41056"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Probably better to return this in the result and let the caller decide what to do with 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":"app/buck2_build_api/src/build.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e2467cd6b7dd044a8587a1b2e5087b25f731cb0a900fab5b9c2c8efce2863a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This whole building thing needs quite a bit 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":"app/buck2_build_api/src/build.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"3deb4904da4c2bd69c3ce60b3e73bf156f4f7520d647c9a688fb07817085de97"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@wendyy) - log the 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":"app/buck2_build_api/src/configure_targets.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"634a0156516c74663121678a313741f20c84c2725f44e4a88e62560d25b3c7fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO transition attributes can be added to Rule. Basic idea is 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":"app/buck2_build_api/src/transition.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2c3405503ee74b7bdc67edfb87fd6129e134aff097d8339bafaa764ad803a6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This should probably default to \u0060remote_enabled\u0060 and not \u0060true\u0060, but \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/command_executor_config.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fa023c5cb92a15aa1c6881cb85463cef6f2c642e85e70125670f3d2bd61e99"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: We need a migration flip the default for remote_cache_enabled 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":"app/buck2_build_api/src/interpreter/rule_defs/command_executor_config.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53edacc9bbbf9dac0c2367f1200ddc7169a2bca1071c8703b4b1a5cee3e99d6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): That last one would be more discoverable if we moved it onto the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/provider.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efaedab226ae002985edac174ce74b9c6bc051160a0eb3ed976cf3714544d01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): I\u0027d rather return an iterator. I couldn\u0027t get that to work, though. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/provider.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4395d62d1ad2fc37c9d9729c3da716449538157c1f9d44677af510ed99fc0a05"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ndmitchell): Include the information in the format output \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/resolve_query_macro.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfcfe44eb0c6ad2cfdc3a9d58169c5fc34f989721973281c583c2c3605157c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Consider making DefaultOutputs implement CommandLineArgLike \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/resolved_macro.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ce109de2179c926adc59327338971af3d4d9e833343ba1a11546db1066d2c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we should probably have a serialization for transitive set \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_args_projection.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a54017666f69fc78cff36b196b2e8b4397bafb41ccc6c067f2043c68d57aa8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we should probably have a serialization for transitive set \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_json_projection.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc042ab0bfaa92682c29b724c029dd4262c9e7826465a8027fa878af692dd01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we should probably have a serialization for transitive set \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/write_json.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"56686ce135d0004fdb55cdea4801305d3cab81e61c5500ef2c0e3934c0a1abbe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(cjhopman): It may be better to wrap the list case in a new CommandLineArgLike impl when returned from \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_args_projection.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7113970fa5216caba5223545e977a0b60b88f2678f409f171a455d0ccd4d38e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): This seems wrong, there\u0027s no enforcement that the projected values don\u0027t have arg attrs (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":"app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_args_projection.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0dbc6324ac77b4219ceedbb70b3935a608f5cd4a897646d2c307d176d9403d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): This seems wrong, there\u0027s no verification that the projected \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_args_projection.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62ade6702cb4d438b241885a83b6c6e87e6eee5e6f9294d6c36cee6bbf2424a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): ??? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/transitive_set/transitive_set_iterator.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8fbc12b93b5c9171895e762b2a0c87064646f6941e41d0d56e83626df61f5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this is a bit suboptimal: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/provider/callable.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"91543311203a09cf1834d673918efe2fe0192b0078de486eb9bf3f3910aa1982"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): 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":"app/buck2_build_api/src/interpreter/rule_defs/provider/callable.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac60de4e4647ac391a8d7cf35683f3fff311efef1d8d244b5bf7d6bd384f6c97"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): should return provider collection. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/provider/dependency.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b511ba841291f4a5dde57ef0f69ba44a8a9e34790fbf9ea492eefec07282f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO use soft_error when landed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/default_info.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"533b72a8812cbb69c9da009d096e047799fde6398a422da211a83b2ac793c3a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO error rather than soft warning \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/default_info.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"48170ad0e6195928339cdba3454ba61a8b5a218afbe28c4d32c4274fe6f2660e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): parameters must be named only. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/default_info.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"27337b7b39d67f4ee18393b03675c5aa69b942c31abd58d763dac58f4d983788"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): make the argument either named or positional. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/provider/builtin/run_info.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81b9fb09bec954f1e28da1e818613de205692883ee44799308d2ab00386499e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Just checking the artifact path mapping here is pretty fragile, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/cmd_args/builder.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5970cc5d589932d636e8228521952820a64c7ccf89635dc80c01dc18ac376a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Having the hash of the artifact in here is... acceptable, but really not \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/cmd_args/builder.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3961035901881cfbfbb9bac7599818bc917bcda28559ffa88a7ef6cae5ee7a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Seriously? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/cmd_args/builder.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b51272d76a60922cd9f9c03d93a86a2173d098f9286f36f3b0502ef0efee4e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): This is pretty confused. \u0060PathBuf\u0060 and our absolute path 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":"app/buck2_build_api/src/interpreter/rule_defs/cmd_args/builder.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16c6b846b57e72b6a391d22b795463a592c7f537d00ae4db595ab1491a359b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): migrate, soft error, 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":"app/buck2_build_api/src/interpreter/rule_defs/cmd_args/regex.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bf3c8a04bc06076028abd820874a30071a14ac30741bf9882301ed56c8c618"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): \u0060cmd_args\u0060 should be immutable, so that all parameters should be \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/cmd_args/typ.rs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7620cf620e58360e587c72406c6aacdc18f227cae6c09b15b90983cdcdb1bd"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): We should probably not be allowing people to get an \u0060OutputArtifact\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":"app/buck2_build_api/src/interpreter/rule_defs/cmd_args/typ.rs"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"583568612890c3c9e2a372403d035c46acf083b88cf03a07d2fc1d57dd8202e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO make artifacts serializable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/artifact_tagging/tagged_command_line.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d961118970a23e4d426477c59213c1351f38077b43798b54a4edc432988515"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO make artifacts serializable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/artifact_tagging/tagged_value.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"baab725ecb158eca0055ad8f4ebc97bcaefc99aea49b7e97ee82073b5a842c83"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO make artifacts serializable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/context/assembled_dir.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"598b17de9a201a53de365720a4c53214d7ba14c0cf16b6d21bf0eb37695587be"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(ndmitchell): This display is not the same as the underlying Artifact, but they should probably be the same \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/artifact/starlark_artifact.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5b00f5733d18853e8214f3fa2eaa198539bb972d70d9a43260ddd50835147a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: proper error message \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/artifact/starlark_declared_artifact.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"e279183ce2965ce6323ce5bc8e353136a719fe6d2f9bbc42f15d046b76ba5896"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(minglunli): Check to see if the error carries a context \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/interpreter/rule_defs/artifact/starlark_declared_artifact.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a288547275a9a728578f60e969fd6c20b6876463240f206adf936f441693b7f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T198210718) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/bxl/unconfigured_attribute.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f3b9f32afcbed3bfc7f9db5a4b5e1bc4e6d628364260713af853f14e0f1dc1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T198210718) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_analysis/src/attrs/resolve/configured_attr.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cf92f46d3ce40ccd16dd58bff51239e727d348b8b1ef32209f37c3d1ade1d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@wendyy) - this needs better 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":"app/buck2_build_api/src/bxl/unconfigured_attribute.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3885a2fd1886662d254a2dd41fed446ff07d3e7181ebd327692649b4eb2732c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: /// FIXME(JakobDegen): This should be in \u0060ConfiguredBuildReportEntry\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":"app/buck2_build_api/src/build/build_report.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad21519a72835ffe23f6c1478dbb658adb4e44d4055794ac4018c55455b5a33"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: /// FIXME(JakobDegen): This should be in \u0060ConfiguredBuildReportEntry\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":"app/buck2_build_api/src/build/build_report.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1468a488e36fc9ae4aa2f26e6eeec14a8d652b0072c634d0bfce83924ddc2c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): This potentially overwrites entries from other \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/build/build_report.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6dd9faf295226de6e6145ccf24319094799176b39b666f7c19ebaa23f079c8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Ideally we wouldn\u0027t need this. It originally wasn\u0027t here, 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":"app/buck2_build_api/src/build/build_report.rs"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be87517540791c22a09649c461a051a7a8d1d78ae6db78a3a5b3ca7fa396a04"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // sketcher field skipped (TODO: implement allocative for SetSketcher) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/build/sketch_impl.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7525714746c5a5a0c953c5cb4cd2d108359f35cf5b5f8da78a166b2f660a140"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Should traverse to the dynamic node\u0027s inputs and parent dynamic node. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/build/detailed_aggregated_metrics/implementation/traverse.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9bc87a75069e77680dc5f8119240cb92af4254ce8752edc66b116cdce6347b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Should traverse to the dynamic node\u0027s inputs and parent dynamic node. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/build/detailed_aggregated_metrics/implementation/traverse.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf51d13d581b74259b082d6d4076edf62b818a939bc644974521b36cc93a35a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO consider if we need to cache 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":"app/buck2_build_api/src/artifact_groups/calculation.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cccf3bfeaaee10d917dcce974bd57bab9a214370e629e815ce3f381f4e75ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(scottcao): This current creates a \u0060DirArtifactValueKey\u0060 for each subdir of a source directory. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/artifact_groups/calculation.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"237ed1855e0752a9a31d256d6254cc877faeca8c3792c28ec740e9444fc71621"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): The amount of stuff we\u0027re holding over this await point is extremely clowny \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/artifact_groups/calculation.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"00887bc55414d7c755e5161cf3aa4fbb6245ed8c2d4651c52fe08061f3bb3122"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@wendyy) - we should figure out what to do about the declaration location. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/artifact_groups/promise.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c82c55bcb2171f958d12d6b90462a6159c1e9543f351079e4f55c8940638af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (torozco): Remove (see protobuf file)? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/calculation.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b4725866867b47987efc5f6290bdef5676693a5f338df866e0bed87ed588e1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): 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":"app/buck2_build_api/src/actions/calculation.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"833c8b2d249b3f181a9cb1df70dd57acf84ecda0aae69cd0cd8937a31801db1f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@wendyy) we should derive allocative for action-related structs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/query.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6d32346e644a6cd3581f9b85904f594f3da7761c7aff8bd602fb9ab8230982"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): In addition to implementing this, we should be able to return an buck2_error::Error here rather than panicking. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/query.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbbca366851c593b59b7c89c5f7ed864402d536b0724acad7914ea42c05cc1d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): In addition to implementing this, we should be able to return an buck2_error::Error here rather than panicking. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/query.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e7d0c176ae2e2743f5bdca75367c4ac3d4525874e94e1db4a0c4b8f585ae61"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ezgi): implement toolchain deps for aquery \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/query.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"eceb7f0ebe24392bd536c9c9c99ebda851746cc116c5fec710e0e1d8a6645952"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): dynamic values mean this can escape. does this need to be updated for 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":"app/buck2_build_api/src/actions/registry.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1afca0911bd934aefff42e7b5a59366ebf7ca06c0c7314222c64c0b72b5791"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): This doesn\u0027t seem to work the way it\u0027s intended. We won\u0027t ever hit the Some case because we insert 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":"app/buck2_build_api/src/actions/registry.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5b2edde2f2d588028fc6b88df77ccf9453f9009060a5dd6833a4e5d81d84e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(T156483516): We should also validate that the outputs match the expected outputs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/execute/action_executor.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a85516a87e97b91db97d90facb2e26bdcc2a7c403758f64e40bfe108628e39"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (@torozco): The execution kind should be made to come via the command reports 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":"app/buck2_build_api/src/actions/execute/action_executor.rs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60d78c11e76b2a159ad86b5d16f93f3324966b2b1108e330f600ff2d89e5668"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: One day we should treat FileOrDirectory as a File, and soft_error if it is a directory \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/execute/action_executor.rs"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0150cf2f506ebf94c9cc087147261b5ef9a436a4abcebce1024b9ab07b87ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (T122966509): Check projections here as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/execute/action_executor.rs"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3c79ba72f1f6eea69892c3d3dda97ce7de831767e63ade03723480f5e3c53f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): What about \u0060CommandExecutionError\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":"app/buck2_build_api/src/actions/errors/action_error.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a33b9bcfd58978b2735ca57613f24bd5f2bd727c3b87d266bfffa4840083a3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): A path declared \u0060FileOrDirectory\u0060 is treated as a file, so asking 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":"app/buck2_artifact/src/artifact/output_type.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d713972bc4518c870a0102bf012b6f75f796a062e1c03ca7e9c45a0ca2baed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): \u0060EnsuredArtifact\u0060 gets here with unhelpful error message 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":"app/buck2_anon_target/src/anon_target_attr_coerce.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f704175b4eef9baca729d70c37f97bbd56ac4807d8c2972ac60b49ac08ebb5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(wendyy) intern attr \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/anon_target_attr_coerce.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"2676a376dc8d0c4ae4ea9860aaf1386674d3f6d54ac3a65345001f7a41471c0d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(wendyy) intern attr \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/anon_target_attr_coerce.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f0c6f2c5c2f266ffd06df9717600a6d9da905a6405a674345ae54f536ba7f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(wendyy) intern attr \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/anon_target_attr_coerce.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c10f73fa7caf2dacbcc4e26bd368ea7ef36c1d84862f1c2050070cc4239689"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(wendyy) intern attr \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/anon_target_attr_coerce.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb12b224355cc03e468b63ab7c2ca4021d9d7e39cffdffabb5ffeae453c08fd4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(wendyy) intern attr \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/anon_target_attr_coerce.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"865d51bddbc2d3b18d85b6e31dea378381e8260f786fdb24aec0ce3d33e675fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): \u0060CellName\u0060 contract requires it refers to declared cell 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":"app/buck2_anon_target/src/anon_targets.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ce0426fadc7cc507e5ec5be2ed0db6cc9fecc2338244c979155c57ea5089d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this creates non-existing cell reference. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/anon_targets.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fae162535d6db4647151a5d4ed6b53d504f1c7e54b14ca0b4517db04700111"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): There should probably be a way to pass 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":"app/buck2_anon_target/src/anon_targets.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"af744c86d0b4fe032dbc01b1cc9f89dfc5baea8103afe7597d91bafb77949587"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this should be either positional or named, not both. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/starlark_defs.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"61081888edfa2746fb867ee07158364f36469403276174e2355afd181e2f53f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this should be either positional or named, not both. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/starlark_defs.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa71e4900324e0c03a2b871c4a414a31e52d33efd098ba18f75fd6f5a6761de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): this should be either positional or named, not both. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/starlark_defs.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"2503b4774e008e921853457d3223ce2ad733894cb1315b2171d66155e83abad2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO - we would prefer the API to be \u0060ctx.actions.anon_target(xxx).artifact(\u0022foo\u0022, short_path=yyy)\u0060, but \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_anon_target/src/starlark_defs.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"ececd8d0cfa95132f1491b9ed0386a667835b10e6a6a3d02958417768f7eead6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): rule implementations should not need visibility attribute. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_analysis/src/attrs/resolve/configured_attr.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"681a14183339bd2eb9827475dff68f2185eb67bf9490c89b33b7aa6aa5ad08d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(romanp): add earlier check during rule function construction to prevent using source attributes in transitions. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_analysis/src/attrs/resolve/configured_attr.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb909a5b82c2f8c33549afc3d4c67c296c477e22633be44e9adbb60e134fb44"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): we perform analysis even when providers are not 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":"app/buck2_analysis/src/attrs/resolve/ctx.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f725174fa6ae149921d73f6bdf110a64eea5f5e816383c843d33c9aba7cd09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Ideally, we wouldn\u0027t need to split query attr resolution in this way, but processing queries is an async operation and the starlark Heap cannot be used in async 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":"app/buck2_analysis/src/attrs/resolve/ctx.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"39239d2288207468a06dab111c27424213ade51b0a3c3612847f99c32fc4f21f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO consider if we want analysis result to be eq \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_analysis/src/analysis/calculation.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b4cdbc737a7fa596861360c7fd1cf2e1feaf3039a74a3745e5213c8ef008ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): Make it an error if two deps provide a value for the 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":"app/buck2_analysis/src/analysis/env.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab21b262a074dc96e6ab67d0ba7cb5f5573fcfcfa39d7878c6e8be6b55961a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Convert the ValueError from \u0060try_from_value\u0060 better than just printing its Debug \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_analysis/src/analysis/env.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"2caefb7b4a8db2edba3ff99853dde77bf5d2d64d81ae814abf36a19283f41f7f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): delete. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/context/dynamic_output.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3431ac689ea457586a7090996f5892bed8b47d44611b247771ad3fae6da803a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(scottcao): Refactor \u0060no_outputs_cleanup\u0060 to \u0060outputs_cleanup\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":"app/buck2_action_impl/src/context/run.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"91429331c5fa187d28c1d69e913fcfe729677f8edd20b572d0ceb4ea78c4b29e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): we should not accept output artifacts in worker. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/context/run.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"83caa1b54e8ecd168dd5c2e2c47308390bc8768b99dbe1a44910dff8c9f54bc3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): The with_inputs thing can go away once we have artifact dependencies (we\u0027ll still \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/context/write.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e22c4fc693c126518d4e8962dd855deab915961cb35c6ed0cb1e2733bbde80d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): we use \u0060AllocValue\u0060, so this function return type for 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":"app/buck2_action_impl/src/context/write.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"116a7ec611d4c34e77315f0498977a9839721b5a62ddb59041e5581014cc858a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Exclude other variants once they become available here. For now, this is 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":"app/buck2_action_impl/src/actions/impls/assembled_dir.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"40063945b7a0dac59e9dbd7243cfcfbffb9cb1f773abbec0b8bec66ca9efcec0"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This warning is talking about the Starlark-level argument name \u0060srcs\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":"app/buck2_action_impl/src/actions/impls/assembled_dir.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"59dcc1651d140ebe0ccd06e652bc8854b7542bbf8a24b643e49df0a1813bd21b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This needs proper tests, but right now it\u0027s kind of a pain to get the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/assembled_dir.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4af4b5c2a27cf1be283551abfa19535eb219f35fef71402403ea47f2ea71b9c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This needs proper tests, but right now it\u0027s kind of a pain to get the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/copy.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4678f9c1c0356c53097e6cffac7709174c12dc7ff63fa95cfc21c68e3e9d0dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This needs proper tests, but right now it\u0027s kind of a pain to get the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/download_file.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c200ab5a2358efdc5ce3a1515f55aa1dd7385dead17fe1a690544d3bae2d47"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This needs proper tests, but right now it\u0027s kind of a pain to get the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/write.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e89efab35d522594af4b1bf01bbd063f400368de65f1bcaee1f83cda64bbe6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cjhopman): It would be reasonable for this behavior to be more configurable, there just hasn\u0027t been need for it 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":"app/buck2_action_impl/src/actions/impls/cas_artifact.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8935623be43e5bc31b25e97b850cad8b594255cb8b23747d409cd7365f4428"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should honor the semaphore here from OutputTreesDownloadConfig. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/cas_artifact.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d52fd6aec239867996ae041855c13eb927ae9e8efa32663cf1bbde061dcfb1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Exclude other variants once they become available here. For now, this is a noop. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/copy.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d73a56fe43449b77af7203afbd1d9f36b66c748ac6d5b7d9af6663ff7031ece"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): This is wrong in cases where the input artifact is 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":"app/buck2_action_impl/src/actions/impls/copy.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"26028094ac240241478f13cd41aba99169d514df15dcab629d0e0694b05ec915"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO[AH] create appropriate error enum value. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"6068a2926791acbc871280eb32102924640635ff80463e1292f4827f58c62a61"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (@torozco): At this point, might as well just receive the list already. Finding \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run.rs"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1132553aa6a348af80d9270c5fc9d190e278243272f728404da9090bd69b64"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ianc) Only do this if we\u0027re actually going to run the action? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ff186812d29993b92527eec8c0014c086e6b2dc93e85dd482aa7b7938f26da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jtbraun): D121882458 moves this upload off the action\u0027s critical path. Worth \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/run.rs"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30d2723dde358513f1eaef54c9d6706b48a6c1c27919adba0d688bdf0122990"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(JakobDegen): Completely broken, doesn\u0027t respect the cmd_args nesting structure. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/write_macros.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"027fa16d6759a41a9601f11d92eb82d0ba230bb6e88d7b4b071bbad7dce4f993"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): implement \u0060buck2 help-buckconfig\u0060 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":"app/buck2/src/lib.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"210312b4f7101454d5bb43552c96f6f2a346d2223d4af57ec285dc3727a6285d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: enter variant. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocative/allocative_derive/src/derive_allocative.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9bbdfed55c93bdc8789ce720203e4fa94843cd79c33048170ca62a95d8f3622"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): figure out how to put this snippet in a member function of the 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":"allocative/allocative_derive/src/derive_allocative.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"508a80874703cea010dedb9cc9993aa4ca2eee95968e0584d422d8873c2d737c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: deal with potential issue when node is both unique and not. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocative/allocative/src/flamegraph.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e19a483fff1e9db9af131cd3fc5c25ec3efc2d8848f470c342ec31a1f896477"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: record some malloc overhead. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocative/allocative/src/flamegraph.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"162ef1cb583553c0a9f5177eb573fabe0d9862704484d908f5905ce15e4fbd78"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): Ignores header size. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocative/allocative/src/impls/bumpalo.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0fb60ab2086bf2ec3e5737ba4c74be43806cd1a74d30b73874a24f1dcf5816"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): spare capacity. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocative/allocative/src/impls/smallvec.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a735a6bb10f6c154c8322fe26ab1a8a0c8d448e10de4f58afd89ea6a329dad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): spare capacity. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocative/allocative/src/impls/sorted_vector_map.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d4a1e9997d426496c733c7eea35e74580acf3edc6b31ffdd324f8ed88ee68b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): spare capacity. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocative/allocative/src/impls/sorted_vector_map.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"532dd2717e8c21fa36220dc4703db5184b4baa5f9bf70484c39d420965ea378c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nga): faster for primitive. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocative/allocative/src/impls/std/unsorted.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"19153bdbae05fa5ce931f7c8cecb60f8038a09b549483a129a6c8163902a9b16"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060StubsGenAPI\u0060 spells \u0060API\u0060 where 16 names in the project spell it \u0060Api\u0060: 16 of 17 names in project repository spell the token \u0060Api\u0060 (16 of 17; unit: names in project repository containing \u0060Api\u0060). Peers: com.facebook.buck.jvm.kotlin.buildtools.SharedApiClassesClassLoaderProvider (prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/buildtools/SharedApiClassesClassLoaderProvider.kt:17); SharedApiClassesClassLoaderProvider.sharedApiClassesClassLoader (prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/buildtools/SharedApiClassesClassLoaderProvider.kt:18); NonAbiDeclarationsStrippingIrVisitor.removeNonPublicApi (prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt:570); com.facebook.DeprecatedForRemovalCompilerApiCompat (prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/OptInAnnotationsCompat.kt:15); NonAbiDeclarationsStrippingIrVisitor.removeNonPublicApi (prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt:607). Rename to \u0060StubsGenApi\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/generators/StubsGenAPI.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"340a4bc0703a1694ba28389fd19f6fa6a7bf2fc83cac3b23fe05f18cfd2cf855"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060PlainKTBuiltInTypes\u0060 spells \u0060KT\u0060 where 98 names in the project spell it \u0060Kt\u0060: 98 of 101 names in project repository spell the token \u0060Kt\u0060 (98 of 101; unit: names in project repository containing \u0060Kt\u0060). Peers: com.facebook.demoapp.ui.PostKt (examples/android/demoapp/app/src/main/java/com/facebook/demoapp/ui/Post.kt:1); com.facebook.demoapp.ui.SocialFeedKt (examples/android/demoapp/app/src/main/java/com/facebook/demoapp/ui/SocialFeed.kt:1); com.facebook.demoapp.ui.theme.ColorKt (examples/android/demoapp/app/src/main/java/com/facebook/demoapp/ui/theme/Color.kt:1); com.facebook.demoapp.ui.theme.ThemeKt (examples/android/demoapp/app/src/main/java/com/facebook/demoapp/ui/theme/Theme.kt:1); com.facebook.demoapp.ui.theme.TypographyKt (examples/android/demoapp/app/src/main/java/com/facebook/demoapp/ui/theme/Typography.kt:1). Rename to \u0060PlainKtBuiltInTypes\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/KTBuiltInTypes.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcb57345510fbb05801d059d33707713cd2f9fbca538f3d4161e055f75be47d"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060PlainKTJavaTypeAlias\u0060 spells \u0060KT\u0060 where 98 names in the project spell it \u0060Kt\u0060: 98 of 101 names in project repository spell the token \u0060Kt\u0060 (98 of 101; unit: names in project repository containing \u0060Kt\u0060). Peers: com.facebook.demoapp.ui.PostKt (examples/android/demoapp/app/src/main/java/com/facebook/demoapp/ui/Post.kt:1); com.facebook.demoapp.ui.SocialFeedKt (examples/android/demoapp/app/src/main/java/com/facebook/demoapp/ui/SocialFeed.kt:1); com.facebook.demoapp.ui.theme.ColorKt (examples/android/demoapp/app/src/main/java/com/facebook/demoapp/ui/theme/Color.kt:1); com.facebook.demoapp.ui.theme.ThemeKt (examples/android/demoapp/app/src/main/java/com/facebook/demoapp/ui/theme/Theme.kt:1); com.facebook.demoapp.ui.theme.TypographyKt (examples/android/demoapp/app/src/main/java/com/facebook/demoapp/ui/theme/Typography.kt:1). Rename to \u0060PlainKtJavaTypeAlias\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/KTJavaTypeAlias.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b8868feff8d2d3e33089073780862c03cfd2e61d49171a249beb7d155ec74c"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060PlainKTStdlibTypes\u0060 spells \u0060KT\u0060 where 98 names in the project spell it \u0060Kt\u0060: 98 of 101 names in project repository spell the token \u0060Kt\u0060 (98 of 101; unit: names in project repository containing \u0060Kt\u0060). Peers: com.facebook.demoapp.ui.PostKt (examples/android/demoapp/app/src/main/java/com/facebook/demoapp/ui/Post.kt:1); com.facebook.demoapp.ui.SocialFeedKt (examples/android/demoapp/app/src/main/java/com/facebook/demoapp/ui/SocialFeed.kt:1); com.facebook.demoapp.ui.theme.ColorKt (examples/android/demoapp/app/src/main/java/com/facebook/demoapp/ui/theme/Color.kt:1); com.facebook.demoapp.ui.theme.ThemeKt (examples/android/demoapp/app/src/main/java/com/facebook/demoapp/ui/theme/Theme.kt:1); com.facebook.demoapp.ui.theme.TypographyKt (examples/android/demoapp/app/src/main/java/com/facebook/demoapp/ui/theme/Typography.kt:1). Rename to \u0060PlainKtStdlibTypes\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/stubsgen/util/KTStdlibTypes.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8602ae16457c8b2b7c3593e89f7921212ad43d58358a4d9645ef6de8c898c3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Start IDB caching\u0022 repeats the code it sits on: 3 of its 3 words (start, idb, caching) are already in \u0060await timer.timeAsync(\u0027idb_writes\u0027, () =\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":"app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec88258e53bf04b37e42492710f9ad98e3fa1e370fcfaa34846037468965abb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Start IDB caching\u0022 repeats the code it sits on: 3 of its 3 words (start, idb, caching) are already in \u0060await timer.timeAsync(\u0027idb_writes\u0027, () =\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":"app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd0887d2599b69b35222955a9e958c86127382bea2a4b95bb2e150c29b6c230"}},{"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":"53f686090c9aaad21743c74b2fbf96d6e8f6bd0548fcde5b1b243986d88571c4"},"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":"5ec732dc4c0314d92e92c826f714f9afd1f75f4fd2b323ef64e3d057a052a44f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1c84da23aad64cf91b88ee8889bc35310d08888b2f6d8fbedb00ec9e649cf5f"},"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":"fdcf38035efb48afe402d47760b1bf167f543897542a0688c63abca195499582"},"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":"79fd5c3f48a180583647a9c567cac6c59426f2d1cef9a21f4d94156d55f39fc0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d178ceddc8ca6c6be04f84d3be68729d5ae4db2c3a3a19b858ba61b11639a33"},"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":"b915647a72b9a2b1747d0242fc42a34d92ee18e8dd3cf8a059f713694669c234"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94cdb7ed54c887b55b1dd97cff9897d8f84c7e806165fdaedd34513d8dbb921f"},"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":"c2279e07999659f517c7531441cf02ad2d27d678e8dd8bdd783c20377e0cdea9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a91b6eb8843e0363f62f9f5faf838641159809bcbbb16c4b6eb88fe868c4a78c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb779c5409227db06fd82e3434a0223d18e072bf59247fc6f34e29df057e824c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4e3cfc57f3cf56e672d62b887e5d05f5baa33e2ec4eddf4588d82bc64b4e0bb9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b052f241a065d6ff5238bfd83fa356b84c499517a354862a3a40a0cc87b115fb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85c5b2c90c77aa43bf2b5623b4c0c4d641997e9bbf9dcddeeafad9a2da3ea42a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12be3a74815b9e1087000dc6102095db49d86bb87a90ce4198cebbac8e042ee1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc0bf8f670a8d4b3cc3c44364f4fbb59428c5acfa3ed9efeddde12b4ddd43faf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43e7fc666844b5ddcc4e1e6546c989dae989c74f8118e25d728ebdecbe464cc1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e928a5dede59adb368ec554abe3d0624d8cf08616ae6f311f6b7fc6090d193df"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f040ede68f5421e44be132aec5fd6321c4fe5ee9968e42868719ed1fbbe2b14c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f99285fd7e5b353b2c2642150a1c97c48cce8f864ad4ac3614dd9dfabb14d720"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf3c1a189d4d5444d4bee9a406eb12777926358069d13a643b302609c36013ba"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"adf21d61cfe17b484ff8c4ed53b0141f4dfbdd77ca370fc07c4a6c5c6cb6079f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d7203b32f2c631f09f3722d8268b0aa33e951f756a7c8f08a614712c724fdf5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2fbdbc18aa51692ab233954a157e8b19384ca18aa9020133958ed06ec684caea"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0a8e7dbd218d03b62c1bf2a67ce974546465819ca6f76bcfc32e9e42cb175da"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17d74635121b705f0dea3b140e27067c65607ba5ff9ace60c3bfc518154aa907"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"839455a5c3d85d25b6bd0c4d8660007a47494cd95138fd0587f2eaf2188853c3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"59a83d70a60f17d342eeb738b25b98a5e6e8010a333293d03cb8175303e4cb07"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cad57b72ce91c9deffaccce710e053d094421a46838401418effd94f70e2057d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab8234222e74264304e9a0613231e2edba2bfc85fb69586e2bad8e8c2387460f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f66ac178a8fc50bdd280a6949644ea191651981a914bc912c666671900197980"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"523aa8b9e75ef9987753f76eb538f3e3e8a78d796d080bab096cfba12a0749ea"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55207022cf018a25774902233be6968f1c4379b931c46ea71300060a2df475da"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad453567d8ed491a4d0625dfdcbf7f945b5fadceac43578abb5225310be360fb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"219857f536708e2d0109773752b1751c51417b926973e2a63e99343534c63520"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c53a650d3167d10bd3a8ab608297a4782c1a7ec0ecbe6fd88146673155e4d585"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"97dc6bb68b5580793bcd5993218423446fdc8392b43bc990fa45a2715d31acf7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f687a18680fcc5b1c602776a9f2acb6783f78c3fd3d4d59a0910bf9b1e154fa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6eea5b303e61735534e610aef3b079e3bb62e7c5c96645ecc0f2c6f9e701144"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c6d695c3e2dd54eae1731990daf7a0c5e59beab11e2ced59bf943af05c404ce"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d4c037ebdb13858c41ae11c607a28bede4e337cc0d00123d169762bd903d9ae8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"693249723480b7d3690fbc9002e4acaa2fd5c4f5277d52948268b51530c89d1e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6fda7fe9e920cdf758c030b022bb52c0b2c0708faca41df2ed42f3ee49e2988"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"865c1256b0af6cac7fabd52ec1703a6840a81e82c2cc09619e5e78e47af02756"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"40373efcc2d34dc3c67e1fb0747d92d27dde2e7f2b14625ff474c8d40858eafe"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ca04497eb6f91fae34b2b6f9f46912264dfec2f69cae5202865b74b06d961dae"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3830b890df1ad64a30c7a4853f98b6d81fd4b21bfb33b2313b463e2b499fe099"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90cc5e5c5fb3922c460d54c0231abb2d3f2b70d4f1d4cfdff3d0ce9970df9f84"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"f0ff3f950a2b0cb1284ffac0843325eaa24e3583302d4ff8779d6ae32a3f3722"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"81654542c5e69d71aa3e7d2c2078165a057d8919204c798e93f5a09fb4a304d8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3cbcdfc92839c16184a3b634292682f5a772ddb5d76a62149ed4808d4b48e31"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b413d0f89529caf8b94d1e46d0201415e81a26c3cbf02fc916b2d3a701666f54"},"taxa":[{"id":"CWE-611","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":"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":"fb26ee5f276730c104d93987af86b7a550898f87e479464118f6cfe8b85b1f39"},"taxa":[{"id":"CWE-611","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":"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":"11a3f74598c48150f69e263acfac4ad55a1d32c3f6850696a31a0445fbd1dff2"},"taxa":[{"id":"CWE-611","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":"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":"0da798e63ec3e66256bd16832037082dd54dfabb35236fa8a090eda8f04f74ed"},"taxa":[{"id":"CWE-611","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":"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":"30134d7ebcddfbe194ca0ddb2f941dbd7004c5ff1ad784748d4555a564baf5bf"},"taxa":[{"id":"CWE-611","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":"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":"cf96123b38e4f12e779184660d8901d13478a670621b88ac7b408248c03868d7"},"taxa":[{"id":"CWE-611","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":"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":"ffdcc4ba9bff6e9d71912f240f866cd8e3696afd11a86b4de7cebcf346f81f29"},"taxa":[{"id":"CWE-611","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":"37627dfd9e3ec64452b706aa4b2ed2175350a315b66a1df7d9a11dee41541ed7"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"a5ac7b7dc430bafde0a3cc096b60359d63d4dffce2eddac247aa260cd5b47bad"},"taxa":[{"id":"CWE-276","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"7bc8be2d26905921f91da8519edc4257129d8f152db992c24d25778a1c69838b"},"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":"a9294f5440b6dce86d1ffaab705b4b2535803c130d013f0cd2bd3bd452291321"},"taxa":[{"id":"CWE-345","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":"3b530b520bcbb34d61621b32625144d463a7ee45cf0235ce547dfa3caa59f54c"},"taxa":[{"id":"CWE-345","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":"b366691cc80df5a877cfb45344ed3b6a74a0245d981c31ccf64a9e3c11ac7ae3"},"taxa":[{"id":"CWE-276","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"9f74f0682680c2d8c5231190d9ced9b5d7722938963a4b6c0784eaccf82cfe19"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","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":"710e73f06a99d420cc5bba13e5c531951260dd97b82daecdaeb1179b4ec45737"},"taxa":[{"id":"CWE-328","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":"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":"1bfa397bbb596534bdc4ea0c76fbb7951c5cb6aed8b934712ce14d004701a70d"},"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":"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":"22295419219dca3e17aa06305b7b381b520e0ecaf625c97907a4ac2e9bf34fbc"},"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":"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":"be9362ecd385ebac194fe91199f7165c8f1e40087964e5affbd110e2682c5558"},"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":"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":"d46ee985c2bb5e9c0b6e8a3f2f516016a15528b9a6637b7654444fc386812253"},"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":"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":"b195310f768d10f9ac1a6fa4db868f924fe9baeaa757e0b45f861eed3ec7eb6b"},"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":"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":"06182619fc59a34e9fae1a5639626f6914a1a431a304039f287bdf8bed8e3083"},"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":"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":"e69de9d615832198aedaa2c1f7628f20cd4a28cefeb8b8c580f8b1c865737172"},"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":"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":"52055eb80b92722cc26ae4b9c496b8bfdff7560421221362b4f22eddfcf3a4b1"},"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":"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":"daf88c5459250dcecf1c2d8f510eb823b96599bc0da89b1a95091552971782e1"},"properties":{"dependency":{"package":"vite","version":"8.2.2","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":"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":"a65ec9e992370144666ec00d4681a87341d1d2f49c4337348b596f7c4a0ff924"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"bdba23b326b173b3babdc0c93ec62c23dea63ce16e93626e9f63dc0a9c4ca86b"},"properties":{"dependency":{"package":"electron","version":"43.5.0","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":"production","file":"explorer/main.js","line":11}}}},{"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":"ac97b21ef7ab8a9eb2a1bf0bdc38479c520b64c7cd25bc89a9507f36bc1f4630"},"properties":{"dependency":{"package":"undici","version":"7.30.0","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":"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":"a99fdca6d8061c205e02d2a08ddec877d006cc598c810708c4f4a8d61834383e"},"properties":{"dependency":{"package":"@azure/msal-node","version":"6.0.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":"9d7e2f5e4e133844171b9412d83e460349b527553e21e4eb5d4f1e038ed6831f"},"properties":{"dependency":{"package":"atomic-polyfill","version":"1.0.3","advisory":"RUSTSEC-2023-0089","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":"2.0.1","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":"aa275dcc581e31816223ff250817b0083925776ca9db8bc9a83879cc85b97f8d"},"properties":{"dependency":{"package":"derivative","version":"2.2.0","advisory":"RUSTSEC-2024-0388","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":"a42ca7416279f52063a649dbc505340ffc7c7a5727193e601ae1de8d6db75e3d"},"properties":{"dependency":{"package":"fxhash","version":"0.2.1","advisory":"RUSTSEC-2025-0057","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":"f48cf8c9f415048128045caa118a1e03769d0b4fe18d7f036c2f3766e3e8d8fb"},"properties":{"dependency":{"package":"instant","version":"0.1.13","advisory":"RUSTSEC-2024-0384","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":"7b3f5e73f54279d8a385f3ccb6ce6659725cab3121019062bfd36c6500f66d85"},"properties":{"dependency":{"package":"libsqlite3-sys","version":"0.38.2","advisory":"RUSTSEC-2026-0459","aliases":["[CVE redacted]","[GHSA redacted]","RUSTSEC-2026-0502"],"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":"7f6329e2b29fe1ee1dd724766af980b151618490b720201bbdc1839704210c3e"},"properties":{"dependency":{"package":"zbus_names","version":"4.3.5","advisory":"RUSTSEC-2026-0371","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":"77d4d5d4357ce0a5ade8f6f76c84914f1a2c80f9fe7358d9854254b760de650a"},"properties":{"dependency":{"package":"zvariant","version":"5.15.1","advisory":"RUSTSEC-2026-0370","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":"f67f0700e108bacf2f3dfd2008273e31f01b0ea1f2d5f9ef71c4f46ace73bbe9"},"properties":{"dependency":{"package":"zvariant_derive","version":"5.15.1","advisory":"RUSTSEC-2026-0372","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":"cdf777cfd1eadb8a39c945c9c185ed6e4820a2f613ddde552bb3e5dc4d3cc41d"},"properties":{"dependency":{"package":"@vitest/mocker","version":"4.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE 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":"67324683aa15ecee93c2f4370d66846b81ea87d70762c32e13b445c38820bd79"},"properties":{"dependency":{"package":"glob","version":"13.0.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":"a16638c1c06070a35354a10c16d17a5f42aa4dfae20c57a2c0a149a2207b5be1"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","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":"96820d52fabfe1233767fe9a26eccb0c583af8ed321bce4fd0f712ad39d81b5e"},"properties":{"dependency":{"package":"minimatch","version":"10.2.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":"3a21115bdd18620dc8a9b0d69db034c81e979482bb95910885b98f2ef0398904"},"properties":{"dependency":{"package":"glob","version":"10.5.0","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":"c378b1656ca920601ce42a7de305c81aa4c79f789ffaf1fd586397f9d6fa4bb0"},"properties":{"dependency":{"package":"qs","version":"6.16.0","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":"11d147a9085d9592143c4262611e61175202be0f5a5ccd7ee261c95444727b5f"},"properties":{"dependency":{"package":"diff","version":"7.0.0","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":"45c573a89ac7f18446c8ba4814652eee044d8f55223ba3e53d2bbca2ea1e9f50"},"properties":{"dependency":{"package":"serialize-javascript","version":"7.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"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":"7984e7b377142afd34e9c569b94efd948c294ddafd05b40fe98d306fb5286175"}},{"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":"789c7ce01978fe5990742168c17cbc32199102e29767a6314d44be3008fa0c07"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"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":"games/src/games/sokoban.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d8c6dd21215f6477798d94abf0aaf0f694d9386790354c26c505d2e2085e0b"}},{"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":"games/src/games/breakout.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ee960a50d8873cb9b167e77854a6f20c2b72f3bad0a4d75b8996af356c34da"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 141 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: prelude/java/tools/compile_and_package.py, starlark-rust/starlark/src/analysis/flow.rs, games/src/games/jump.rs, starlark-rust/starlark_syntax/src/syntax/payload_map.rs, app/buck2_health_check/src/convert.rs, starlark-rust/starlark_lsp/src/bind.rs, prelude/ide_integrations/visual_studio/vsgo.py, app/buck2_health_check/src/health_check_client.rs (and 133 more) (143 orphaned of 2444 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; 2444 of the 3891 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":"prelude/java/tools/compile_and_package.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f7294baffcb1bdf09aa301a07da37529569c16f28d1fa4e273436da8445bff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/analysis/flow.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1438d7cf3dcf0a1b1cd83b29db401f9d79f323079c46117876817baa2cf90b7e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/jump.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6395e0ecfa027cf3d292ac32a5a94b03292b6700d6792bb7198b27ebbcda88"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/payload_map.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22944e35fc1957085b830b6fb5cad7019109eed14813bbae8d03d4f93b6a0d5c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_health_check/src/convert.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9aba95ded7d95215e5dbbdd21e83424fedac24e6e106ffb9d07444d9348845"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_lsp/src/bind.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6866f0ed208ae7aebadfc74ab4ff86f2f013d02efa72664701bdf40d882fd0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/ide_integrations/visual_studio/vsgo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d3cda43d6d3b5f259364cc9f619c1f3e1b7cdd8a13f0f281b9861b366a2fcc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_health_check/src/health_check_client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d6f0660114f6d7a7104e95afdc20955b26f53f95801d89b5d4c3083f958d08"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/java/tools/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ca16fedeb9979377e9b022d3828b22db554810da0d7d70132136c147971175"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/msvc/vswhere.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2839eeb7c8d2578e8837a6a70a3e005ff8c63b620d7bee2ab2dc2f16135367"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter/src/extra/xcode.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff01418e36f115147bc86fa9084ac7511d7113098a721584c434c270cd579bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebded90d8076151b3c680f3892b223d0f53cf389d535e0c36481219dacc7a379"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/interpreter/build_context.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49400c0c0a1b6a6a24cbe66f04ee726bd8e9ea8d525ce891b9b0dc1df02ecc6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/output_format_js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9b954855367a33a27881d9b5e3c27a114f8f80b8fa9ed63f246c5b1a958088"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/test_id_writer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31cf04fcd188ca2573ec8c4971e0102243e3d53d8df1d12b8d976762edb7bf8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/erlang/common_test/test_exec/src/ct_daemon_capture.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64b2fd5e0d4352a46479c87e75eef280fef45dd7278ab68654229e5ddd6347e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/dot_format_parser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9416aac7dbdd08fcc0daefdb56dfd905b967e60c837dd2fe99d51c96ca7cac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/analysis.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62055c18234845d9633bb482b998e152cd86ac5f6bb4c370a4b8a253ef5d2971"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/conan/buckler/conanfile.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd31eacafb6db22f9ec29885c81532641d506397f781ed8fb450e92ff7d2db30"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_starlark_debug/src/dap_api.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7a725cc5466f792096b5ae93c30007fcda128ec753be2e47f6c3e385f97ec7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/Target.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92e79bc5fd7370ef058a9039dcd467652982884a12c2d6ca7e7c0071145d286"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/file_tailers/tailer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0e732c8b338c1f0f6bcbbe70135b49c79740575ab5f00aaad21fddf89b813b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_observer/src/humanized.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb54a7658239ca535dca61945175806f19b6c8c947e951e5861aee215464c08"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/conan/conan_package.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"155f577c476671247b03697acfa400882ed6c2880ec6b7225d8998a4ec019b57"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"gazebo/dupe/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5edc33f550735a40fa1c20bb597b764c8f39972355a7e160b3a2c9c1088d6a6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/runtime/profile/typecheck.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4403f8a064f79f823f79ede8537ddaa295a9522f9d64ed1209f1df6b878ff0ab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/analysis/performance.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10401cc3e7c55010ec905193b0543677940ef6ba5652c975253a4fba77d608a7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/validate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e9eec9565aa1f370d4f072a4824936c019d96218c1d4156eea75838eb929c5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/testrunner/reportlayer/PerfettoReportLayer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c200486f108a81fc2f2602e41c8d60cde7bafae7727b4fa877444978ae9cc030"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/analysis/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c13dc2dfd4a8ce80b5cc467de2052dcef14de85b5f4ff33f8160e52ba0bb897"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/bundling/incremental_state.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"372cbdc25ab9bdf695d380598a22871c379feb0ac68091ec1cf3e1b430fc623f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/deferred/file_tree.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e64bc93cddf63524e491ebef6aa76427540bde2798a3630012aa0b26db0116"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api_tests/src/interpreter/rule_defs/provider/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5296ec7f618192bf3fefe7a04b82b9203f7ac53825371494ff121b2fee489da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/android/tools/unpack_aar.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec47e341c0e0f174979d2d29d6a812614fc6c8203ac02b4682ccf75a61e9b664"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_health_check/src/report.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1531057096d45bed565cd6133be59e61ef9a2b058d1cb3aec3a98595c14b0ea6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_directory/src/directory/directory_iterator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98dec120b43778e00bcae278b5616cdb4444c2ff153995bd0c96ac5b591d4b23"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/conan/conan_common.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04e4fc582b7720c6ab49541239f36402d77e3223efb78b9f02bb764f42d6591"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/multi_event_stream.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe756a0f41ce18e7ff6ae84f6e0b239c30bc3da78f989e96bef25b961f9cc9b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/runtime/params/display.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98320bfc42d6a2ab2b751db1f43e5123d1c7cd7e21d846b45aeb12693663177a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/layout/aligned_size.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0512f5e9dd1e804fd5dbd412c8780253243be83002c9019e9203061fcae1bc5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_starlark_debug/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8b537c25309c0cddced73378e042306ba16e6d55ce5b0d8a34d526ff18df6f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/layout/heap/allocator/alloc/chunk_part.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9aa519eee23fea667408dc240f509469858944229dd199db3d59b2c18720ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"superconsole/src/stdin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58901982d8277d238953b2cc88bfcc9b9d45afc79d0a4cdb06b36de03815716f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"superconsole/src/dimensions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ef80a61014c1e1fef3aeebe58b1b172b9f49f76d7aaafbe40e4f35ffd33c49"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/local_resource_state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99032e0b18bc7213e8e60eb11e5119b79caec38467e365b933e1c93c1c398f24"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_observer/src/debug_events.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77362909370bc7cd2b5a0a93bbe6a1972bc98b37b31fd6e96c93e296160fe8c6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da91cc8be03e3027f0fc52bb0d97a96e65087b7bba6e8d6eb8a204b4367c90f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/ide_support.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd90687cf2f04fdb14ec546526305b16cf40e8a95369e4fc942e40079473a49"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/api/demand.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4560050bc792c5227f5e9c9b961659b1c00198fccac4265b948b5bba124f648c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/runtime/profile/flamegraph.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a99b6c36545c3acaa2b1eb16a6347c138ce4229b133e4e01f38c8621b8b9d31"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api_tests/src/interpreter/rule_defs/provider/builtin/default_info.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d0f2e94d41ba35a6ed856b79d956d8f86ad4126d6ab149ed857afc66e6874f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_parser/src/spanned.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4d296c066239c1b2d4a26a9b1e70551f134eca650bd2ab09e4ca291b238fd5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/dialect.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d07284537878d1a9365d3586938a1aff40660da5757b6e599168c608a0ee17"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/host_info.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8631e4e36b8263b180dd2e13eb41c1733fcf9ea0a4121ec863aefa9271abc40"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/analysis/find_call_name.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"009ae0207d8d42847cfd1c9ba35ae93c6f26778e6067ecc4a66485f04e0ddede"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"superconsole/src/components/spinner.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a804f9ec6f7fac2a4a7098ac1d124cc7b40cb993864996df5d00f4721ff004"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole/message_renderer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d707d15a41f2662fee6c47e930df15470d1e912dc1157f819e168b965c109cf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/common/target_cfg.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef50ef17947ed49c8dc50f65650cdd28a7ef74c82a0393d98edc896f0a40aa92"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_ctx/src/pattern_parse_and_resolve.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fd234fa9c2a241f80a4e4f8de815311088e5a0f18f860cbfad05b1c4a7db2f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/sqlite/key_value_table.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bf022dd396c8b6180e019681f111d6894e1d1c4b407a858f5a44c70b4b941b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/syntax/call.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b40acafc8aebdb907d306b43dcc5cb615a60b37cde0901cc78ac537df7935f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pagable/src/impls/tuples.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28252b8e2a77c644556c473902c02358e191d44f16a37d69c127e03282990b82"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/conan/lock_generate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ed68f7c482cbe5a97605e4014efa128642b451f8997cefa88346318a327705"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_commands/src/expand_external_cells.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad035b08632fad7a50452aa3635badb147e219053019192276638b3193e5e363"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server_starlark_debug/src/controller.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2f7f4ed339123238d340deae6ff082283fb0770b67dac3d890b1ee2daf1f2e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_http/src/x2p.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bcb3bb317abb5929a3aba01d4a03fd29dd6c4db600da00bcb2f9d7335727bd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/conan/conan_generate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fde2342232789751ed04f5a0dec45651f47ad1cf76e8eaa3804fedec0a9b9d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query/src/query/graph/dfs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9beb32a4d50dfc9526ec13005f005f9168d70b867c5c21b5edc7044c3d0ce53"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_rage_client/src/source_control.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3144b72f062434c6f2474e72b5163a79eac2cb6136b01ffdf06ebfe8634649"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocative/allocative/src/impls/triomphe.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e81d90eef3c3aba708b6c40d03691c6a4f66b0a115763ac8172141e094e1b1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_error_tests/src/conversion.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61019dca0228a783e5638a0e0281fb0d9efb35dc1944f10653eb653da802475d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_util/src/os/macos/host_cpu_load_info.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc8034834fc79265589056306cdebbfa8024417229b530253abc9dc9c1ef3c5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/ipa_package_maker.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfddaba94793a43aef0750b58c7dfd2deb5f48f2be220f20265e5b9ef5ceccb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/async_once_cell.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e91ae76d3a480efa467e4ffff64b23d0405d781b20044a614d47487f41d4de"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_derive/src/module/simple_param.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3024c613ef426b1950ad5d48d0650a7043f60209923bc00145717ca487c876e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build/src/label.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"919f8d1931bc137d57697e4f2629a320bfd948c204b46bc567ed160f7487ce09"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/execute/claim.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a6dd41cc4e887e653b003200312f3cfdb6575e3aa1848cffb15218229e47c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_downward_api_proto/src/convert.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85616e874294e93bad2568dcd1663ce2b0027de282bde525fc12135ed8a69e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/framebuffer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc9c6b6f3bd65f2bdee99bd962797d1f98ba287ee2dc46a46a56f2c1bf31253"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/FirJvmSessionFactoryCompat.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06c832f62e07560d7fb80b1c292b6e9da4ff2277c68b5b3b2b118289bb6527a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/python/runtime/__par__/bootstrap.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91d198c3de9727b6fd9ad9153396ed650f2a6ef904944906fc6565563efbfb1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_log/src/ttl.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03235e1cb2d04bfec6fd23f9edcacda8640cf2b16ef7777cf95d94c25447c637"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/output_format_js/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c417353362362bad0c7c84d42be3076b9adc9a5e06bd2bf5011b3b92508ec93"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_data/src/action_key_owner.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67673000b7da548866365045e6898e3d5d61a1325203c34c98db9db6f9fe1c24"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"remote_execution/oss/re_grpc_proto/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1284b2e9c170b03353206cc69a401f0d6122efa1a6cbce4d1df90529b15d90e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/cxx/tools/linker_wrapper.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3b23fa482e1895a35314f0c5053d33ee63c8e62806c306be6303a644e322ce"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/configuration/builtin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b044580be5a31746ffb7076da6d4238e1ced72da969701a7a64751e414b1e7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/subscribers/superconsole/system_warning.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73e0190bf01ebfe19638897b5b4e0a80e609b25e471633c62b21673c0a14770"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_util/src/network_speed_average.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a19bfe1a3c2babb7031ca5438006bc0038ca9b151c3205f622c9ae6c56ee309"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/read_line.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a213ea6a4ee9907b296f8cf266aa5f03f5664a50a32054653ab6b1fb2b4a5ad5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_syntax/src/eval_exception.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4106731f46da9a0843a31f797be7127e632a1db3ff631e4eef7b0d14927cdbd6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build_tests/src/label.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32bd9f059bda11ff6133912de262888fb5f8ad108e05b12a4ec936aefe145be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/cxx/tools/make_comp_db.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08afbcb023c8f2a5299022c198c0634bc76555d0d0e31b2c5b8fc70b62ac7f36"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query_derive/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1678f6b339893f24563e3af791c38250da280c9891235516462a508e4b56a58"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/range/globals.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44ea72fc770b6ce845a19c3eb2d8611835cd278a25a562617598f770b5f874c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build_tests/src/uncategorized.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d4b4ae0e9808cebeb6a4304eead9926368d081eca22a150830d0ec1e8b8621"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_util/src/properly_reaped_child.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2bfaf207c446486e8d6b8c192a3b4b042d10edbac5c6b2a27d353b82948fea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/freeze_error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"171b6759a1065b0fa679d15972615641213c150dd3b6f3be4fe547e4cc02f7b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api_tests/src/interpreter/rule_defs/provider/builtin/validation_info.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff76e5e8547a53850ce031171725010f5a422b81935e44df2cad85534806e66a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/PipelineCompat.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4405e186e5458f251471fdf60eab22dd8410f510a1b2737c0fb521597633c6f2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_core/src/logging.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f3b4f34d2de30282791e81761094614b4ed9c9d02fe385469be0c4950a3590"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"games/src/games/jump/sprites.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d247bf68f45426257982edaad4af8bd1de5f5dcb118cc5cad4fa7850f85bbb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/output_format_js/src/graph2/GraphViz2.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fb1fe7efd7dc0be21ccbb694978d7d94169f2f379ae5fc3a8053d68f65445b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/python/tools/sourcedb_merger/inputs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14fafb452a295657aacca22a4160c86e107d10322b48eca224530116e03d6e5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api_tests/src/interpreter/rule_defs/provider/field_types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb0fdd1a44fd23816d520b2125ae66b1130f725699c71c84f002024f5ef194d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter/src/file_type.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea7efa77c0caf7b9aee939eef4f5ee69de150e94681ceccb697ffd1f5920645"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/graph2/GraphViz2.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76de544c5e5edbdfda41bd9490054ac3247711229ab6aee6e58152978ed613f1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/bundling/swift_support.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"398181a2a763c788b6fd0c95bbef6a699d8e733836cf8d783dbcc80215202e3d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/Router.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1f4a31f841bcab8f0856f7596657a37614170f5ea635a9d2b6d38cd5eeabf4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/materializers/artifact_type.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29c9c000362254cfc9a886f40b96a02e29dbf6d0c9415484bc6855ffb5e39e0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/runtime/before_stmt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f380347b3d6342054881e2a9a7771388ff55ae1469b1b4cce8098014c551dca"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/runtime/small_duration.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f986fe7a17d0f5faa0c9866f47763b5c5f683bbafaaeaaba179e577d6b451c25"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_util/src/golden_test_helper.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21b96df21ae05525ab75642aa431117ef34c05a7cc94199677080fee3a0f53c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/rlimits.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f581f99177b67a2a32ceca0ccaa1fdef86fe19fe79871b525b2665375978c3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_util/src/os/host_cpu_usage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a619131022b5d4acc7a6724a57e365de5cbcf18b87473638df23b4acbd935ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/conan/conan_lock.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d59f7ea00aafb77cc582a9c3ab4b1578f20716ad9b551aaad6dc81604728d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/types/num/typecheck.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8cc18675fa61cb40944d8d49db82b27e0f355e3e8d86aad33554e77dd89b73"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice_futures/src/drop.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b819ec18d118b03ecb072e60e79a4ee099febe2a262e2cfc1c64c1eface4156"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocative/allocative/src/impls/std/primitive.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8bed561a0bd97ec06408a3364fcf682fd0b5544860974337f575c32d76ce2e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_common/src/buckd_connection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bad98381d4498c330469e4d349c00b2fc9220c9ff6e2777cf678682c51d64b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/SearchView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"738e5506a8ad931fbfa2a35e68b06088e429e0a045691e5fcff420e7c5cb3e13"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocative/allocative/src/impls/dashmap.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc874ee7a89d8354f3b5046788daaa95d9e18a5dd48307f6ff30fc78d4403f3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/android/tools/native_libs_as_assets_metadata.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5040a096e0c0bc281c0a324c2d55d9ae6e0da32482fe43e55a7e3055caae1ec9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/attrs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5559e3283eca21efeeae301d28abc3ae81928b573ea847f9a363fea450fa6e09"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_event_observer/src/unpack_event.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1456dd32baf5d7ad4571a5b4817845fac1ea89b2397602aec4594b8e6df3a8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/execute/action_execution_target.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a5433faa6d33c1d7cd092a5a94fe7df9abed81b884072a50611c2368cc8abe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/conan/conan_package_extract.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d437bc9492ee452267da9e5363da105858cabd0a1bedc92546f2821b983127ec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocative/allocative/src/impls/bumpalo.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c1fc061f631dfa70b3e676359079d86e2da4317d895abac8a3fb3235946b4a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/nodes/configured_node_ref.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd9cf809a4d8686e70df3108babe1941b070428401178dda7f83f3b19efb447"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/make_vfsoverlay.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e0ce336b78d2a60f3b759f8ec699d5aa5ae41a87b1af16c1c0befac71369c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/jemalloc_stats.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4705120dc945b1c722cec9df77ebd6d998935b9cd9dce933c76d6ea3803a618"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_query/src/query/graph/bfs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd894e2778244b9de4c538f8ee9a32048fe4f62ff5cba28c63851c88cf3d647"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/eval/runtime/file_loader.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc519f05b7c30a6d66ff69e8129aa6edce4627b0148e67b0f6588a1175338f8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_util/src/os/win/network_interface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e55414b5ef89a9e1a0ac8bf783f5b1bf7a4bd65dfda1a0178ce739af95d4b82"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/io_provider.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05571773c87cc81aff9b96987d8b9e5ac354ffa91a9c5448eb35ed4992df4fd8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocative/allocative/src/key.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ef92d80440dd177c08319d74596e09aa77cc5471bc0c15f8e051231a4c7bcd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark/src/values/layout/heap/profile/by_type.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d396625242735339eafed7eb279d0ed86de772ff33b5a72d0495aa0899b6ab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_query_server/src/query/starlark_profile.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5880e5479a83c01856489bdcc7a5e7e9710c8fa240cf51eb1dca478b316692"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cmd_log_client/src/diff/diff_options.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"450fbcf5068b80baa245d43373f8fdc8e52ac4f2cd3d7841e75df04b9c4ef039"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"allocative/allocative/src/impls/std/tuple.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e78364a66521316cc4f4c818d1b2886c9390a46c937dbe2cb4af31290ee02e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_client_ctx/src/client_cpu_tracker.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"265292f157ec105af7e5bc26f87322142be83327306e559fd79082e47db9d4cf"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: tests.rs \u2194 ctx.rs: \u0060app/buck2_interpreter_for_build_tests/src/tests.rs\u0060 (context buck2_interpreter_for_build_tests) and \u0060app/buck2_server/src/ctx.rs\u0060 (context buck2_server) sit in DIFFERENT parts of the tree yet change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006055369991\u0060 settings: Add the dice scope, with starlark.max_callstack_size as the\u2026; \u00600b9b2935\u0060 fs: Project-global and static ignore set; \u006035c27eb3\u0060 Add package_visibility.default_intersection setting \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_interpreter_for_build_tests/src/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c2b33c6133205e4efddc9df95fb68753ccbf0d7dd501ca90e0264966999647"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: remote_action_result.rs \u2194 local.rs: \u0060app/buck2_execute/src/re/remote_action_result.rs\u0060 (context buck2_execute) and \u0060app/buck2_execute_impl/src/executors/local.rs\u0060 (context buck2_execute_impl) sit in DIFFERENT parts of the tree yet 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060019e1142\u0060 Change critical path to use TimeSpan instead of duration; \u00607380a005\u0060 cgroups: Log suspend count; \u0060118f0280\u0060 cgroups: Don\u0027t double store \u0060was_suspended\u0060 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute/src/re/remote_action_result.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9392b741c77c8fd51fa8f7c6f71c1ceb62693cc53f3bc8c2116187f7971d62f6"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: process_group.rs \u2194 service.rs: \u0060app/buck2_execute_local/src/process_group.rs\u0060 (context buck2_execute_local) and \u0060app/buck2_forkserver/src/service.rs\u0060 (context buck2_forkserver) sit in DIFFERENT parts of the tree yet change together 55% of the time (6 of the 11 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006025d44ca5\u0060 Kill a timed-out test\u0027s detached processes on hosts without cgroups; \u006008577e9d\u0060 Let timed-out tests report what they were doing; \u0060bf0f5f28\u0060 cgroups: Perform action freezing in the executor \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_local/src/process_group.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b753363273562b4689bd44cce8b112e9e9de78535c961ea77fb533566a9504"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: download.rs \u2194 orchestrator.rs: \u0060app/buck2_execute_impl/src/re/download.rs\u0060 (context buck2_execute_impl) and \u0060app/buck2_test/src/orchestrator.rs\u0060 (context buck2_test) sit in DIFFERENT parts of the tree yet change together 52% of the time (11 of the 21 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u00606ee6820a\u0060 Record missing materialized inputs on local command failures; \u00607d2ed316\u0060 materializer: Materialize the remaining value-holding callers through\u2026; \u006018d2227f\u0060 materializer: Add \u0060prepare_outputs\u0060 and take an action\u0027s outputs leas\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/re/download.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2b8165b2d617d87c86b762d8fe75f8d4ccc9155a7d0c709c9765c203d829f7"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: lib.rs \u2194 calculation_apply_transition.rs: \u0060app/buck2_cfg_constructor/src/lib.rs\u0060 (context buck2_cfg_constructor) and \u0060app/buck2_transition/src/transition/calculation_apply_transition.rs\u0060 (context buck2_transition) sit in DIFFERENT parts of the tree yet change together 50% of the time (10 of the 20 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060a854705b\u0060 types: Rule, attribute, package and transition list parameters are li\u2026; \u0060dea81bbc\u0060 Preserve exec platform markers across configuration changes; \u0060b5e53555\u0060 Revert D96871697 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_cfg_constructor/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"856acfa2bb6c3d138396d03293d810cb16b0bc6975db40b9908f72cba7bf8623"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: action_cache.rs \u2194 ctx.rs: \u0060app/buck2_execute_impl/src/executors/action_cache.rs\u0060 (context buck2_execute_impl) and \u0060app/buck2_server/src/ctx.rs\u0060 (context buck2_server) sit in DIFFERENT parts of the tree yet change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060c70c2a3b\u0060 incremental: Record an incremental action\u0027s last outputs; \u0060f8aa1b00\u0060 materializer: Route find_missing through the presence check; \u0060ac054b76\u0060 materializer: Materialize local action inputs through \u0060materialize()\u0060\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_execute_impl/src/executors/action_cache.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce71f0f0202edc6ccf183b19f17b842412c8c3f001134be2c08c66ecf05c626"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: interface.rs \u2194 interface.rs: \u0060app/buck2_file_watcher/src/edenfs/interface.rs\u0060 and \u0060app/buck2_file_watcher/src/watchman/interface.rs\u0060 change together 100% of the time (10 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 10 shared commits counted here, the most recent 3 are \u0060e814f2dd\u0060 fs: Report file changes as project relative, not cell relative; \u0060bab96a04\u0060 fs: Make file updates project relative; \u0060d3a84c6f\u0060 fs: Reland more dice keys at io level \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_file_watcher/src/edenfs/interface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf71b901d55b852935fbfe2ab8f69fa78632a6e800a07b0ae201b99a644e8b3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: logging.rs \u2194 longest_path_graph.rs: \u0060app/buck2_build_signals_impl/src/backend/logging.rs\u0060 and \u0060app/buck2_build_signals_impl/src/backend/longest_path_graph.rs\u0060 change together 91% of the time (10 of the 11 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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u006008e9395a\u0060 Derive package-load discovery edges from DICE deps instead of walking\u2026; \u00604858648f\u0060 maps: Convert the direct \u0060std::collections\u0060 map holdouts in app; \u0060e00fc966\u0060 Reland D96227005: Add anon target nodes to critical path \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_signals_impl/src/backend/logging.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e5c22189254fcf5aa74b8762710d60f7de6dec408c85d30ec1067159266188"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: in_memory.rs \u2194 testing.rs: \u0060pagable/src/storage/in_memory.rs\u0060 and \u0060pagable/src/testing.rs\u0060 change together 69% of the time (9 of the 13 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 9 shared commits counted here, the most recent 3 are \u0060e92c5665\u0060 Drop a cancelled page-out\u0027s queued rows instead of draining them; \u00607822b57e\u0060 Evict page-out values only once their rows have committed; \u0060c8acaf22\u0060 Reuse DataKeys during concurrent page-out \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pagable/src/storage/in_memory.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da503c33f56ac22fa48d74d294555056376b24037175f5fa2e3bcafb069e428"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: tests.rs \u2194 state.rs: \u0060dice/dice/src/core/graph/tests.rs\u0060 and \u0060dice/dice/src/core/state.rs\u0060 change together 67% of the time (12 of the 18 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 12 shared commits counted here, the most recent 3 are \u0060b4ce542b\u0060 Freeze eviction sweeps at their start; \u0060861a407f\u0060 invalidation: Replace invalidation paths by source versions; \u006076910f8d\u0060 Log memory-pressure evictions and evictable bytes \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/core/graph/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b7ad1edb6afe36079bc253b84286d910bae0a84cd7dbd55014ef352fc501a7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: tests.rs \u2194 processor.rs: \u0060dice/dice/src/core/graph/tests.rs\u0060 and \u0060dice/dice/src/core/processor.rs\u0060 change together 67% of the time (12 of the 18 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 12 shared commits counted here, the most recent 3 are \u0060b4ce542b\u0060 Freeze eviction sweeps at their start; \u0060861a407f\u0060 invalidation: Replace invalidation paths by source versions; \u006076910f8d\u0060 Log memory-pressure evictions and evictable bytes \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/core/graph/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3761c4aa6bd16f427d4c5d364ea27cadacb164c6d762165089e417afc9aef2a9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: context.rs \u2194 testing.rs: \u0060pagable/src/context.rs\u0060 and \u0060pagable/src/testing.rs\u0060 change together 62% of the time (8 of the 13 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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060a23fb099\u0060 Pair a taken arc key with its page-in scope; \u0060310aa92e\u0060 Read an arc slot\u0027s key without fetching it; \u00607ceee7ac\u0060 Read scalars without erasing the deserializer \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pagable/src/context.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6a2b746a3267cde47378f92546cd779cd4dd1f42d440550f7b72de24d9cad1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: KosabiStubgenStep.java \u2192 KotlinExtraParams.kt, KotlinExtraParamsSerializer.java, KotlinCStepsBuilder.java: \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/KosabiStubgenStep.java\u0060 changes together with 3 other files \u2014 \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/cd/command/kotlin/KotlinExtraParams.kt\u0060, \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/cd/serialization/kotlin/KotlinExtraParamsSerializer.java\u0060, \u0060prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/KotlinCStepsBuilder.java\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/KosabiStubgenStep.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"652c7d9d9aa411fbc6444c12e4f812f4fcb6c52b8478870826462c44a82da6cc"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: evaluator.rs \u2194 opaque.rs: \u0060dice/dice/src/epoch/evaluator.rs\u0060 and \u0060dice/dice/src/opaque.rs\u0060 change together 50% of the time (6 of the 12 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 \u0060861a407f\u0060 invalidation: Replace invalidation paths by source versions; \u0060d5db6ee6\u0060 cycles: Run the cycle detector in the background; \u00606aafa001\u0060 hypermodern: Check dependencies by revision equality \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice/src/epoch/evaluator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"110fbcdd926d453775843bf4565a5a2fc50d75fc7cf0a875fb09c267236d24f7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: write_json.rs \u2194 write_macros.rs: \u0060app/buck2_action_impl/src/actions/impls/write_json.rs\u0060 and \u0060app/buck2_action_impl/src/actions/impls/write_macros.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, 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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006019c73231\u0060 Fix write-during-read race condition in immediate materializer; \u0060165a8c31\u0060 writes: Rename \u0060CommandLineFormatter\u0060 to \u0060CommandLineBuilder\u0060; \u0060a87e98cf\u0060 writes: \u0060CommandLineBuilder\u0060 -\u003E \u0060CommandLineSink\u0060 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_action_impl/src/actions/impls/write_json.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d50226434d5073e12f16b5335fe85c9320fd9e418af579b7e0920057bc09fe8"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"706a0b0d0dabc268bb15d8233c0833b981e5028012f4cf9819f821b057d45318"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0371e7c0e0ebf605ea7f4ac0da80171a249a84c56561bcb25aabc290574b5d34"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b058332ff407451abb931b3eb40646b6cc1e5cafa9d83099eac610d0d352a1d"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/SearchBox.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"366369539f64ccdffe15cad50ecc78772d67fcc3f6e62395357dc109cb4f88de"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1cbafd209991fa65023b5cc891906017283c08804168c1cfb59f70dba6618d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e06c3fdf701f4872ba7f259e1ef479b692473977767a312e93811dafce5b7ba"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"8843a3fd4a4be07a13f2fe954b794361d4a91a607b802516ab5d9fc7f002c19f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2831a0c29d9f53a18d38d9ba76e476b9d21d858a380b381ebb022608a71545"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"3858dddb7ad48591b3ce0b28b006ab8b6a77b1fda4ddf7fb942ba56ac88b8149"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/output_format_js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"7409b4ff0e8609e035e1fc0c5f1f406c1a7f3793aad7e0b9cb4b951304541bbf"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/output_format_js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01d7421bae65b316b6ca6a634bbaf4ba7d069a52def640d78b45c7cd91d9888"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/output_format_js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b86ac2d9d4798558be2f12df4715afe4e6e3b21281ddcd4acf3c851f70b238d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/output_format_js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e98d3dc9da52259f994af4fccd4bb4f0be815783fdedda191501ca137ae075b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/output_format_js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf73964bd4059a505fd1a4c76294bb2ec5e882367e1e2ed92275c4d928bf5e1"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"435115c8bc878d4518b195064ce4c4c168f5a4d7e33782ef96c6181d99352ec9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f658532d5eb48b26ede9e30c30294f40cb9ff80367000cb2e0a41d0889e740"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/TestResultsTab.tsx"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"3483ecabae06ce766a80935ce05264f896417ea654a69ca6a0d22a5a1ccb583e"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/event-log/EventLogToolbar.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"074ac802a3a4f99909ba340bc42c492233dadcb5f39ae86a5edf04aa48a67483"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"explorer/index.html"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"360166fb29f3248a8d1c15928fdec37f2874e1a1944fcf926b5f44fa91630f75"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"explorer/index.html"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bcd9273693d19d938e929ef2db0823066d49221be7c59c643639e3a7aecf4a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"explorer/index.html"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c587d226b6855e643fbe8bf925691b94c4dbd45cf7135e7c42091782b914daf"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_js_example/index.html"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1273db1687e2357458590434cc5c39ed85433890eaf58d4fbce1f263b61c7499"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_js_example/index.html"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3891e443b00acf8527da393e2a66877beff6886ca8357d6e2253077e9420bd79"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022root\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d565270752582ac498ff18a26170eefb091cd5a17d7f7897bfd2a820d273fa"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022root\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/output_format_js/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d791de1e2685e92bef5b2d6a2926fc7762716aa6f2034214505825a7c792e5b9"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Cdiv id=\u0022root\u0022\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5028a26853e7418d11488a87497968acbb394844800b9151656eaf991e281a3f"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Ciframe\u003E without a title: An iframe with no title (or an empty one) is announced only as \u0022frame\u0022. Add a non-empty title describing its content, or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/PerfettoEmbed.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaea154e70ddd4fd0eca7cc959e97f282b14184dbd48cf5a445795b07addf826"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"explorer/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a62b82610c98d9c3393b55d2d5818179f0f0844586cc5cf6dfef13d7d917e41"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"explorer/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab934482aa9600cd0ce71b2c32c307046e6ed02fa2a9a368dd173d8de34ea10"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"starlark-rust/starlark_js_example/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"16989c8bb1f7a2b7045eabbb91dd1d586b4f2becce61b302621f76c81f54256b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ee78d3f084cf3b987196b1c793fda36f79f71975c7279ba06929fce4ad056e"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb20d8dfca58827bd6568f6603bb9cdf3e961f663064d505d341213cf6e8d73d"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"71784dd574ead11807065fceb32446b4e93fbaa31c9936b4a198f935cab1a195"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Crect\u003E: This \u003Crect\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4ca1a88b698d56b6a2eb766f912dc78e07f1ac0fb33ef959235c304cd760bd"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/InvocationBar.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f70e018fe56e30f4fe48bd466becfada63fecf070beddf0e5c8da1cb08178db"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Crect\u003E: This \u003Crect\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/LoadTreemap.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a39d6f01c2e36ce1762109970e4925b51abae5b368a67a896b33e7daa1e2e0"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cth\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/TestResultsTab.tsx"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"f902e057e5072b270a2da9b0389a4e9ee22125e2df7f9ea07b2938e69f27f8e1"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cth\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/TestResultsTab.tsx"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"682923da4fcc89fe9cba9f5746935de30811ba84f6a30d179b121c0c9b8a726c"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cth\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/TestResultsTab.tsx"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7fab16588c8e5dd2eee181f7d1b88543b9039c07c749f7a5f90bfa65222b9d"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cth\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/TestResultsTab.tsx"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0c3badef47afa8925fa64c5b5239d86b27363e2a3d460f7dbbe0a61cc286d3"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ctr\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/TestResultsTab.tsx"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"724ca669b978acd0c479a12618863567e95c2e9d2ebbb1eaec31ca9870b1024c"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/event-log/EventLogTable.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d8031d88b81cbb4321200e3fdd15f801f61b2c38331ffd678fb22936adc014"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ctr\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/event-log/EventLogTable.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"af679bbfd7d0561bab03111522cfeec915791e27ca83b4d4bae72e36d554cd0b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/event-log/EventLogToolbar.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2d2b122f3e375e0245fa1b8da8a464a27ca80076daab4ad1ffda4147d8a044"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/event-log/FilterableValue.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"292d68e7b5bec07186f0c84f72cb9a8b9914db9380e9049661613bcc4895982f"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A script attaches a click listener to this \u003Cdiv\u003E, but it has no role, no tabindex and no key handler, so it can only be operated with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"explorer/index.html"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a2dc375c224b3b85a4d2bef9334ec4ef2d8d65af1313c41bada50573bbd97c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/InvocationBar.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca7627aa6bd4cc7f60f5371e0331ceb9b59ad549c0bc927fd00ab125724882c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/ui/Input.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d22f0703323dec984b47f7a0a7eda910f3916f1dbad14354c9a632b43e7a887"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cdiv\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/ui/Tabs.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb0b5b103e34f08fc58985ea20776cd68748de316a56b6f42e7dcf70395a709"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 3 public types in \u0060buck2_build_api.actions.impls.expanded_command_line\u0060 are marked as implementation by their own namespace, folder or name: \u0060ExpandedCommandLine\u0060 (app/buck2_build_api/src/actions/impls/expanded_command_line.rs:19, \u0060impls\u0060), \u0060ExpandedCommandLineDigest\u0060 (app/buck2_build_api/src/actions/impls/expanded_command_line.rs:27, \u0060impls\u0060), \u0060ExpandedCommandLineFingerprinter\u0060 (app/buck2_build_api/src/actions/impls/expanded_command_line.rs:47, \u0060impls\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/impls/expanded_command_line.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f66a16a24a39990ec1543ccc628b90aef928512c234ec30c1da0dab84cf6ff"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 3 public types in \u0060buck2_build_api.actions.impls.json\u0060 are marked as implementation by their own namespace, folder or name: \u0060SerializeValue\u0060 (app/buck2_build_api/src/actions/impls/json.rs:60, \u0060impls\u0060), \u0060JsonArtifact\u0060 (app/buck2_build_api/src/actions/impls/json.rs:122, \u0060impls\u0060), \u0060JsonUnpack\u0060 (app/buck2_build_api/src/actions/impls/json.rs:131, \u0060impls\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/impls/json.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70b91437a59228ec3d9c1ca30c1c6ea2e4f59d2e2fe6022cc39d62e014fc988"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 3 public types in \u0060buck2_build_api.actions.impls.run_action_knobs\u0060 are marked as implementation by their own namespace, folder or name: \u0060RunActionKnobs\u0060 (app/buck2_build_api/src/actions/impls/run_action_knobs.rs:23, \u0060impls\u0060), \u0060WriteActionCacheMode\u0060 (app/buck2_build_api/src/actions/impls/run_action_knobs.rs:61, \u0060impls\u0060), \u0060HasRunActionKnobs\u0060 (app/buck2_build_api/src/actions/impls/run_action_knobs.rs:89, \u0060impls\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/impls/run_action_knobs.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41eaaa31c60cd8c1e3e5f0a20bb23e52f874920cb0bfe5d9d15aec77063b399"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 2 public types in \u0060buck2_build_api.actions.impls.write_action_cache_stats\u0060 are marked as implementation by their own namespace, folder or name: \u0060WriteActionCacheStats\u0060 (app/buck2_build_api/src/actions/impls/write_action_cache_stats.rs:17, \u0060impls\u0060), \u0060WriteActionCacheCounts\u0060 (app/buck2_build_api/src/actions/impls/write_action_cache_stats.rs:41, \u0060impls\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_build_api/src/actions/impls/write_action_cache_stats.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a91dff19751536899c30b5b1016b0827d0a9bcbaf133b67ecf1abc090476d45"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060buck2_build_api.analysis.calculation\u0060 is marked as implementation by its own namespace, folder or name: \u0060RuleAnalysisCalculationImpl\u0060 (app/buck2_build_api/src/analysis/calculation.rs:48, 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":"app/buck2_build_api/src/analysis/calculation.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7d312f0c402a47ecbf43b7975616eabd111b29ca3e064632d978c4e8b7ba16"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060buck2_build_api.interpreter.rule_defs.cmd_args.command_line_arg_like_type\u0060 is marked as implementation by its own namespace, folder or name: \u0060CommandLineArgLikeImpl\u0060 (app/buck2_build_api/src/interpreter/rule_defs/cmd_args/command_line_arg_like_type.rs:15, 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":"app/buck2_build_api/src/interpreter/rule_defs/cmd_args/command_line_arg_like_type.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e94d8acc8bf45196f903efa26e3475fe9d20c99acb02f21d1080e42d7339e39"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060buck2_build_api.interpreter.rule_defs.cmd_args.traits\u0060 is marked as implementation by its own namespace, folder or name: \u0060ArtifactPathMapperImpl\u0060 (app/buck2_build_api/src/interpreter/rule_defs/cmd_args/traits.rs:189, 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":"app/buck2_build_api/src/interpreter/rule_defs/cmd_args/traits.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc0153801184de838bda881f8f087cccb3d2cbe7f5986a4d7e401c3ccf3cf2e"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060buck2_build_api.validation.validation_impl\u0060 is marked as implementation by its own namespace, folder or name: \u0060ValidationImpl\u0060 (app/buck2_build_api/src/validation/validation_impl.rs:17, 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":"app/buck2_build_api/src/validation/validation_impl.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d27d18d38c82578857f7487cb5c852237dbf0665747d0d575ea47246d08941c"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060buck2_build_signals.node_key\u0060 is marked as implementation by its own namespace, folder or name: \u0060BuildSignalsNodeKeyImpl\u0060 (app/buck2_build_signals/src/node_key.rs:23, 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":"app/buck2_build_signals/src/node_key.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2dfbaa74fae5c851a0a5d216876c3cd6eb0b9d3c62b9bc8795fd364236aa4b6"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060buck2_client_ctx.subscribers.superconsole\u0060 is marked as implementation by its own namespace, folder or name: \u0060StatefulSuperConsoleImpl\u0060 (app/buck2_client_ctx/src/subscribers/superconsole.rs:441, 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":"app/buck2_client_ctx/src/subscribers/superconsole.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb466d18fbf0f4f491477e023cf51ba085a7a51285d139addc0fbd153271baa"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060buck2_common.external_cells\u0060 is marked as implementation by its own namespace, folder or name: \u0060ExternalCellsImpl\u0060 (app/buck2_common/src/external_cells.rs:23, 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":"app/buck2_common/src/external_cells.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"483a6bec95d9a02cf7a969873f23b813571fc347dad8bdb77a0a4bde0f6b5f8a"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 2 public types in \u0060buck2_dynamic_actions.storage\u0060 are marked as implementation by their own namespace, folder or name: \u0060DynamicLambdaParamsStorageImpl\u0060 (app/buck2_dynamic_actions/src/storage.rs:47, name ends in \u0060Impl\u0060), \u0060FrozenDynamicLambdaParamsStorageImpl\u0060 (app/buck2_dynamic_actions/src/storage.rs:53, name ends in \u0060Impl\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_dynamic_actions/src/storage.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6c36ebc00409e99d89b3dcf883ad1572ab5f952c105eb638d7e6e2b9f8277b"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 2 public types in \u0060buck2_fs.cwd\u0060 are marked as implementation by their own namespace, folder or name: \u0060WorkingDirectoryImpl\u0060 (app/buck2_fs/src/cwd.rs:50, name ends in \u0060Impl\u0060), \u0060PortableWorkingDirectoryImpl\u0060 (app/buck2_fs/src/cwd.rs:102, name ends in \u0060Impl\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_fs/src/cwd.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4121f24c763d884b204ac0366d551824f1a757d31a4d3342c723ac776fd39cf1"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060buck2_interpreter.load_module\u0060 is marked as implementation by its own namespace, folder or name: \u0060InterpreterCalculationImpl\u0060 (app/buck2_interpreter/src/load_module.rs:27, 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":"app/buck2_interpreter/src/load_module.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"250e5db3b41f4e8672e529008bde9215fc1fe2ec2d3a4e8bd288a51cffbc8815"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060buck2_interpreter_for_build.super_package.package_value\u0060 is marked as implementation by its own namespace, folder or name: \u0060SuperPackageValuesImpl\u0060 (app/buck2_interpreter_for_build/src/super_package/package_value.rs:56, 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":"app/buck2_interpreter_for_build/src/super_package/package_value.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"413b48923dc71f8cc3380db27bbb12d03fb9310958c739bebf5b0344cc156766"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060buck2_node.attrs.configuration_context\u0060 is marked as implementation by its own namespace, folder or name: \u0060AttrConfigurationContextImpl\u0060 (app/buck2_node/src/attrs/configuration_context.rs:139, 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":"app/buck2_node/src/attrs/configuration_context.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"604226c125915a83231bb34aed658ec7da4542b1a586441da1dff98afec609b7"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060buck2_node.call_stack\u0060 is marked as implementation by its own namespace, folder or name: \u0060StarlarkCallStackImpl\u0060 (app/buck2_node/src/call_stack.rs:28, 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":"app/buck2_node/src/call_stack.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5aac70dcbd8c86fb621e33b80bc13edc9cd4064d192d5bd6bb53ee2ef0cf4bb"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 2 public types in \u0060buck2_node.cfg_constructor\u0060 are marked as implementation by their own namespace, folder or name: \u0060CfgConstructorImpl\u0060 (app/buck2_node/src/cfg_constructor.rs:38, name ends in \u0060Impl\u0060), \u0060CfgConstructorCalculationImpl\u0060 (app/buck2_node/src/cfg_constructor.rs:120, name ends in \u0060Impl\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_node/src/cfg_constructor.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"67061e830b19e3e1f6b50cef8e722a5609ea73a28f15ae612bd3289c0ce74fb4"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060buck2_node.execution\u0060 is marked as implementation by its own namespace, folder or name: \u0060GetExecutionPlatformsImpl\u0060 (app/buck2_node/src/execution.rs:44, 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":"app/buck2_node/src/execution.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63f47dfb32510097bcb8e614bea13a2d397b7ca3c49076723d4dd8df65e4d0a"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060buck2_node.nodes.configured_frontend\u0060 is marked as implementation by its own namespace, folder or name: \u0060ConfiguredTargetNodeCalculationImpl\u0060 (app/buck2_node/src/nodes/configured_frontend.rs:20, 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":"app/buck2_node/src/nodes/configured_frontend.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7d991b1e867df0377493b776da28e693c64b214b870c9141f8a9d9b51ecd56"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060buck2_node.nodes.frontend\u0060 is marked as implementation by its own namespace, folder or name: \u0060TargetGraphCalculationImpl\u0060 (app/buck2_node/src/nodes/frontend.rs:30, 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":"app/buck2_node/src/nodes/frontend.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebed0670fa06158cc51d8b7068273424558c95aafa00f5d9cdcc66c0793499c"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060buck2_node.target_calculation\u0060 is marked as implementation by its own namespace, folder or name: \u0060ConfiguredTargetCalculationImpl\u0060 (app/buck2_node/src/target_calculation.rs:24, 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":"app/buck2_node/src/target_calculation.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"65da4724679f1029194f272e21573045d55f4ab824cf27ab0507c74d389b6235"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060buck2_re_configuration\u0060 is marked as implementation by its own namespace, folder or name: \u0060RemoteExecutionStaticMetadataImpl\u0060 (app/buck2_re_configuration/src/lib.rs:22, 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":"app/buck2_re_configuration/src/lib.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a040eb4fecf537e7994991e07f94ed331dab462bdf891931f254097918b6db6"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060dice_error.error\u0060 is marked as implementation by its own namespace, folder or name: \u0060DiceErrorImpl\u0060 (dice/dice_error/src/error.rs:54, 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":"dice/dice_error/src/error.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c99fd03f25909d26e451e51dd8295f2993880185b4734d738c2c0e4b73001a"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 2 public types in \u0060pagable.context\u0060 are marked as implementation by their own namespace, folder or name: \u0060PagableSerializerImpl\u0060 (pagable/src/context.rs:32, name ends in \u0060Impl\u0060), \u0060PagableDeserializerImpl\u0060 (pagable/src/context.rs:95, name ends in \u0060Impl\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pagable/src/context.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"63481ab84ebb69ce3bb0c3bd67bec9eb733b03ff8f633f6c04f50eda88f7d8aa"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060pagable.deser_recipe\u0060 is marked as implementation by its own namespace, folder or name: \u0060PagableDeserializerRecipeImpl\u0060 (pagable/src/deser_recipe.rs:53, 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":"pagable/src/deser_recipe.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2e18f7b1258f0acea778b2cdac7f05d4b8b0f0268e705db612988af9eecc47"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 6 public types in \u0060pagable.impls.static_value\u0060 are marked as implementation by their own namespace, folder or name: \u0060StaticValueEntry\u0060 (pagable/src/impls/static_value.rs:40, \u0060impls\u0060), \u0060StaticValue\u0060 (pagable/src/impls/static_value.rs:72, \u0060impls\u0060), \u0060StaticValueRegistry\u0060 (pagable/src/impls/static_value.rs:132, \u0060impls\u0060), \u0060HasStaticValueRegistry\u0060 (pagable/src/impls/static_value.rs:152, \u0060impls\u0060), \u0060StaticStrEntry\u0060 (pagable/src/impls/static_value.rs:195, \u0060impls\u0060), \u0060StaticBytesEntry\u0060 (pagable/src/impls/static_value.rs:218, \u0060impls\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pagable/src/impls/static_value.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b3110e6dfd60be137f65a813ccd3e8a89aa9e42156b44788bcb01226d159d6"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060starlark.pagable.starlark_serialize_context\u0060 is marked as implementation by its own namespace, folder or name: \u0060StarlarkSerializerImpl\u0060 (starlark-rust/starlark/src/pagable/starlark_serialize_context.rs:438, 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":"starlark-rust/starlark/src/pagable/starlark_serialize_context.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"f149a89f53b94a343aa096b9533822c1e94115da5721028de636fa223124ecdd"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 10 public types in \u0060retrace.detail\u0060 are marked as implementation by their own namespace, folder or name: \u0060StageProv\u0060 (tools/retrace/src/detail.rs:32, \u0060detail\u0060), \u0060Stage\u0060 (tools/retrace/src/detail.rs:68, \u0060detail\u0060), \u0060CpAccounting\u0060 (tools/retrace/src/detail.rs:624, \u0060detail\u0060), \u0060StageMark\u0060 (tools/retrace/src/detail.rs:706, \u0060detail\u0060), \u0060StageLine\u0060 (tools/retrace/src/detail.rs:755, \u0060detail\u0060), \u0060DataMoved\u0060 (tools/retrace/src/detail.rs:1735, \u0060detail\u0060), \u0060Row\u0060 (tools/retrace/src/detail.rs:1818, \u0060detail\u0060), \u0060PopupCtx\u0060 (tools/retrace/src/detail.rs:1837, \u0060detail\u0060), and 2 more. While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/retrace/src/detail.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8ce289dff8159945e2306358157fc909f7832e6dec9de8550c9ebb8c7c354a"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 43/47 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060app/buck2_external_cells_bundled\u0060, \u0060app/buck2_grpc\u0060, \u0060app/buck2_miniperf\u0060, \u0060dice/read_dump\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060app/buck2_explain/js/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/package.json"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f156f8d3412e7ad0f53ae5790e24935ab5e8dfcf9580d983ddc51234381fcf7"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::builder(TokioExecutor\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_http/src/client.rs"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b861c7ab10439a56a2c340591f58d9ba2ae5c88323690da8e667558c48a460"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::builder(TokioExecutor\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_http/src/client/builder.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5071c43e23f69fb2a24d84813a3c99d147fc552f041c629ee92760cc47118bb"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::builder(TokioExecutor\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_http/src/client/builder.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b714014f6c20c76acc081a901173a6170c3ca59fbc59ad294dd1ef4f06c0ca"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::builder(TokioExecutor\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_http/src/client/builder.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21d97dc73d6a2ef8021f669d5bbe70fdd83b187ba5ba5602fc1c5035ad297f0"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::builder(TokioExecutor\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_http/src/client/builder.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"1563dac9e44db7967cf0d99a6998e025a1650eb34222b854db450e0a7d34df3d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::builder(TokioExecutor\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_http/src/client/builder.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a98e2a70d8684e10a747621d1a4b3724c9b793f2f02b300a37d75fed9acce9"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::builder(TokioExecutor\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_http/src/client/builder.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4973de3452933b1a6946ae89bc4fa1d7cb34ab5debb11d5be43ff1c3569dc9"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::builder(TokioExecutor\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_http/src/client/builder.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"d511901ba770507d8fd0d76a2f36c7272cb7274e4de31ad0ffc3ce3ea1f6e375"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060Client::builder(TokioExecutor\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_http/src/client/builder.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f2a002affdf9089041b08fdc9454b953dc28e83f6e7f1bd5b8d00482d971bc"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060.openConnection(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/toolchains/android/src/com/facebook/buck/jvm/java/fatjar/FatJarMain.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"33754cd634c71131545263b1f4939964a3a13337bb14440c67861737fb078c23"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060spawn\u0060 is async and calls block_on \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_resource_control/src/memory_tracker.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc82814ec3a40caded31bd4fa29a7b3be2a721a3a941868bb10be2b301b0759"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060compute\u0060 is async and calls thread::sleep \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice_examples/bin/many_cancel.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4a3a01b7f95c103816082b04627d6a7381646b78d0b9a1bbc5d68357958d52"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060compute\u0060 is async and calls thread::sleep \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice_examples/bin/many_cancel.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"74563644116dbf6a71ec300e0c40f8ad6cfaea8a312b919d8a98e8beaf6991c0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060compute\u0060 is async and calls thread::sleep \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dice/dice_examples/bin/many_cancel.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3481426dd11b57d5f87a109e159bd49b8e6fcb9eb1c15ed789b6c1a8eff2f1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (197 matched lines \u00D7 2 locations): app/buck2_explain/js/src/graph2/GraphImpl2.tsx:34 \u00B7 app/buck2_explain/output_format_js/src/graph2/GraphImpl2.tsx:38 \u2014 the two spans are one implementation copied and then locally edited \u2014 1251 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":"app/buck2_explain/js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c4cd2c1799d7f23b56b1088e71b457be9c8f44ac362e15adefbbfe030a8561"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (136 matched lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx:213 \u00B7 app/buck2_trailcam/js/src/components/invocation/LoadTreemap.tsx:228 \u2014 the two spans are one implementation copied and then locally edited \u2014 891 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":"app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"524a4cf15fc8ac25311eb08026de472fc59f32ab1bf86d3ecf810010fb94c155"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (131 matched lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts:99 \u00B7 app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts:135 \u2014 the two spans are one implementation copied and then locally edited \u2014 1086 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":"app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41cbb8822829b24f1a090d64c90878d93c9d5f26504c3663afe4dfa21c2c854"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (85 matched lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/load-events.ts:274 \u00B7 app/buck2_trailcam/js/src/lib/treemap-builder.ts:98 \u2014 the two spans are one implementation copied and then locally edited \u2014 574 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":"app/buck2_trailcam/js/src/lib/load-events.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1e93ae6df984ffc8df109a60094c9a14492764657f0fc20913a0ddc19bc032"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (70 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:16888 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:46281 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16888}}}],"partialFingerprints":{"codehealthFindingId/v1":"1479e7c566de00ea281f210621023e3bf7e613f01f1f8bae5294de8a936adbe3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2 locations): prelude/nodejs/tools/nodejs_test_adapter.cjs:932 \u00B7 prelude/nodejs/tools/nodejs_test_adapter.cjs:1452 \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":"prelude/nodejs/tools/nodejs_test_adapter.cjs"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1cd8a2e2e54a69229dc6efd6f64405307ae501fccf29739be2080a84c0bf32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:12418 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:12498 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":12418}}}],"partialFingerprints":{"codehealthFindingId/v1":"992cd834d294b73a7e3db55b660a9014ad4651d7fb0c6a14c4b35b179ec0979e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx:93 \u00B7 app/buck2_trailcam/js/src/components/invocation/LoadTreemap.tsx:117 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e771ea56c538c9ecf23f9228a386e949a5733063ed2b39bfc191a34f1568cb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (54 matched lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/ActionTreemap.tsx:34 \u00B7 app/buck2_trailcam/js/src/components/invocation/AnalysisTreemap.tsx:34 \u2014 the two spans are one implementation copied and then locally edited \u2014 288 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":"app/buck2_trailcam/js/src/components/invocation/ActionTreemap.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ee78c8ee65389c4d4a266ca012c9115ee158c5bcc4354363d57a5636d373bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (52 identical lines \u00D7 2 files): app/buck2_explain/js/src/graph2/GraphViz2.tsx:12 \u00B7 app/buck2_explain/output_format_js/src/graph2/GraphViz2.tsx:12 \u2014 these 2 files are line-for-line copies of one another \u2014 52 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/graph2/GraphViz2.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e6848150dde73402bbf6296f8b48cb719c324ed0c45567f53df664a92434b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/CriticalPathChart.tsx:174 \u00B7 app/buck2_trailcam/js/src/components/invocation/CriticalPathView.tsx:188 \u2014 the 2 copies are spread across 2 files, 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":"app/buck2_trailcam/js/src/components/invocation/CriticalPathChart.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b6a81c6cd9ad1acdadb102c33b2866701769717103dea46b8fad9ea12b28c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:11531 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:32951 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11531}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e9e2a58316ad90ee7d84fcc56b8055915a1338793fdd039da2f5526eb48ef8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:30039 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:32870 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":30039}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e11a8b41c9df20de688f1ade49b00d25f3083f1fbaa5344510ebc30ce9671d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2 locations): prelude/nodejs/tools/nodejs_test_adapter.cjs:1012 \u00B7 prelude/nodejs/tools/nodejs_test_adapter.cjs:1528 \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":"prelude/nodejs/tools/nodejs_test_adapter.cjs"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b43aa0901c54c212006a08c6f19a455bbd93585ee9a255f78bc996b4bdb68e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2 locations): app/buck2_explain/js/src/App.tsx:26 \u00B7 app/buck2_explain/output_format_js/src/App.tsx:21 \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":"app/buck2_explain/js/src/App.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c63ee084cb88cb3735b92fcb24e5168d7a4296fe0124d48a0d30ba8107a1f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (38 matched lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/AnalysisTreemap.tsx:31 \u00B7 app/buck2_trailcam/js/src/components/invocation/LoadTreemap.tsx:185 \u2014 the two spans are one implementation copied and then locally edited \u2014 223 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":"app/buck2_trailcam/js/src/components/invocation/AnalysisTreemap.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7424a3d931b6e0126a8be45ad25e8c9edfef9dfe192b535d67dc0f476198cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:65103 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:65229 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":65103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fe39172d170c86b09624c1f57138213d2250fc1575c61e5781036ca3fc99e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): prelude/nodejs/tools/nodejs_test_adapter.cjs:1065 \u00B7 prelude/nodejs/tools/nodejs_test_adapter.cjs:1576 \u2014 both copies are in the same file, so extract the block 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":"prelude/nodejs/tools/nodejs_test_adapter.cjs"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85d8b05d12d7d45a9ceee1cb68dbc46afeba320e164e6bbb3e3d0bc6a40eb8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/parallel-decode/dispatch-worker.ts:197 \u00B7 app/buck2_trailcam/js/src/lib/parallel-decode/dispatch-worker.ts:270 \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":"app/buck2_trailcam/js/src/lib/parallel-decode/dispatch-worker.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"085f753ef0e09598f86e0d94a82c34dc560270944ea6cd8f2feac326ed4e8dd2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:290 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:381 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"744665353f327417d52db6ba5b61b98af5ddfa82a93d6c43847f5a744f5bbd4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:22759 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:25249 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":22759}}}],"partialFingerprints":{"codehealthFindingId/v1":"289052d402fdb8aed13b4436138562248ecba8151176a842e4336e93a1f67a5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/event-log-decoder.ts:341 \u00B7 app/buck2_trailcam/js/src/lib/event-log-decoder.ts:452 \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":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7adc891fefce4f453bdfc5d64a0d9b63bc9beaf0ba3adbbbf52074217e5544"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx:338 \u00B7 app/buck2_trailcam/js/src/components/invocation/TestSummaryCard.tsx:112 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2765da27ca76944781f933007b728271ba6d524bfe684ac3a2a1b4aa2fc514f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/event-log-cache.ts:297 \u00B7 app/buck2_trailcam/js/src/lib/event-log-cache.ts:584 \u2014 the two spans are one implementation copied and then locally edited \u2014 204 tokens are still identical, in the same order in both spans, 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":"app/buck2_trailcam/js/src/lib/event-log-cache.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aef4d497ef2eaa6320a38b0c2e0025c11279c2f2bf1cc481aaf05283eccb9ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:36583 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:36718 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":36583}}}],"partialFingerprints":{"codehealthFindingId/v1":"7926bcd3e3f99a47e2b540020dd82aa50d98fe984bf65204f851b3e4684563fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/CriticalPathChart.tsx:61 \u00B7 app/buck2_trailcam/js/src/components/invocation/CriticalPathView.tsx:378 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/CriticalPathChart.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f2ee5ef4e0ce4ba1c90c5494114d1c5ee5097932e777a7ac89c16279f06b90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/CriticalPathView.tsx:189 \u00B7 app/buck2_trailcam/js/src/components/invocation/CriticalPathView.tsx:232 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/CriticalPathView.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dd213cbb103207623941b3f509edaeb9c2c4201bb5d6107caea7a376185436"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/action-events.ts:142 \u00B7 app/buck2_trailcam/js/src/lib/streaming-collectors.ts:241 \u2014 the two spans are one implementation copied and then locally edited \u2014 192 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":"app/buck2_trailcam/js/src/lib/action-events.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"7beee3b2b0c1027b90c8676410dc43512f72d0b78dc6ebbe9936f88031e597f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx:65 \u00B7 app/buck2_trailcam/js/src/components/invocation/LoadTreemap.tsx:87 \u2014 the 2 copies are spread across 2 files, 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":"app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"437573f02d90e58ff349378206936fb4a6ede5c0ee60de7e677390efae35e05c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:4457 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:4925 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:8506 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:8654 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4457}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fad4b1efa394622b5b515cda4bbe24f23b7f3ba3a788d0a8078776407fcd04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:33149 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:33173 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:33197 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:41145 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":33149}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b83a8528ab0c10eb2369a3d333436908e6eebdd43cf4b5f35854deb4c19084"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 8 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:12201 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:12603 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:31678 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:31739 \u00B7 \u002B4 more site(s) not listed \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":12201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bfa5e893b594bd8953abb6630413e34752a4582877284441831f32e044d6ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:10403 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:33651 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:63565 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:64336 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":10403}}}],"partialFingerprints":{"codehealthFindingId/v1":"75dbf7e03062f067d4bd5041994d621ec2efbe5b683f21c45cb1bc6e7b903545"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 13 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9285 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:14007 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:14773 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:16025 \u00B7 \u002B9 more site(s) not listed \u2014 all 13 copies are in the same file, so extract the block into one function there and call it 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff6bc43a0d632f478f7e32ddbed8d5e41aa80b57d73e031168c56e9696d0a0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:34791 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:56045 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:56119 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":34791}}}],"partialFingerprints":{"codehealthFindingId/v1":"b975d768e581bc8ede0601b137b93ae224e51e50f19338ce64b8a9ef7bb89264"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:40983 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:41129 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":40983}}}],"partialFingerprints":{"codehealthFindingId/v1":"139a63fdf016dc78d206c5f573058c7dcc28dc3eedb270fada6a761859ef6923"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/action-events.ts:101 \u00B7 app/buck2_trailcam/js/src/lib/analysis-events.ts:88 \u2014 the 2 copies are spread across 2 files, 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":"app/buck2_trailcam/js/src/lib/action-events.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6dea1d519a64620a4eb0d2744bf16a3737616d6c663f6a944daad47b3c1d084"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/CriticalPathView.tsx:401 \u00B7 app/buck2_trailcam/js/src/components/invocation/TestResultsTab.tsx:98 \u2014 the 2 copies are spread across 2 files, 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":"app/buck2_trailcam/js/src/components/invocation/CriticalPathView.tsx"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"4860dd509f78af636baf4ee6f92ca02db09e2c22b9364d3630efb5dab967f700"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/event-log-decoder.ts:224 \u00B7 app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts:157 \u00B7 app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts:196 \u2014 the 3 copies are spread across 3 files, 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":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85ffed3c6727146ce378a265689707a19d620a338140cbf0df63d6a9da666dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:1120 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:2634 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b430f139d8d9f5400d0c6407d3d76004b541dd7186f433d2242ea09cfca1f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 17 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:11108 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11229 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11907 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13354 \u00B7 \u002B13 more site(s) not listed \u2014 all 17 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11108}}}],"partialFingerprints":{"codehealthFindingId/v1":"25090e3a2121732263b9b513dc0d21ffb0a9f510a10e84c99f09fc370352d5a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:14783 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:16058 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":14783}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8df2dc6b7447a2f2f269501728fbecf69fd41cf6e6953cff0af88a9b2defe7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:16034 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:44932 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16034}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4b93f6840116ef32a8658c3dbd8bd8bc49a8629752a07b3a040a2a2fb7969a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:26202 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:44954 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:59141 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":26202}}}],"partialFingerprints":{"codehealthFindingId/v1":"0653057610a69a5967e5952b2583ed4151b0a5ac11af260c89aa0a1ed55c6753"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/critical-path.ts:452 \u00B7 app/buck2_trailcam/js/src/lib/critical-path.ts:481 \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":"app/buck2_trailcam/js/src/lib/critical-path.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f6aa35beda1f17948b6a22f1c8562a56b52c7270468583108bf0a2d023e21f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:8076 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:61302 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":8076}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb43396598f52c41fd752cc2f9e6579c7dfbbe7402f72aec29f127d56848287"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:14039 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:41411 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":14039}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fce7f64a7f65a122e186c3ac077ad4ffc1b45e9cdb077b2d3c6f0508649100"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:35012 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:35118 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":35012}}}],"partialFingerprints":{"codehealthFindingId/v1":"44282671590aaab2fad6cb59338be18c99633cdadd4027a1be7ba6c6c4950a22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:41162 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:44052 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":41162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e239e6db3b41ab53dbfe23bfb979b8b3162e90ff7e329b1d8c6cd2cdca31384a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:54563 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:56415 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:58755 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:59579 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":54563}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd95a798e6e353d0709f888ee3c6c0b2b5bf2d82cd36e0d51ad5562e779ab7a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx:191 \u00B7 app/buck2_trailcam/js/src/components/invocation/LoadTreemap.tsx:293 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b05c1d0d648bc70fb4dee056530aa0ef26adbcd5a616dcd79c035dc5ef7ecf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/event-log-decoder.ts:601 \u00B7 app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts:266 \u2014 the 2 copies are spread across 2 files, 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":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade2dead0a7998430be1d3dc87ed5d1de2c69a9b484089867e7deebff8d92072"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:630 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:4592 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:7520 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:8371 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ec1567b1821d603322eae66d7658c4c9cfc53ef54aa11fd5dba71a0627a242"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 85 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:5373 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:23959 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:24015 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:24072 \u00B7 \u002B81 more site(s) not listed \u2014 all 85 copies are in the same file, so extract the block into one function there and call it 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":5373}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac962f20b38c1cfa002d3f75820d0ba27d10bb2bb373e5f69afe98a7dfce0f9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:7250 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11771 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:12999 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":7250}}}],"partialFingerprints":{"codehealthFindingId/v1":"de91fd163235841c861409309249def896782ec4dc2bc295a023c821d3219b8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:8995 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:56225 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":8995}}}],"partialFingerprints":{"codehealthFindingId/v1":"38693ab7067096daf10cf5e8fcde142afc2e67abb514729d3c7f4e634ac25215"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 11 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9508 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:10888 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:22400 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:31645 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9508}}}],"partialFingerprints":{"codehealthFindingId/v1":"19806ca216d04b61040c197d6540fbca50b4cd2ca2574ac2ee44841cc93f866c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9724 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:37555 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:56778 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:61078 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9724}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5805f932e19e22f5b56da762054a7c4239e5533a6c52d00a7d0122193da4ae2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:13827 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:35071 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:35175 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:36126 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13827}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba7f3133df373c018742764294d3efc237e068ac224106f706e674b9bcf288b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx:46 \u00B7 app/buck2_trailcam/js/src/components/invocation/LoadTreemap.tsx:61 \u2014 the 2 copies are spread across 2 files, 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":"app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e04716ff7a8515b6816dd77b5a84839faa78fe4f80a436b6622ddfdb670bac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/event-log-decoder.ts:136 \u00B7 app/buck2_trailcam/js/src/lib/varint-stream-parser.ts:28 \u2014 the 2 copies are spread across 2 files, 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":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"177b44cf62e5efab434883d51ad3563d0b6cd895b0d5b139da1d6368b4445d0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:1424 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:2962 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:5822 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"02abfca88950dfeb4a54465da0f75291db5f02b643762f36b84669415c19928d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 138 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:5149 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:5170 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13186 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13210 \u00B7 \u002B134 more site(s) not listed \u2014 all 138 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":5149}}}],"partialFingerprints":{"codehealthFindingId/v1":"866ce530ac6e9f1afcb3b78401a9bcd7b748f36b267689973101b8d91521d72d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 20 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:7351 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:27299 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:31874 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:35046 \u00B7 \u002B16 more site(s) not listed \u2014 all 20 copies are in the same file, so extract the block into one function there and call it 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":7351}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b852e96d66a38b123c42af16fec9ca74c116e814d9f6c1ef2ad9549eb14fe1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:10290 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:14705 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:30853 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:36989 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":10290}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a41839389167c953a5d994d2ca515c6f586cfae209607df8dd4a3c4ee59a979"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:10637 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:33686 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:63610 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:64391 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":10637}}}],"partialFingerprints":{"codehealthFindingId/v1":"6875613b40a1d48ce603f035379ff4bf354e2fccb1fc225643f3232ac4b201af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:11682 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:64755 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11682}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d09cf67fecfc8abddd1a27eeda99b88c422c9acfb4df038ae74b6a946704d71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:12585 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:24243 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:25103 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:34770 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":12585}}}],"partialFingerprints":{"codehealthFindingId/v1":"606151bd9e63e05ea716e21ddcc5020c20a3916f1bc7b4df24acaa64234a10e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:12631 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:56071 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":12631}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbe75daf9fcf87f4ea16fd7a29ce9799d9df84bea6eff73456f3413a223036e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:14164 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:33031 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:49080 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":14164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6372865a362b625f460a4dd3d2f7342b1092f76274e0555f32c09cfca22a8112"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:14214 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:38984 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":14214}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2d72a6ca831e2fbf064099760a223ceb7ee569866cd07065856b9989c3a62b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:14554 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:40477 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:40781 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:46413 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":14554}}}],"partialFingerprints":{"codehealthFindingId/v1":"feafad268f2ceb24b920970519210e5e8639a33e35745b3de3e38308cf7cf451"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:14843 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:22277 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:28228 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:30074 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":14843}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9458ae9e6ebd06951b6d4e9e440f39303ec983d14ec9292b89a4ad53ab90d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 8 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:26422 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:26728 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:27072 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:28360 \u00B7 \u002B4 more site(s) not listed \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":26422}}}],"partialFingerprints":{"codehealthFindingId/v1":"069a23f687a06102c4cef55f0b6a9dc4812ae29beb28c8cb91d0bbcfefe9c1de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:33222 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:36587 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:36722 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:41007 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":33222}}}],"partialFingerprints":{"codehealthFindingId/v1":"72232fca9ebfb85b5418f9dd2f9bc512c00655fc1a9c37459fe75495fde9ad99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:33794 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:62808 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:64890 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":33794}}}],"partialFingerprints":{"codehealthFindingId/v1":"9138682290c5c44e57871951e9e132cb706358a472ccceee5fedbf7511c9c377"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:44084 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:58632 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":44084}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b55f788d33710632ed53aa27fb7321137efe5e699a7e1742b5c7fdf0bc9650"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:49354 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:56814 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":49354}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7903c572b720e6de66133acc0309b1e22525fe2c5d3f1214efd3e3409def0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/buck2_explain/js/src/App.tsx:91 \u00B7 app/buck2_explain/output_format_js/src/App.tsx:85 \u2014 the 2 copies are spread across 2 files, 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":"app/buck2_explain/js/src/App.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a35dd34b4e126e81b3e4349e5a3b8b66a791f9bfdb9c7d1492bcaa11f8f9af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/EventLogProvider.tsx:614 \u00B7 app/buck2_trailcam/js/src/components/invocation/EventLogProvider.tsx:731 \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":"app/buck2_trailcam/js/src/components/invocation/EventLogProvider.tsx"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce186e80aa5c1b43b5029e3e07de768c5d492e1f0a76a0f16012f6f9f8b6752"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx:172 \u00B7 app/buck2_trailcam/js/src/components/invocation/LoadTreemap.tsx:202 \u2014 the 2 copies are spread across 2 files, 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":"app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4d458f5c06cab2472b551d4dffe66c049ee63bfe7928037a1d2cdb3109c8be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 110 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:492 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:828 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:1465 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:1488 \u00B7 \u002B106 more site(s) not listed \u2014 all 110 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c018ea30ed1914f5a50a414db22afcd7d6a40fb14b4301673aef7e41fc89b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 20 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:809 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9322 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11453 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:12957 \u00B7 \u002B16 more site(s) not listed \u2014 all 20 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"de98f503fd905f58ff7513c4f0f75d1182aea9adc7494bd3a30b378a70380cff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:1084 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:2597 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4ac1430689c25307c1b22dc18fc8baffd2f383f6f613b6f12961e6b31e16a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 18 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9238 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:17292 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:17410 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:17433 \u00B7 \u002B14 more site(s) not listed \u2014 all 18 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9238}}}],"partialFingerprints":{"codehealthFindingId/v1":"5817f4be202473705a2ec6bec7ed2108cd06a3069059662643a435a0a7c92fbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 27 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9595 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9731 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:10981 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11116 \u00B7 \u002B23 more site(s) not listed \u2014 all 27 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9595}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37e3300fa8592ae4298db1b94e3069eb10c6ad369d72082064c9bac2bb818ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 13 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:10519 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:10539 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:10559 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:10578 \u00B7 \u002B9 more site(s) not listed \u2014 all 13 copies are in the same file, so extract the block into one function there and call it 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":10519}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56f18e2106e09ff1788e1f6144bb12270afc3a65bef848510a046cb884eb419"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:17415 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:17536 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:17561 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:47127 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":17415}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac788a5c6388e8f510d093ae35e1f4996016255e81b9889acac187e3e58e36c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:20474 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:60873 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":20474}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51f0d3d7b57994e9dfcb50181289efd1a12f1051097145e2bb1e8c8c13892ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 7 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:20928 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:20949 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:20970 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:20991 \u00B7 \u002B3 more site(s) not listed \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":20928}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c15aed167407feaf8db1318a1e984e64810a6d293115e0e27ef8854b1e17d54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:32938 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:33104 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":32938}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97b257c756d34907c6051697ee6cb98cfe70d84834f0f71157a1c42482107fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:33645 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:63551 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:64314 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":33645}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce64f08a2be1be7bc6a8967e9b1565d0d0e16727d532c19c03a414b00528cd9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:35075 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:35179 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:36131 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:38113 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":35075}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e605063b19adf62a001fdc84d8e3ad8ef3a3f743f1617898b929a01b85c3867"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/BuildHistorySidebar.tsx:189 \u00B7 app/buck2_trailcam/js/src/components/invocation/BuildHistorySidebar.tsx:240 \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":"app/buck2_trailcam/js/src/components/invocation/BuildHistorySidebar.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c261f1b592b944cfb4a00e1a253d2164a2b2b51ce141c3e502e0e1a80e14b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/load-events.ts:81 \u00B7 app/buck2_trailcam/js/src/lib/test-events.ts:53 \u2014 the 2 copies are spread across 2 files, 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":"app/buck2_trailcam/js/src/lib/load-events.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a76dbcd8af796f33746507da886516c9a3ea6fd1530b8247d0fdbdacd82920"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 11 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:57 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:14802 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:16599 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43755 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb87c3abf847476f9331891978e430dbf834dca553fefb325488fb852115005"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 27 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:4656 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:7310 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9034 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:24289 \u00B7 \u002B23 more site(s) not listed \u2014 all 27 copies are in the same file, so extract the block into one function there and call it 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4656}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f86bbe6ae437fcfc8c55b10f2b841b7356a106acbef6762ed685cbc052f368"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 7 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:7229 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:8949 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:15580 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:32127 \u00B7 \u002B3 more site(s) not listed \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":7229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f518cc562d62c235ed6576027c7045315455c1f764e1f1b57d782d4d7ccafa5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 11 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:7955 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9270 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9881 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:12049 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":7955}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ddee9d2938b5e2738bf8342d50b15f6528f2a194ad471c5a11d5a65fe80910"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 10 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:8921 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:12870 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13303 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13915 \u00B7 \u002B6 more site(s) not listed \u2014 all 10 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":8921}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fbf8838547cfd5266f24799fe479239eb7c32574c306fc58d1bdd355abc638"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 13 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9198 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13932 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:14630 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:15883 \u00B7 \u002B9 more site(s) not listed \u2014 all 13 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9198}}}],"partialFingerprints":{"codehealthFindingId/v1":"433b84601a9917071807eedaabe9d51dc05c2f251e3ed85b40b8e5e04d4bca12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9759 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:37581 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:57961 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:61103 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9759}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba429bf59423f4126d607f0dd9f09bf276c0ca2a1add61a11cf9a8110abcfd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:10026 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:40474 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:40778 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":10026}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a8737c30137e2a4dad41295553a9392f8ca86625f530a504813d916947b5f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:11132 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11257 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce7008ef98c557a20a86941aceaeed1bfe32f602398593998272c973428f102"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 8 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:11291 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11679 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:12163 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:12230 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11291}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ce5de3b089e18cc24cb946fb21994194cf39209fceb42e6bd5cc19869c13ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 13 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:14510 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:28973 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:41290 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:45321 \u00B7 \u002B9 more site(s) not listed \u2014 all 13 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":14510}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e129fd336bbc4f67234c50237cdf41f9f26897c3fb8f055c446c329e7d54f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:15253 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:20134 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:20393 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:20509 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":15253}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a58dde67f87afbd7951c6a143efb79e78df6a11b3372073334eed32663cb601"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 9 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:22200 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:25652 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:30011 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:30870 \u00B7 \u002B5 more site(s) not listed \u2014 all 9 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":22200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a799e6def12a7e4c2d1ee58faeb5efac12840da0d3dbf4a85b8bef581bdfaf7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 17 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:45407 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:45429 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:45451 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:45495 \u00B7 \u002B13 more site(s) not listed \u2014 all 17 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":45407}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad266df73261f4d44b68461702ab5b03c04f96437dca1a1d8758e465c6480349"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:52251 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:52275 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:52299 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:52323 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":52251}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e1d0a049c846d4ffc6e96bb981dc69b56b717d803f2de623545bef00acf3ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:65021 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:65341 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":65021}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13ca4f441373e9ac288c1091bc372ec8edc8ff4bb5e8e5d074c93b43db8ae10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx:139 \u00B7 app/buck2_trailcam/js/src/components/invocation/FailedActionsCard.tsx:57 \u2014 the 2 copies are spread across 2 files, 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":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbd6c54d608c1fd81b82d9a18931bae025b59e5f6708e9d2765c2fbc4b9ba8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:523 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11494 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:28241 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:36359 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fce98fb3795ee63306e98a4c66fcf2acd2f45f120eb2d3da1df91d43efce19c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 11 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:4294 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:5180 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:28012 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:35375 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4294}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d661ca11114c0a0cd4f72b9fa3f667fb5833f1a309a91941187286cfd9645c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:7601 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:32416 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:33824 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":7601}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d04eca2af10d71040ba1bf5e65cbad3bca4c60ac2d26732c9ab41afe7378a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9136 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:14447 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9136}}}],"partialFingerprints":{"codehealthFindingId/v1":"51929dfb8a7bcb3e01e78411d9e7aa5e618cff9aff936d3c692c00a80c2d03f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9813 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:22477 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:32081 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:37706 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9813}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4affc0189b57b60758766f5ab51529e72e8c69ad73ba715558cebe06384b8c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 17 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:10495 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13053 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13391 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:14866 \u00B7 \u002B13 more site(s) not listed \u2014 all 17 copies are in the same file, so extract the block into one function there and call it 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":10495}}}],"partialFingerprints":{"codehealthFindingId/v1":"a094c462c318a0674bc013cdb604d7d50edf08278f8123366171d56c931bd33e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 22 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:11448 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:12974 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:16072 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:22195 \u00B7 \u002B18 more site(s) not listed \u2014 all 22 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11448}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4253df190f441fb7688962575cf930c3d2bb331bda3a0610e7a8ad0278fd404"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 7 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:11932 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:28249 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:29746 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:30364 \u00B7 \u002B3 more site(s) not listed \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11932}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7365d8e46140e72451951b67c911c8726fd3739e2eb93b5322e8fa24ed9279f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:12784 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:15481 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:22697 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:31630 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":12784}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e916171e5ddecf1e84f2357fe74584ec06d2a136a6eebfa09835c7084863ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:13237 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:51463 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:51862 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:54080 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13237}}}],"partialFingerprints":{"codehealthFindingId/v1":"633a2d3200bf2b4d1c46918b94df3f8983129c513c3cd4237fff61658990807e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:15060 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:19014 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:60806 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":15060}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fdfbda6e1f1db81816e17b864e17efbc09b29962089f7cc8e85be425b5d226"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:15299 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:15431 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:20262 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:20529 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":15299}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdb775fbf0675cd7aec34f29af17a4a23729bfa015724297dd763b4a3dce434"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 12 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:15780 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:22077 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:28026 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:29835 \u00B7 \u002B8 more site(s) not listed \u2014 all 12 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":15780}}}],"partialFingerprints":{"codehealthFindingId/v1":"be991b5c9788170b0f47ee5a12e60d7a19f19b9eb39f0b5970149f1bf3a848ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:21937 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:53214 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":21937}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f1daa45d1e9e4c5ae7b7e69bf81bbd1e8b9609fb52fed5ac74d8b51cdb5944"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:26170 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:44900 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:59072 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":26170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cabb5966c5395d39f998f6b79dc1bd4e9d15c97c379be78712e81714d01d019"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:32118 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:35017 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:35123 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:56171 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":32118}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f898681d8e780b3eb7268789af2dd38c490fe471eb54febdaee4c248f6885e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:43499 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43780 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":43499}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdec679511788fddf5d7a3fcd6dd1b508b72e7742b2a5a480e8da80a8cae2e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/streaming-collectors.ts:167 \u00B7 app/buck2_trailcam/js/src/lib/streaming-collectors.ts:210 \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":"app/buck2_trailcam/js/src/lib/streaming-collectors.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"040c8ae5c31f904dc21d19c69b025f895e07acac1ae81a7846af97066e39feb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx:690 \u00B7 app/buck2_trailcam/js/src/components/invocation/FailedActionsCard.tsx:121 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb1489d07f3eac6738d6b252611708f0ba2a075592321ad87d0bd7b2eb3339d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/CriticalPathChart.tsx:30 \u00B7 app/buck2_trailcam/js/src/components/invocation/SpeedDoctor.tsx:88 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 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":"app/buck2_trailcam/js/src/components/invocation/CriticalPathChart.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"752a2cbadd81cb37070790522da2bf22040b6a1bbc41c6cd98f67b211b5836d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/event-log-decoder.ts:284 \u00B7 app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts:57 \u00B7 app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts:93 \u2014 the 3 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. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66ce3b9fc3d076f5e7157883578b267de92ec78dc356695f6c9a36285daf659"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 250 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:103 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:234 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:325 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:416 \u00B7 \u002B246 more site(s) not listed \u2014 all 250 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"68eb511f8ffd28bf0bb3d287ff5424f1390da5a32d606fc8f871c4e940e5ee45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 25 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:586 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:4544 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:7195 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:7476 \u00B7 \u002B21 more site(s) not listed \u2014 all 25 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"139e09255a6621af5868585d607e81b4d0a5723bb10bd50204b1393fb94cf8cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 121 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:965 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:981 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:4267 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:4286 \u00B7 \u002B117 more site(s) not listed \u2014 all 121 copies are in the same file, so extract the block into one function there and call it 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"140f29b8cda2566ee62db08de3eeebb9af8ea811d40a03e30c99468958050bda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 9 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:4396 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:4861 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:8439 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:8597 \u00B7 \u002B5 more site(s) not listed \u2014 all 9 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4396}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29cb43c0686488b986896c65ff855dc4d150c96c81e6fc78f0f9d2086b31510"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 11 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:4573 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:4731 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:8352 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:12686 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4573}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dfad894b5ee14b89340034775702eece02a7e1ea13d79a71e1525e009f001a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 36 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:4747 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:7829 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:8807 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:8967 \u00B7 \u002B32 more site(s) not listed \u2014 all 36 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4747}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff9f9380ad055a94b0fa4c2cb95c00de18469fb8ce56297c6a7063dabee5eb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 150 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:5087 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:5104 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13067 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13084 \u00B7 \u002B146 more site(s) not listed \u2014 all 150 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":5087}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fae90aae08635264d2054fc2100e53e33b8f659d6b6fe99f64d8094d793aadc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:8751 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9526 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13489 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":8751}}}],"partialFingerprints":{"codehealthFindingId/v1":"570fd3665d9c70d28c8b1b5afbc9f04b5d2eb66b9042d307734456b01265297d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:8858 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13641 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":8858}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eac836663a88850ae39f0a62250c901d4c2a117ceba177e84f0959823dcf748"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 11 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9370 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:14094 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:15066 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:16159 \u00B7 \u002B7 more site(s) not listed \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9370}}}],"partialFingerprints":{"codehealthFindingId/v1":"0788058cb82a8b3399e8fa2e0c3d9e7b2c7985be141dab88e8a744551d56b42d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:11822 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11948 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11822}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4587ecd082f02c01664c533a416b63393b353e5d2e4672053a5bf03e3b120e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 30 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:12848 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:12868 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13301 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:14522 \u00B7 \u002B26 more site(s) not listed \u2014 all 30 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":12848}}}],"partialFingerprints":{"codehealthFindingId/v1":"96178f70c65f6cd9ff591981104f855a29c3073cff629e10af64067faf4bb0bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 11 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:13042 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13389 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:19094 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:30981 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13042}}}],"partialFingerprints":{"codehealthFindingId/v1":"83caa35c1d57d79a50d31351f42bdff6233b8cf1820ec9f4c093c0c70844a36f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 12 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:13255 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13460 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:15763 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:22388 \u00B7 \u002B8 more site(s) not listed \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13255}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6fe4072b2e683bec8b6f2e5811317f8ff0bbe5210b50bc3d0b82fc3d13716e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:13645 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:19995 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13645}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d598aef440596772650a8b09102cf8ffc209dc91f9ef07bda19b1b12f8d3d08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:14129 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:33019 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:41497 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:48991 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":14129}}}],"partialFingerprints":{"codehealthFindingId/v1":"def296779b7ff1bc02756d41f864f6aa9e9e8a19802c12c3a27c42f1cf7e6542"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:16280 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:45021 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b005a8b5025e11bab30441fdee678326d2f4f20f3d19c1a82c72cf1a951df16f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:16549 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:32365 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43408 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43550 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16549}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dca00b67d04142e1f99658d87dfa3a53f8a46a1b081df837d70498aaefa4ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 14 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:19366 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:19383 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:19400 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:19417 \u00B7 \u002B10 more site(s) not listed \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":19366}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de8726608f19c5eb734f0fe67b56af0e30647cea4f564765031129a1bffd3df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:21626 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:52249 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:52273 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:52297 \u00B7 \u002B4 more site(s) not listed \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":21626}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a5522eaf6b4aa84ac1824aee85966ec797c57dff603900fb8a43e2e015492b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:26233 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:45004 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:59203 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":26233}}}],"partialFingerprints":{"codehealthFindingId/v1":"176289f2d84653e870bb3a36f328e99ad6e37e19e46cb1db6b46dd23c2ddebdb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:34613 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:53445 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":34613}}}],"partialFingerprints":{"codehealthFindingId/v1":"c180c6077e26f3164d65db6601b8eadb6ac2469859820d141707acc274edea50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:38905 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:49859 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":38905}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e31bfbd78bf9b171ecce85bf1529a0168f195a9f7a178117c17a9a29281c01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:43679 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:56643 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":43679}}}],"partialFingerprints":{"codehealthFindingId/v1":"be44342dce0f56fb51b7b7148f4c2d46975028cd2bec065bd29126bc265cc303"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:49113 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:49417 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":49113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ab61690bcb6ab4b741606a754a21b88838292f9949eb4a3d13d3673fa633d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:49930 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:50291 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":49930}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f67d88d784167deddcc93c88bdc3ae9cdad08741fee6f587e7b805ccd68b5ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:58239 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:61224 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":58239}}}],"partialFingerprints":{"codehealthFindingId/v1":"f558477775bdc7f994c391d3e25ea990319931d61e599a77fb3a7b959bf1386b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:58583 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:60736 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":58583}}}],"partialFingerprints":{"codehealthFindingId/v1":"855de7e97053cb5a22c2cf1623b28372be4e1513edeccf53ab547218d7bbe699"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:63792 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:63884 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:64833 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":63792}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd09d99bee685908818273b840886535be584528a8ef3a10346f3ba7d07f95c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:65050 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:65176 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":65050}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc827c9501a3e334d7c3d4abfbffb799cbfe9d9c2f8c8db5f143b9e05e1a5b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): prelude/nodejs/tools/nodejs_test_adapter.cjs:99 \u00B7 prelude/nodejs/tools/nodejs_test_adapter.cjs:120 \u2014 both copies are in the same file, so extract the block 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":"prelude/nodejs/tools/nodejs_test_adapter.cjs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bdb8006f0dc85641a9d8113d51727b256fa1526fa08548199b71d2fcf0adf6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/InvocationBar.tsx:48 \u00B7 app/buck2_trailcam/js/src/components/ui/CopyButton.tsx:23 \u2014 the 2 copies are spread across 2 files, 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":"app/buck2_trailcam/js/src/components/invocation/InvocationBar.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fea1c30450c546b9a5e9c46f5684e15d98980d3cb3d75d499445c0f558f897c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/TestResultsTab.tsx:84 \u00B7 app/buck2_trailcam/js/src/components/invocation/TestSummaryCard.tsx:29 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/TestResultsTab.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fdde266fa8723bf07d4c561e66384c178dd0f0d917ac51870582e3ac28bf0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/action-results.ts:179 \u00B7 app/buck2_trailcam/js/src/lib/critical-path.ts:109 \u00B7 app/buck2_trailcam/js/src/lib/streaming-collectors.ts:44 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/action-results.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbb3052e144937a3db440da72af7886d47818bd6827a9850eaf19e04a3a6d9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/event-log-decoder.ts:429 \u00B7 app/buck2_trailcam/js/src/lib/event-log-decoder.ts:583 \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":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"9483e2a7beeb456e1cc738767909b51be266a92079808acc8453d65b14fbcd22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/event-summary-store.ts:327 \u00B7 app/buck2_trailcam/js/src/lib/event-summary-store.ts:351 \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":"app/buck2_trailcam/js/src/lib/event-summary-store.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7a5c54316f67682af24a3e8df426c36e64079e4480df671bffac4bfc6f931c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:250 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js: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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bf2d3b237123cc03d9e5ab4cffb827eeca714cac413822a9af378c8c152259"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:441 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11996 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:35412 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:59994 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf1fba3e219f2a62f76cf330353317c20429be37cb4fc0b339ab0e92252c9b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:695 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:64231 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda38c1de939e55cc54fcb6679937cd610041305716b1c8346c9ead78cdae98f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 28 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:904 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:918 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:1803 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:3339 \u00B7 \u002B24 more site(s) not listed \u2014 all 28 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"410959cab26c6dffe296df4ec28f31a62f6ef496e009497e0ae059f4627d4f9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 11 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:925 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9945 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11591 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:23744 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"57eb0fc4cd189dcae697b80e1dbd5b1dd7e826d95d1431f10d9b114b38b4ef50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 17 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:1799 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:2122 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:3336 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:3371 \u00B7 \u002B13 more site(s) not listed \u2014 all 17 copies are in the same file, so extract the block into one function there and call it 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"949c66c63e32956183761e475191f2b2eefbd4e81618f8ccf4f9f52129df82b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 22 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:4232 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:5112 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13120 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13409 \u00B7 \u002B18 more site(s) not listed \u2014 all 22 copies are in the same file, so extract the block into one function there and call it 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4232}}}],"partialFingerprints":{"codehealthFindingId/v1":"480384620fe040a5a1f96bcfdf937cf68f995d062d429418d83a45c5b280533f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 17 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:4793 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9359 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9399 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9921 \u00B7 \u002B13 more site(s) not listed \u2014 all 17 copies are in the same file, so extract the block into one function there and call it 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4793}}}],"partialFingerprints":{"codehealthFindingId/v1":"690372a1067e8ce09b8699ed5a542a23fd4412a97c5a06990d9c71f69dc68894"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:4888 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:8467 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:14627 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:17260 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4888}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4eb20ac7e0becc89cfa09e939b972cf251e3f3d4f2bdb65f4f2e661a6f058b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:4901 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:8482 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:8634 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:60719 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4901}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be42b0ac7c1ec546c9b1385a1a1acf34223c7d49fd61f72cc3af01a15f5b5cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:4916 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:8497 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4916}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf8ddc1e894c9af69ee1dcefd4043d9002a01c9139bb4db168383704d029765"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 90 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:5354 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:12186 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:23940 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:23996 \u00B7 \u002B86 more site(s) not listed \u2014 all 90 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":5354}}}],"partialFingerprints":{"codehealthFindingId/v1":"69646cc15cf976347b898c357c6cb8f0ea305aa36fe83aac232f8758e637759f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 20 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:7372 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:7982 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11584 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:25846 \u00B7 \u002B16 more site(s) not listed \u2014 all 20 copies are in the same file, so extract the block into one function there and call it 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":7372}}}],"partialFingerprints":{"codehealthFindingId/v1":"3242c621bab7c6306b6009af9d8281f50f36312869ed7d10bf784a930a76c88f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:11869 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43016 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11869}}}],"partialFingerprints":{"codehealthFindingId/v1":"7915dfcd7c35b891f52345d8befa88fb036d7cf382175041014524e91c4f033c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:12707 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:14037 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:41409 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43467 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":12707}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d90a4cef660d9ffb7e859468da8cd8020fe7a0cc1f2516cb0b738c810a1800"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:13869 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:22716 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13869}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab4d1a4dac108ebcd88cb2af964adeeeab7d6def35b0a8da76708c7144c0ae1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:14187 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43642 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:57967 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":14187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39cd8bda2b5c5226da43cc1f1ffc0f73208db8ca1323cdb58fe9c16bf37e1d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:16637 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43649 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16637}}}],"partialFingerprints":{"codehealthFindingId/v1":"7551859e44edbb9c569729f91847abb38e6bf180caec4cfee3517b8e123c6328"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:22300 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:25841 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:40591 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":22300}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a82c195882ef8d981839b13ec3a05aa705b858e9afee432875bbaaf55a85cc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:22361 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:54060 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:54402 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":22361}}}],"partialFingerprints":{"codehealthFindingId/v1":"8774bd881db95123760d42c6f7f8cdb62a7120b125bbee8392f94a036c2e3d11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:22668 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:48237 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:64849 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":22668}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f512e612551b8b50ddf2555d607d4d35af914bd2435b9928334f7acdda50cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:33517 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:36613 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:36752 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:41025 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":33517}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd35dc378515595852f3f38a86954585f1608b2d5a78110ac4a0cf30260386f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:40353 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:64646 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":40353}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5e3c92fe2792ce9c4c610b97df3d7aa3641eba1d860d2855848a11cd135bdb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:41547 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:54034 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":41547}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ce4d0196e5ddba5342d5a447f4bce54899a21b6a91cf47be64cf7423a8a6f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:41741 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:41946 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":41741}}}],"partialFingerprints":{"codehealthFindingId/v1":"492ab3e21014351836e3b5f7e7f935a10da1698dd0618173f18e5ea700dda32d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:42333 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:53720 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:54132 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":42333}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c22db1903203371728df23c77bc2b45477c1aeb90396b4f2ac6ad7e8e47498"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:51413 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:51762 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":51413}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f33b76e21f760b0886da73add88f12761fae3922ec4c89f2c2106f50fbd009"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:53795 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:54209 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":53795}}}],"partialFingerprints":{"codehealthFindingId/v1":"3caffebf5d8f0109c49e3a67eba82c64ae951c6306d688326380573e72a1c184"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/streaming-collectors.ts:46 \u00B7 app/buck2_trailcam/js/src/lib/test-events.ts:61 \u2014 the 2 copies are spread across 2 files, 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":"app/buck2_trailcam/js/src/lib/streaming-collectors.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5185e99ca7115749d5199bc3997a40a18634ee2db1a862afcfcd4dc529de507"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts:514 \u00B7 app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts:545 \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":"app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a64dc0560815e80819c7d1d87264cecffce4c87f02962b03ba49f2fb54de420"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/url-state.ts:76 \u00B7 app/buck2_trailcam/js/src/lib/url-state.ts:119 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/url-state.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc6552e01e78383daa9ec5c0421df1e963b2d96872708f9f48fe75b74f410a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): prelude/nodejs/tools/nodejs_test_adapter.cjs:852 \u00B7 prelude/nodejs/tools/nodejs_test_adapter.cjs:1143 \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":"prelude/nodejs/tools/nodejs_test_adapter.cjs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbda2e01f6c41cdace1af72ad154da40e649de3f475e05ef163a47654dc7531"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/buck2_explain/js/src/Target.tsx:115 \u00B7 app/buck2_explain/js/src/Target.tsx:133 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/Target.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9395018ac590767313d0803fe4ccfccd7315c9525d4d7ccab07f1803ca26362b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx:486 \u00B7 app/buck2_trailcam/js/src/components/invocation/event-log/EventLogTable.tsx:143 \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":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"250a982940bf5ff02753453ba7b77936f7e7ef767b5a991ddf3ef2c1adee1fac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/TestResultsTab.tsx:298 \u00B7 app/buck2_trailcam/js/src/components/invocation/TestResultsTab.tsx:310 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/TestResultsTab.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3dc76dbe0b2fc401ad622d27ad5d4a68c740944d8cb3f39a56eed45e759844"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): app/buck2_trailcam/js/src/components/invocation/event-log/EventLogDetailPanel.tsx:51 \u00B7 app/buck2_trailcam/js/src/components/invocation/event-log/EventLogTable.tsx:41 \u00B7 app/buck2_trailcam/js/src/components/invocation/event-log/columns.ts:17 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/event-log/EventLogDetailPanel.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"df98e30d8b37ca2ea5810e3d240de0359144c7e783aad88c8792ff851eb04c33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/event-log-decoder.ts:193 \u00B7 app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts:99 \u00B7 app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts:135 \u2014 the 3 copies are spread across 3 files, 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":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"21499b27083de695e102b5e4d9a65cd35c491acee5d94b7e3b989584e7fe7cbd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:992 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:20573 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:31100 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"1651a7fbccaf375bf43761bcd7d5da89f91711799f9b4664802f702804749521"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:2127 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:3707 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:14410 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":2127}}}],"partialFingerprints":{"codehealthFindingId/v1":"043ca4230c99921468d2dc01904bba8e370126b97fd141f78ea86e5cfc3791f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:3330 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:23340 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:25769 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:37058 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":3330}}}],"partialFingerprints":{"codehealthFindingId/v1":"3718063565e14702208cc0aca38907c67b6238a384d24d1976b3b59fda844c8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 16 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:3726 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9964 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:10680 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13169 \u00B7 \u002B12 more site(s) not listed \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":3726}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f979355798dd80df74336ac208181ba9aa9175f98a0d32de0088c2e35c8a94a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:4159 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:5033 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:27400 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:35228 \u00B7 \u002B6 more site(s) not listed \u2014 all 10 copies are in the same file, so extract the block into one function there and call it 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4159}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8b6df13c2ebb28a14ff7ba4a9ec1dc75ebb6537d3f1b5489f2b79bb9957d21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:4257 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:5138 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:27801 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:35333 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4257}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a70ce7206febc5a7f696b4a36cdacf84d46519082f09653217a10da181a9c67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 19 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:4321 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:8154 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:8239 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:28869 \u00B7 \u002B15 more site(s) not listed \u2014 all 19 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4321}}}],"partialFingerprints":{"codehealthFindingId/v1":"e188b3412a7820e2c9ad8e90271cb54da3c6fa2ce6556fedf534aaa2f283d1d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 22 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:4377 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:8208 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:8301 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9005 \u00B7 \u002B18 more site(s) not listed \u2014 all 22 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4377}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7421d8108f5b6ee3597e4ecf9f50a84ea46cefb3a28f7cf577854b1d588bce7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:4959 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:59193 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4959}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3fce0c0b99acae14c85a1a61d13b23a2a37cd5338c11121360ae0ebe58b53e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 29 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:5207 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:5278 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:7414 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:12339 \u00B7 \u002B25 more site(s) not listed \u2014 all 29 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":5207}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fefd474c2c30a861490400f56a1d8605b6db4c9370de4ef948341538db6ad1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 45 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:7787 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9172 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:10925 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11070 \u00B7 \u002B41 more site(s) not listed \u2014 all 45 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":7787}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c882106fff40ea440823a0161dabcbc2c1c3f3f90a9f6fc6a9fc54cda108bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:8711 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:26239 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":8711}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a989a118caee498b8abb0c9348e62d35ae51a4b421e9dd071dd19ab0c897961"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9050 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:21978 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:24537 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:41082 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9050}}}],"partialFingerprints":{"codehealthFindingId/v1":"5882556beb6eb6c8b16cdd854f8386a5f537783b78d510114fe36bbb9b7351a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9113 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:22047 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:24608 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08fd3fc9ebaec2b1be55438101e1f138e8b5b759a46d75d09716bd9ca2efe64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 13 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:10156 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:10172 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:10185 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:10201 \u00B7 \u002B9 more site(s) not listed \u2014 all 13 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":10156}}}],"partialFingerprints":{"codehealthFindingId/v1":"35abe4209a1f0847a84e83d19527d5a1f5c97b760e92e6c3707786c753be824c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:10992 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11127 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11249 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11487 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":10992}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dac2d83b8a6fd9e36c7330a9e3e80e84fd88714e46bac40992b6576f6378f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:12249 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:27262 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:32096 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:35911 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":12249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54b23da4d2105a1d230167a82b8bc15741be321bdbb128e17c9a770d0a026c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:13104 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:48280 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:54020 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0ae50b5216483adafa4fafa19078685536c1c48cc4347137de042056d487fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 99 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:13199 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:15275 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:15407 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:15702 \u00B7 \u002B95 more site(s) not listed \u2014 all 99 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13199}}}],"partialFingerprints":{"codehealthFindingId/v1":"194fbd7cd51ed6b01f5c2448a4d7cda99926ee78a3779493d9a611d6a33b0f08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:15106 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:33247 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":15106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2930489e1ea6e00d3d6101f1deb27cd0a6c19d1fb89667e4757e70b53c7ebed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:18658 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:18788 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":18658}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e5796c6166d811d45bd240dc442bfb9fdaa4b50a0a2ee8d57e5dcb0c48a1f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:20367 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:55218 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":20367}}}],"partialFingerprints":{"codehealthFindingId/v1":"644d81fc50945fbe869c3d0f03c3b5937437a7cf0af65cfae2d48f1b9643a469"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:23423 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:44094 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:44474 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:58638 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":23423}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71455dbf4fde911d1b92d11e2959b9ae8e52fb231aa256f05b2784f843ffaa8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:25711 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:25723 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":25711}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a87113e1e672922f4dce79a00009b9e1a99f819b2e62356ed332228c37c216"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:26071 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:56523 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:63417 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":26071}}}],"partialFingerprints":{"codehealthFindingId/v1":"505d391cf6b86ef30dc3ba1d93656a46284f9a69f1f2162ecdc61e8b65b1ba60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:31024 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:50344 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:50419 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":31024}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b28c7cbb38b3a35272b210db0963cef69187bc66fce6c0ef0fa34e11053977"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:36364 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:53792 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:54206 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:54371 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":36364}}}],"partialFingerprints":{"codehealthFindingId/v1":"532f8c49edbf944c38d94b01a63940c12bdb70d473ffe1d696612f67bdc37bc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:39057 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:41620 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:52461 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":39057}}}],"partialFingerprints":{"codehealthFindingId/v1":"93156f5a1e974c9604e20cfbb462e238486424200d6669e686daa912b8a12ef1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:39850 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:40257 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:41906 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:42512 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":39850}}}],"partialFingerprints":{"codehealthFindingId/v1":"e588788393997e9e818871ceafd375fb9d9af3f4300621a02504425a02d5d5f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:42419 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:53806 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:54220 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":42419}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c71178962a7b35e41230afd35f5bf893d45adda57b5ff24c44a424d39c4255"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:49795 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:50310 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:61789 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":49795}}}],"partialFingerprints":{"codehealthFindingId/v1":"7117610c6146ee0bc5152c7a465a5256fc95eb848aa184de2cae950745c882a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:54050 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:54392 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":54050}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf43c000e3936db03739cba0bcbeba5cbc780220063a2a234027ec46aa9c142"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:54506 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:56359 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:58694 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:59522 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":54506}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b0bbbaeaf063b33725a4c1f3bfcf1e6850f99d3de4095b6dbbd1a86a47d2e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:65149 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:65275 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":65149}}}],"partialFingerprints":{"codehealthFindingId/v1":"033032826a06e6fe6723739a2f18ea3862b0e922d2c4b6d9b618e001706c4e69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): prelude/nodejs/tools/nodejs_test_adapter.cjs:885 \u00B7 prelude/nodejs/tools/nodejs_test_adapter.cjs:1157 \u2014 both copies are in the same file, so extract the block 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":"prelude/nodejs/tools/nodejs_test_adapter.cjs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a710222062a9ae6f1ac8e047c91e356e8632c5721857209a8e8d7ceb0b1202"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/REStatsSection.tsx:30 \u00B7 app/buck2_trailcam/js/src/components/invocation/REStatsSection.tsx:87 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both spans, 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":"app/buck2_trailcam/js/src/components/invocation/REStatsSection.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"903381f50e389697ee0bda119fd65eb5d5d1cc5b3687c022574f5c27df8eb269"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/analysis-events.ts:123 \u00B7 app/buck2_trailcam/js/src/lib/streaming-collectors.ts:192 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/analysis-events.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3c5a5e54a67448b5a63f035f9091a76e55e9e66260b15564c8d83e6a2f7248"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/event-log-decoder.ts:205 \u00B7 app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts:110 \u00B7 app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts:146 \u2014 the 3 copies are spread across 3 files, 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":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b615eb294b3b52e54316b7a7bf96c2433d3c56ca07c54c66f1403bf71914b829"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/event-log-decoder.ts:449 \u00B7 app/buck2_trailcam/js/src/lib/event-log-decoder.ts:598 \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":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be9eb282ca86a073dd5219e7a6a929c9cfa677893cd2157f90c7a1f8e017cc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 28 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:5253 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:5328 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:7463 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:12391 \u00B7 \u002B24 more site(s) not listed \u2014 all 28 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":5253}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac39bcef01d3d159ad111477f71d97308e0f9e09c7f335fd28ced2d1053de2c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 17 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:7325 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:31843 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:35010 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:35116 \u00B7 \u002B13 more site(s) not listed \u2014 all 17 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":7325}}}],"partialFingerprints":{"codehealthFindingId/v1":"9714adb879ae6a819b1d7033fb78ce322f6a65843811bacfd39a23a8ffedb3c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 12 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:8054 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9218 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:12677 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13962 \u00B7 \u002B8 more site(s) not listed \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":8054}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa4e3759e977332773356fa5ad425d08dbb7ce4b5bb57ac4cb7b6456cc12930"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9798 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:37600 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:58028 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:61121 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9798}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce9d88d309089e9b20ade8cef60e5f95053c56f2e7fbb0be35d5f9dd254e362"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:11323 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11992 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:60218 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11323}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4f22ba024db1e985ce19ac43e631dafb38c23f2f596e922447d296b6a060d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:12089 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:64708 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":12089}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d7d0763cbc0b63515c33e7335d4ad50af5ce0ccca2a6d26f8da02b040ee2ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:15689 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:32194 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:60838 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:61830 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":15689}}}],"partialFingerprints":{"codehealthFindingId/v1":"759b5ee8647ebeccb3269b27b99bfa8ae2ce43046e8415ef70795860836a9525"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:16171 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:44978 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16171}}}],"partialFingerprints":{"codehealthFindingId/v1":"429588deaff3cf9ae0bd854e06c2a68ce8e2f59bfda7b361a5f50f93deb57db4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:16235 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:19483 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:49918 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16235}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de46b1f67bc9dc77dd3d25c2286beed3fe321adf37406ac5ea87ee4813b461d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:16248 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:45010 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16248}}}],"partialFingerprints":{"codehealthFindingId/v1":"48928b218912b7717cc7465606bcdc868dbd1a7a56569bd5b243014224ca01d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:16269 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:20480 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:60879 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16269}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ea4eeeaaef2df1a7b7458f99aef098a124792754963130c2ad9cc2d101cf57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:16762 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:30702 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:45242 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16762}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d2c39d160d80c74734ee388fbc605a87c2c529e4bb56637e07ca20ecac4295"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:16793 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:45104 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16793}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfe944012d6b432841ad5b253df70839d5fb51d476fc2db56bfd3da1be23801"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:16853 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:16862 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:16871 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16853}}}],"partialFingerprints":{"codehealthFindingId/v1":"a387c7b1aab8f84dd629c211c342b0f78638cdd5926f1e146da9cb22f78b2a86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 10 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:19882 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:19892 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:19902 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:19912 \u00B7 \u002B6 more site(s) not listed \u2014 all 10 copies are in the same file, so extract the block into one function there and call it 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":19882}}}],"partialFingerprints":{"codehealthFindingId/v1":"969f94b7379c458df4eb87d2da8e4330a80528fecbf3d0518ef64f90b0f364b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:21873 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:50480 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":21873}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8beb50454df07aaf95b9b5be73e6b9f6a12900750630bfc99eae354ec379a83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:23331 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:25705 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:25717 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:25760 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":23331}}}],"partialFingerprints":{"codehealthFindingId/v1":"d807af5bd985469118ec99c844e6f89409e796af612194fec15e640319010459"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:26249 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:45040 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:59262 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":26249}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ba1f7b81f0ec48dae6e3ec452f529a4b6d399d20954f941b76b41fdf6a7d5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:32439 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:45339 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":32439}}}],"partialFingerprints":{"codehealthFindingId/v1":"95028d345c9b83fe858d2be3b37d5ae34b6def473b7fc6afb19aa77492b803e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:33620 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:63518 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:64273 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":33620}}}],"partialFingerprints":{"codehealthFindingId/v1":"eceab6c945611ab0f84db396f512bf179a7e09d6c00a60079a4c1c181832aec3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:35765 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:37457 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":35765}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96896e91ec1aa6b88e3662ecdf5d44e4bff38be26736c7ad9c292dc5f8d9d44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:36244 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:36792 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:39305 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":36244}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de343224e1066618dc00297cd88c8e5803ba26d5bfcd3c9402d6c66cd583b9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:36514 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:62610 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":36514}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89198f98e497fd64c935a9a23e3bef908cb26854346089f44f0d12f2a995b4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:36641 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:58057 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":36641}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d96cf5985101faf43cc03e4cf0f4064677526fb0fb90041c2d92ec507d5438"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:37577 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43633 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:61099 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":37577}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c0554ebcc7bcd1ab42fd6e09c268ae9c6b1b88d9e1a746a0a98c1b306fbbdd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:43515 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:58461 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":43515}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a7a1d9d0956968b78c42d5e6e1fa5384554a50b898c1f6fb34f0ee0da08605"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 9 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:44370 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:46483 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:46815 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:46941 \u00B7 \u002B5 more site(s) not listed \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":44370}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b97213c94b2cb2aa3f7bbcc45082a31ad0201b3f7c81cc21555767e91915b3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:44462 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:49403 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:58448 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:59172 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":44462}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ec0e6e7cb280ea02b7d73d5dc5595b3f1f0df09f4999e87a899072ef987358"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:48273 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:56808 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":48273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc37fb675466055b98673a5640d462dcb184941b201cae85f25eea4b76c2e96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:50378 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:50410 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":50378}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fba1ca41056e66906be780fdea732e2304e6dc20f5007fc1afdbddfa4df6e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts:443 \u00B7 app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts:479 \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":"app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab25ad12c99f96da88620121013e9c1778eac039923dd75e5c3140ed5d86ff0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): prelude/nodejs/tools/nodejs_test_adapter.cjs:912 \u00B7 prelude/nodejs/tools/nodejs_test_adapter.cjs:1430 \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":"prelude/nodejs/tools/nodejs_test_adapter.cjs"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fb221fc8a49130f177d2b875a779d09fd2e47457149fc8c8cfb98015e9f7f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/FileChanges.tsx:107 \u00B7 app/buck2_trailcam/js/src/standalone/StandaloneApp.tsx:59 \u2014 the 2 copies are spread across 2 files, 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":"app/buck2_trailcam/js/src/components/invocation/FileChanges.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"89faef5d2162ff8469864bddfe253efce525bc340789c119da0686835cedf97f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/action-results.ts:220 \u00B7 app/buck2_trailcam/js/src/lib/action-results.ts:229 \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":"app/buck2_trailcam/js/src/lib/action-results.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a515526da543eb7c0ab01dd77220ef3229e1df377f9f1b61110664ac7d1e4b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:7458 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11266 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:60959 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":7458}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08e550fb87aa03be644211269eb5321cd482a041f28bbe6353571ce6c19eb51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:7868 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:8855 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9111 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9616 \u00B7 \u002B5 more site(s) not listed \u2014 all 9 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":7868}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6174ea0a01f0dd0818ec3501f0e31a804194eb496269825c3517df8858f89f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:8040 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:23797 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":8040}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc966f1677576f17a0a7efbba5cda6f5138a8d1d5ec3486f8b39d694f0861673"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:8849 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9107 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9612 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":8849}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfedbf1f4cb542c7504a4f78c5e3faae555e8205a7fd4571e9c53b2ca66a4b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 81 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9170 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:10917 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11348 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13907 \u00B7 \u002B77 more site(s) not listed \u2014 all 81 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9170}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff1433e908b170d936f9eb1f8696407583cbe802430dfc4da4e4134b953a345"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9695 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:37538 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:56725 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:61061 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9695}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4420cbc2e595b6eca8491bb29b2515d0155094f8e71bae9d24027eb9ef0e55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 19 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9750 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11804 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13097 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:14155 \u00B7 \u002B15 more site(s) not listed \u2014 all 19 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9750}}}],"partialFingerprints":{"codehealthFindingId/v1":"52efdc212d06257346dbb83cf863daa71569e5a29186f3d3e41474bbb70b339f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9961 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:22365 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:23759 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:37484 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9961}}}],"partialFingerprints":{"codehealthFindingId/v1":"9545294dcd329949e308636b691f05608f452a98543fea24cffe44c04a05b1f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:11006 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:58130 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11006}}}],"partialFingerprints":{"codehealthFindingId/v1":"399aca07c74c339d1c27e1d2b24179b068ca8aff9fedf69f8469c787d02bbd54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:11189 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:36646 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:39149 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:45298 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf03145e2766c9859f1617162f684ac67525574f43d6fd05ec59e09b6568b41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:11595 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:30094 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11595}}}],"partialFingerprints":{"codehealthFindingId/v1":"7082642a58ca42ba66c6d3ffff49f5e94ec4b08291b0f4589fff2565ede558f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 13 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:11812 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11939 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:23893 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:28255 \u00B7 \u002B9 more site(s) not listed \u2014 all 13 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11812}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c85df84540f6a0b0bc8a7e7660115a1c69298d10da026793418474e53410ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:12769 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:64866 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":12769}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc44e5839900a44d96239347105d930d97fa9bb3b4f7448a4a045700f3fea1fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 15 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:13029 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:14960 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:29101 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:34591 \u00B7 \u002B11 more site(s) not listed \u2014 all 15 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13029}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c443af5107fe2665509d3b041e5bc783ce9dd18798c840e8e7217990500d03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:13891 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:14491 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:45204 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13891}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb4da587d072077bc4d7dd2eb3cf0834eed2791271f874d0d57de3a4df2c278"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:14004 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:16022 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:23007 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:23842 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":14004}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6bc5ff90c6f2e6828ce2747091b4ea27f332d5da694d2296cecfdab43b2a79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 18 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:14470 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:16682 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:16691 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:16700 \u00B7 \u002B14 more site(s) not listed \u2014 all 18 copies are in the same file, so extract the block into one function there and call it 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":14470}}}],"partialFingerprints":{"codehealthFindingId/v1":"d479b6179ad91766954a668ecb9fc11f3cb99e161d4ae2c8de45effca55d88cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:14485 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:16760 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:16768 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:30700 \u00B7 \u002B4 more site(s) not listed \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":14485}}}],"partialFingerprints":{"codehealthFindingId/v1":"21aa9e57c0c2ed44d66958fa31ec87ea1c0dd20cfaee8bc2bc3b3561ee8408b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:16702 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:16773 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:21696 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:62831 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16702}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d3e13c427795e0b5d82b3bf25db26254324137079a884688eae3b14747b649"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:20000 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:21877 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":20000}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad26604188db82d3d93be65d023193d9da3d8edc30c5503094f73e110455e0b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:21053 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:65146 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:65272 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":21053}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b63a72ac900d3dc4f66e10d7a26dc5d379f5e7064a02998d02bad539bb92ee7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:21075 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:65147 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:65273 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":21075}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d2d79335399107a6a56199d562daeabe20d0f599c975e53e7f5f8aae6dd6fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:21790 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:21801 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:34551 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:34564 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":21790}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcd2d1dcb8c5ff10b018d33c575d80db43d37fb722acaf0fe60c04286681c9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:22100 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:29872 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:33586 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:36517 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":22100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a37c43e8a0862e770c3f117b9ecdad5896b6bb4f830bbfd6a59d869d76e64a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:22344 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:33310 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:36606 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:39000 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":22344}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ea63ad8300f23475f7811ccda23b141f69c1b20540f71fdcbdbdd3b8d3fb76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:23237 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43495 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43629 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43776 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":23237}}}],"partialFingerprints":{"codehealthFindingId/v1":"7718ccf2f3b52254345ce4bf5a873286752358bafdbb5f6ac1b1f49222ed4021"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:23889 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:38876 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":23889}}}],"partialFingerprints":{"codehealthFindingId/v1":"311c4462c3986e2b875fb60055683617970d8a1e34255c68c6d644a454792be6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:23911 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:38999 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":23911}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f24d92e64b6b0e199784c19b0fa88183e608aa9e6172a3069fc692d3f3516ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:28059 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:28964 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":28059}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a997d45a900fe765b767269552396c5784af29d0edcf7d299a0db6e2af716a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:29854 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:33551 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:33567 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:33577 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":29854}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cfcad3c09d8669fb0ab842ba1bea0651b48d1319443750b9b79aa7fc42af3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:30105 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:33270 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":30105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc00daaab578753bc662e2e9241317053c47e2ba5d0e111eb62ac54e26675be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:30705 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:38680 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":30705}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ef6cb558b06b2b59637a6d1cf456aab62e1607d1b39f6fa10bbd5a88e222fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:32918 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:53794 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:54208 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:54373 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":32918}}}],"partialFingerprints":{"codehealthFindingId/v1":"00aa9e1c2ae361a5c5f142b6604b35890a09d386bfc895c2f7da9b5516c2a9da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:34588 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:38924 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:38939 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:41480 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":34588}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d42a957b0c4ac699d54bb0559e550bb63fedd06dd147c6d6e42a4e7f9480ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:36711 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:55135 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":36711}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7ae3838d920fee9867de18bfac29904b895f9bcce5d6c8d399c4a755d3aa92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:37552 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:61075 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:62650 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":37552}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0cb756f4b7b7a7b34f872ade82fbd10c21f94d107ad4c1b02fe8c7ad9d40a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:38676 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:45123 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":38676}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03ce1d550516c3f1e1a2fdc819d353a268e95022c8347db3972c802422aab29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:43463 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43599 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43738 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":43463}}}],"partialFingerprints":{"codehealthFindingId/v1":"4064c2cae726764aabea071a2a4a80b8bde88fbe8dcc070ea115419bac5d3e2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:43806 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:57975 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":43806}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3c704ac4a8f5130551017f3c256b1aedc4a6c880805859dd28b9fd6fc18546"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:44503 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:50530 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:58000 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:61359 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":44503}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e512ac2b8c2c33de89a093367b8c3acbdeead573b88c70c281c2448bb61e3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:53849 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:54261 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":53849}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b596fae719bb73939189740978dd59e9808512a90a79915494dee1c2c2d8c62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:62835 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:65055 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:65181 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":62835}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7a634310950a989e928be3d57c6e3278229fe0b60edc0878313520559d3030"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): app/buck2_explain/js/src/Router.tsx:84 \u00B7 app/buck2_explain/js/src/SearchBox.tsx:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 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":"app/buck2_explain/js/src/Router.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ede8b2aeb1501b429fb846e93ced10c8dc0826d852b89b0dcdb9e8fe92180a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/DecodeStatsPanel.tsx:23 \u00B7 app/buck2_trailcam/js/src/components/invocation/DecodeTimeline.tsx:40 \u2014 the 2 copies are spread across 2 files, 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":"app/buck2_trailcam/js/src/components/invocation/DecodeStatsPanel.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11e1363777d25aedbf56ba9dfe23833840c53704340c73621b64615da46ec55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 47 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:762 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:4715 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:7936 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9188 \u00B7 \u002B43 more site(s) not listed \u2014 all 47 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac9100e88dfa48352add6fa352fd16246f6c4c66d3348862ef2ab724eaafa87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 21 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:1045 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:2555 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:4672 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:5410 \u00B7 \u002B17 more site(s) not listed \u2014 all 21 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4378394503dafd5b17b8962f237c2bcb3a2394c062109612a9dfc04f6d496a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 65 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:4171 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:4335 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:5045 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:7813 \u00B7 \u002B61 more site(s) not listed \u2014 all 65 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad44855db5026e85b70a82695ab2cb36d9dcb0a386a4cb33a2a2b9bd66765693"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 10 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9441 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9961 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:22365 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:23759 \u00B7 \u002B6 more site(s) not listed \u2014 all 10 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9441}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afb0c7913cee273c3e73e74d9726b81c06bcaad25e6df5472775940847d0ab0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 35 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9571 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9704 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:10961 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:11101 \u00B7 \u002B31 more site(s) not listed \u2014 all 35 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9571}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c34959499dabd2de506d075f152edaaf6e056c36bde25dfab5024ef52f3a3d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:9669 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43698 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9669}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5cf01514001c8ffad2d6c3784db52e6e30bf05d3a0bd935210272f7f612381"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:10002 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:12657 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:58991 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:64774 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":10002}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc07e6521ff11c1b66647de3236949c73b47641518d06c4b8d43e1bf8e81eb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 20 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:13890 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:14469 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:14490 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:16681 \u00B7 \u002B16 more site(s) not listed \u2014 all 20 copies are in the same file, so extract the block into one function there and call it 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13890}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5a0450c8d3e475a19d6608f2f6779ec060a9f93096dd6f5363ee40fcaec7db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:13982 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:32573 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:46805 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13982}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a17b2859d664a19387f25ba6e03944190c586d969db8eb702f6542af68dd82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:21780 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:54550 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:56402 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:62132 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":21780}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfd51725cd2b040973f7af527ee5275f0d5ba2f3f957c92d5b0f3e414420d32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:29973 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:32379 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:44192 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":29973}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d28e57e70f1ccdd3ab1bcbcb3e1c0bcce9dca47beefd5a5800f3e747fe9e013"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:32391 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:45176 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":32391}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad36eb804c9e03ba50eb84b706f0c9135df181eef0b6dce16d69a33d6ebd0888"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:34036 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:53815 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:54058 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:54229 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":34036}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5656ab6b6bd85bf70586b36cb8ea75de5db915b1f98552cbf538d2b91e46d71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:41205 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:65152 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:65278 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":41205}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a10a15c604aa14ff99a05f9d0cf693b18759c81eaf91c8e140d5520dee83e53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:43422 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43693 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:44344 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":43422}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3a55a73943acf28c89fd822c1b0b149aa19d1376527bdbd080a45091d0c241"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:43868 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:53389 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":43868}}}],"partialFingerprints":{"codehealthFindingId/v1":"f709729de4bb29d6f2ddd1071ed3e5197a1b679fa4cbc878b2a48a704c72daf7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:47837 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:56754 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":47837}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d7a7c40f91f41c32f2db9e93edb4376f3382a764f0a446b588d60afe53e16b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:51427 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:51840 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:58017 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:58488 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":51427}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57826aa7a1a15b7f6a2127ee57bc11230e2965c43d81cfe82f6eb72742a1a69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:56657 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:58257 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":56657}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d2284202893abdaccaad7e593e0345dbab53f4cc5f925874d6b3825b5919b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:63775 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:63867 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:64808 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":63775}}}],"partialFingerprints":{"codehealthFindingId/v1":"b854dec89e71f17a3b214a24b757152a1fcac070c8ab7cc80478bcbcc8b4b593"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/DecodeStatsPanel.tsx:19 \u00B7 app/buck2_trailcam/js/src/components/invocation/EventLogViewer.tsx:67 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/DecodeStatsPanel.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e062f1baaf0eade22573d0f2be2a2cdcbf70642ff9c47b2a91eccd8f6f2e448d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/DecodeStatsPanel.tsx:27 \u00B7 app/buck2_trailcam/js/src/lib/action-events.ts:61 \u2014 the two spans are one implementation copied and then locally edited \u2014 84 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":"app/buck2_trailcam/js/src/components/invocation/DecodeStatsPanel.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c34e0a88dcc434e257191e97f250f97bbe1dfa4ff0c7d0e94ef6a612d76ac9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/DecodeStatsPanel.tsx:27 \u00B7 app/buck2_trailcam/js/src/lib/load-events.ts:49 \u2014 the two spans are one implementation copied and then locally edited \u2014 84 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":"app/buck2_trailcam/js/src/components/invocation/DecodeStatsPanel.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"35666fcb77a2a3f1a01775fa63e5504e2649ee191a7964815a70841e3ccb1879"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx:37 \u00B7 app/buck2_trailcam/js/src/components/invocation/LoadTreemap.tsx:52 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3190f3f8beddc91a4485a20d14778ed2563d568f1cbb3ba87bf8c0e1612c81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/event-log-decoder.ts:180 \u00B7 app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts:84 \u00B7 app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts:120 \u2014 the 3 copies are spread across 3 files, 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":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ce4fe72603cc0144b11ebf1fa0f88e209ddf35e310e002fefcde68ffd5c394"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/event-summary-store.ts:363 \u00B7 app/buck2_trailcam/js/src/lib/event-summary-store.ts:375 \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":"app/buck2_trailcam/js/src/lib/event-summary-store.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2eb95d9dff17bc102ec6ccbb43aa867d41b417fc1cb9cdd7c1e57305c84436"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/load-events.ts:146 \u00B7 app/buck2_trailcam/js/src/lib/streaming-collectors.ts:114 \u2014 the 2 copies are spread across 2 files, 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":"app/buck2_trailcam/js/src/lib/load-events.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb79d3ddb20852cbc9d4917f29982aa561f3e6b790121f7f90037598a9f5d6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts:38 \u00B7 app/buck2_trailcam/js/src/lib/parallel-decode/decompress-worker.ts:25 \u00B7 app/buck2_trailcam/js/src/lib/parallel-decode/dispatch-worker.ts:58 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"02878d9e83d2deed47677c337b5abbea174da94ffe5be61bc8caa83a85b8b7c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts:201 \u00B7 app/buck2_trailcam/js/src/lib/parallel-decode/decompress-worker.ts:42 \u2014 the 2 copies are spread across 2 files, 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":"app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f0eb2b5dca1c582f74f9a9490c0b579a6b4a2d8fcc3098a7db6fca2d589870"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 55 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:746 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:9231 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:10142 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:10943 \u00B7 \u002B51 more site(s) not listed \u2014 all 55 copies are in the same file, so extract the block into one function there and call it 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9aa16a3ef92acd79ba45b845fc304be9e75384c0d1a27eb2bd474dab112cbd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:11348 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:32473 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11348}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be8656384e0d412e6c40ff865103ab62fe25005dca58fbe9b853aa6728fa913"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 23 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:13092 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:14953 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:18526 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:18784 \u00B7 \u002B19 more site(s) not listed \u2014 all 23 copies are in the same file, so extract the block into one function there and call it 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13092}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d33a1f6136c5a9741fa8357e641d6829baff6e8452b83ef3df8a73f502f165"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:16187 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:44990 \u2014 both copies are in the same file, so extract the block 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16187}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a29bb5c57a3e88fb2c728a12e8294c7ffe8c160d2878c99db51bceb799e124d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:16675 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:61240 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16675}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cae83bb6e2f3c41ea471118001aa5069b2c77f4c61fae73df051340bbae1585"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:17098 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:45543 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":17098}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16e9b7754efa1e061813d97dcc7aa520798834d6862973e56f1f7d7f7fa2a51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:19532 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:49926 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:65113 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:65239 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":19532}}}],"partialFingerprints":{"codehealthFindingId/v1":"521332c8805163617b2306bbb6d6bd428c23ef49d862f11c304cee42a985bb65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:28262 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:38975 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":28262}}}],"partialFingerprints":{"codehealthFindingId/v1":"c105b1b69f86a20e17cb6393ea8507417277671dd9de6373de917a527b0426d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:30349 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:33074 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:44026 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:44279 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":30349}}}],"partialFingerprints":{"codehealthFindingId/v1":"44df6e22cb2cda4aae89361d66b9ce05d9c1799a73907156741624e3935dc47a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:32461 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:33841 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":32461}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1f095d02eaef8b1a5b4620093b5641bceeb652e4f9045470176f609d0a8250"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:33584 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:41062 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:41071 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43856 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":33584}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27c68314d2e333dfe2ed9390ffdf9004d75cc96248652e31964200bf47df693"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:33980 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43070 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:53997 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":33980}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e67d2da761ddfad20f1a2d62b4ae4e96a164df1a619600a364109ad9db9ed31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:37455 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:44468 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":37455}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ae42e623540aef9c6f1f50492409d5172cf491abcfc4e07a4ed7a81c9919e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:41229 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:41741 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:41946 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":41229}}}],"partialFingerprints":{"codehealthFindingId/v1":"98eb1e109d117efbc58fe4ab5c531799254fd5f79561352f66c80ccbdf936da9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:51803 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:58004 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":51803}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfc39649f8ef046d6978377cd0201b68b3a4e6d06e9645383999d972c09cc24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:56673 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:58291 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":56673}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda3f328c8a77c1d69845f1fbdadf36f7475e97d9fad414c743f4c5fbe94a67e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx:176 \u00B7 app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx:182 \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":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c301665f9012d7487b180ab3625fab0c349f0bdcd8f11ddf5cf32a73a8f3706"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:8539 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:8841 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":8539}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7037fffb1b7ee1edf2b0c6510f0ed07ff3104fcf4fee7e41e4f7ac153e8adf7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:13959 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:13980 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:32571 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:41337 \u00B7 \u002B5 more site(s) not listed \u2014 all 9 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13959}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce4bae5bc1ddf311415449b373f441fe0d37d899529096adae484e301e5f00f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:33268 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43084 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:53812 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:54055 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":33268}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47e4c6505f4bf2fe6fd51f4cef7d94edcb7e0bd9da1e53559c8250d56eefc02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): app/buck2_trailcam/js/src/lib/proto/bundle.js:43438 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43579 \u00B7 app/buck2_trailcam/js/src/lib/proto/bundle.js:43710 \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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":43438}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7cff1180712af07671c14b8cc3d10bb96e779c4fcc527f8421be902879c5a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 946, cognitive 1634): toObject has cyclomatic complexity 946 and cognitive complexity 1634; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":50325}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b551ba1323311f2bf552a37b0151ad0a0a0b38af9d471019ac65b6aa92f0942"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 694, cognitive 1236): toObject has cyclomatic complexity 694 and cognitive complexity 1236; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":19562}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bac911f43e1ce66bf60daee20e8e73aeadb36b4da2ea1ba7d8a81909b4c0d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 640, cognitive 747): fromObject has cyclomatic complexity 640 and cognitive complexity 747; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":48217}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab5552689d6224f4c82b26ac9a25204cd8a3f55d772ae386b33564361072cd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 576, cognitive 32): fromObject has cyclomatic complexity 576 and cognitive complexity 32; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":56796}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c37ac7752d4b917c72238ad9ef6f5456cfa9e5659a8a72c58bdbd68071c9c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 371, cognitive 437): fromObject has cyclomatic complexity 371 and cognitive complexity 437; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":18374}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab03f88f3bb2b782f6e325f0d53ef26eba9f968dd0512a85ac9d8ebc07f60945"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 361, cognitive 371): encode has cyclomatic complexity 361 and cognitive complexity 371; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":46431}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db843153dbfa27061335b4bc0da8e996406ddeee43fb8ef909f009b06ec282b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 249, cognitive 249): encode has cyclomatic complexity 249 and cognitive complexity 249; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":17142}}}],"partialFingerprints":{"codehealthFindingId/v1":"17602bdd2edaa84c1c9db969222de94868bcfea7a0c1aff575f386c9916201dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 203, cognitive 59): decode has cyclomatic complexity 203 and cognitive complexity 59; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":47406}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8de69f6e27444444fa633cfddae56d656d0613025e29c90ead074a434ba7255"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 140, cognitive 185): toObject has cyclomatic complexity 140 and cognitive complexity 185; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":6715}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30e1c845a9da7e3b5c0acc9368894a9c6d287793545459a0a1a8e243341b75d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 135, cognitive 83): fromObject has cyclomatic complexity 135 and cognitive complexity 83; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":32868}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea7c6120d32c30b0c5cc420ee9d43d2f0b9d924560235d59c778b79cc1115f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 132, cognitive 17): decode has cyclomatic complexity 132 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":17829}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7b2d564c65d0bf091140fef938c241dff8f8740143d0c3149ce602140bda96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 131, cognitive 230): toObject has cyclomatic complexity 131 and cognitive complexity 230; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":15100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3481c243b8d2ff8f521b64996d18efd3a45a40c332bcd190f9125d2f2f16add2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 127, cognitive 166): toObject has cyclomatic complexity 127 and cognitive complexity 166; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":3718}}}],"partialFingerprints":{"codehealthFindingId/v1":"efebe15c9eea3e5560bf098db42a9f781516bc3716636aad79620f6a59bef2fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 119, cognitive 157): toObject has cyclomatic complexity 119 and cognitive complexity 157; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":2138}}}],"partialFingerprints":{"codehealthFindingId/v1":"86497ed28355510b8dfef11afc9efcb92a636740dd4e7354bd941d2649d913ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 113, cognitive 222): toObject has cyclomatic complexity 113 and cognitive complexity 222; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":27700}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eea2911ab8836da7e0937d3d7c23904fbea2a19062435374f9c4a3df781679e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 113, cognitive 151): toObject has cyclomatic complexity 113 and cognitive complexity 151; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":33235}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc543b9966bbb08dafc57e63e9c6ba560f988842e06e58df84c3038a93d35c93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 94, cognitive 139): fromObject has cyclomatic complexity 94 and cognitive complexity 139; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":6265}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc6bd5caf1f9618353de15fc3a11adff44dc54cf52f226a268482f816c0a91e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 94, cognitive 93): encode has cyclomatic complexity 94 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":5521}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d413bf9061c44349b3b41e04c0d2acc14383a69628da90e5d1e05c59b2445e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 87, cognitive 92): fromObject has cyclomatic complexity 87 and cognitive complexity 92; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":14815}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfce47241fbce3145bb8bc8f3ff18c34e6b0ecc5f9e1bfa74408b01281cbb35a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 86, cognitive 127): fromObject has cyclomatic complexity 86 and cognitive complexity 127; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":3326}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9805ee8bc1683322c8064a573fba3e52e78c4af251199c81bce296118be154"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 86, cognitive 85): encode has cyclomatic complexity 86 and cognitive complexity 85; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":2656}}}],"partialFingerprints":{"codehealthFindingId/v1":"8daa751d978fea839635c5d9264475e845691a00c57f3fd632df68e6f54165fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 84, cognitive 109): toObject has cyclomatic complexity 84 and cognitive complexity 109; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":23429}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5ab0a65094056536ce3d544f1b60a798da32a8abc6d29b6177c69a12527323"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 80, cognitive 118): fromObject has cyclomatic complexity 80 and cognitive complexity 118; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"10279fbb34c688bfbe0526855709471d2b38655c6cc2c75aebb977a2a2112d9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 80, cognitive 79): encode has cyclomatic complexity 80 and cognitive complexity 79; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce00caae1623660c6eb7ef33fdcf0838184f8e62d81d28ef053697b15c56c090"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 77, cognitive 100): toObject has cyclomatic complexity 77 and cognitive complexity 100; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":25859}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4c5a8a62e56cd445d6878c50c043f57dc2d59f5c28a42eb88b2466edddc5b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 73, cognitive 101): toObject has cyclomatic complexity 73 and cognitive complexity 101; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":10651}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5304dc7df834c2899c1e9133b528380148ea3202a1c4adab900581e11b72802"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 69, cognitive 116): toObject has cyclomatic complexity 69 and cognitive complexity 116; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":61828}}}],"partialFingerprints":{"codehealthFindingId/v1":"a445188c2aaa366a8960c9ec4c797c8b3b40b2976c6a8a48feee79f565c5bbe2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEntry (cyclomatic 68, cognitive 70): parseEntry has cyclomatic complexity 68 and cognitive complexity 70; 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":"app/buck2_trailcam/js/src/lib/critical-path.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7190f93fa9fa5ee51b839a9a9e2fb375c33cd301a4c908ff9d48ac0222dc34e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 68, cognitive 69): encode has cyclomatic complexity 68 and cognitive complexity 69; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":32509}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e70bf2da33b749c962c347b3742eceec4c3457e54db609ffcd3a6f910bd1ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 62, cognitive 81): toObject has cyclomatic complexity 62 and cognitive complexity 81; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16251}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be4b46dbea9e4a3189592770c6dbfe6fd5327cac9083f387ee3f61b31c2cae7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 59, cognitive 96): toObject has cyclomatic complexity 59 and cognitive complexity 96; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":41556}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eff5e0eb3a0cab5d9c936d7878340a9172b8f4c12d1e28afbf56dd9cddee4f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 57, cognitive 93): toObject has cyclomatic complexity 57 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":34616}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9e25a8251b64dad4af7b3d78c88005fee218581faf4df9eb1aefddbb159212"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 57, cognitive 85): fromObject has cyclomatic complexity 57 and cognitive complexity 85; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":23217}}}],"partialFingerprints":{"codehealthFindingId/v1":"97495b5c78eaf0b88eedee584e611a5d3d32706c2dbdc8240b758e8d61bcd52b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 57, cognitive 67): fromObject has cyclomatic complexity 57 and cognitive complexity 67; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":27528}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5467c7b93a209fc9cb2f9051f9ac76fce963af228f00e61c6024d8ef64d0a22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 57, cognitive 59): encode has cyclomatic complexity 57 and cognitive complexity 59; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":22799}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2e66a71024fad755bcdb67e0253323a5f4911bc54c555a9ebe228480ff879e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 54, cognitive 85): toObject has cyclomatic complexity 54 and cognitive complexity 85; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":38975}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a72892c4506d0ba8e5e4aea80de8c9364cf99025cf3f9e821ae080e253aa7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 52, cognitive 75): fromObject has cyclomatic complexity 52 and cognitive complexity 75; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":10425}}}],"partialFingerprints":{"codehealthFindingId/v1":"0664c83adb289e6e531b2d95a88541529d9a4ccc60f4ed00795febbdaa3e1351"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 52, cognitive 51): encode has cyclomatic complexity 52 and cognitive complexity 51; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":25295}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c28952fbe3550900a65d0205403917503315f341d576fca2fc296651a403ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 51, cognitive 92): toObject has cyclomatic complexity 51 and cognitive complexity 92; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":21838}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3e7baea787fde1276ceffda9151900d7ef168a47fc5085f3aad0b41b0c6c5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 51, cognitive 74): fromObject has cyclomatic complexity 51 and cognitive complexity 74; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":25677}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1a9089bcd4faaf88e1427edcea45ec120e54b70c1a53706ce4402eef266924"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 48, cognitive 74): toObject has cyclomatic complexity 48 and cognitive complexity 74; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":14194}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd16758ad9d12105524fe05f0cd6976c659d43b5b6d4d1667db31ff7b2f5571d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 47, cognitive 72): toObject has cyclomatic complexity 47 and cognitive complexity 72; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13128}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db4fdbd0c29c3bba58904334a54bd53013b1f5c3fd8c45191d270330e3dc2a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 45, cognitive 45): encode has cyclomatic complexity 45 and cognitive complexity 45; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":10090}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72c6c3895b0db2855c32578dd730961a8b4ba3eab7b74ee82c8ccb922e04308"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 44, cognitive 45): encode has cyclomatic complexity 44 and cognitive complexity 45; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":14572}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a981668c55b1a61042fe8d7b57c79c1a35196de8f91d968cb693cc17f17a86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 44, cognitive 45): encode has cyclomatic complexity 44 and cognitive complexity 45; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":15882}}}],"partialFingerprints":{"codehealthFindingId/v1":"440bcd3b4f0420bc2ee46e1a2e24a1a3fe3d9dc5c2943c182353ed73eb68080c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 43, cognitive 49): fromObject has cyclomatic complexity 43 and cognitive complexity 49; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":61684}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82f2b95e5018931f79f2fb8c00d11572be7e5cdbac8cdb363b2f9f27edafda5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 41, cognitive 53): toObject has cyclomatic complexity 41 and cognitive complexity 53; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":37156}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb7d3f010fbe7a953ae4c8ecf0064b726be7d999da22454ed6cc0c254e5b474"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 40): (anonymous) has cyclomatic complexity 41 and cognitive complexity 40; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16671}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eff8161deba33c0d0bb69b01022542bf3b31a355c9cba4d64e01bcb74a2bb7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 41, cognitive 15): decode has cyclomatic complexity 41 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":32688}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38436f5dcc7f56ce094139b837cae9a002e837242cfff7a98cfc7d6000763cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 40, cognitive 37): fromObject has cyclomatic complexity 40 and cognitive complexity 37; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":38866}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b61b00526365dbf42eaa4647976cfe6fda429050ee137966168047cb329052"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 40, cognitive 21): fromObject has cyclomatic complexity 40 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":22230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a884cdcbdee9fea81f26e4f5b90bc7f65f24423314455b53766f09e3993f122"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 39, cognitive 62): toObject has cyclomatic complexity 39 and cognitive complexity 62; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1210c2e947dc0539404b0518e96ab5a4cabf6bf4cb6c05119e5dcabe83f3999"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 39, cognitive 29): toObject has cyclomatic complexity 39 and cognitive complexity 29; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13640}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d97a193bcc8bf3fee912a6fef04f677772cf77d31f6c4d948514c0584cac361"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 39, cognitive 25): decode has cyclomatic complexity 39 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":22999}}}],"partialFingerprints":{"codehealthFindingId/v1":"c177886477801c38b658ba151337607d3742b06eb8c580c4ec77976fef094274"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 38, cognitive 62): toObject has cyclomatic complexity 38 and cognitive complexity 62; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":29168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d053dcd28cdaf67625620215c7f55eb7ec249132bb66650b1a437b8139a9194"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 38, cognitive 62): toObject has cyclomatic complexity 38 and cognitive complexity 62; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":55165}}}],"partialFingerprints":{"codehealthFindingId/v1":"58724b9bdcea934a9367e5dfceff5b688a4b907af183248f0ab8ca8d2106983a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 38, cognitive 55): toObject has cyclomatic complexity 38 and cognitive complexity 55; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":31018}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10d60ff85616a0d816669899be3d94a81430ad20b6e0d9d01e6e816d183be4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 37, cognitive 21): fromObject has cyclomatic complexity 37 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11487}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf7d80f7680526564f4bb71d57f4d4e3f1b9be6792349e571d03b472a2595fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 36, cognitive 44): fromObject has cyclomatic complexity 36 and cognitive complexity 44; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16155}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ca60e5d7992843160854543d1b5bdcf6060d08b51523239abe83642d4907e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GraphImpl2 (cyclomatic 34, cognitive 74): GraphImpl2 has cyclomatic complexity 34 and cognitive complexity 74; 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":"app/buck2_explain/output_format_js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a389246856386e4f91f0301eb2882e5fa775261584a4ed856637fe08e9992c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 34, cognitive 38): fromObject has cyclomatic complexity 34 and cognitive complexity 38; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":34537}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4902ea9df9dd517cf8e89721682b9ba3cd641c9c86c74fb3dea60312fc97838"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GraphImpl2 (cyclomatic 33, cognitive 75): GraphImpl2 has cyclomatic complexity 33 and cognitive complexity 75; 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":"app/buck2_explain/js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8acbcf1b18d6629d0ed706e94381fef6bb0c65fdcd2e219ad87a349612c9443"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 33, cognitive 64): toObject has cyclomatic complexity 33 and cognitive complexity 64; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":62178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5468e4b3f3c4d587a783d17923dfc617b0f3090c4ce01007d2142eff540b9fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 33, cognitive 41): fromObject has cyclomatic complexity 33 and cognitive complexity 41; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13016}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f29247a98155e567554be0c13a975e3a22695b1ba6f3768963f9db56381b23d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 33, cognitive 41): fromObject has cyclomatic complexity 33 and cognitive complexity 41; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":41450}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1cbacc64d83ff17e9f747a1d584248789be8aa43e064e78d5ee443ea84a8da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 33, cognitive 36): toObject has cyclomatic complexity 33 and cognitive complexity 36; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9427}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3a247eda0f9c064bbe88e622ee6f903ccf22417bbd02a98b0a9901f1c89690"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 33, cognitive 27): decode has cyclomatic complexity 33 and cognitive complexity 27; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16014}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55af357711df045c032670dc386ead7fe487191ed146f9bd7781912331d6e62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractTestResults (cyclomatic 32, cognitive 42): extractTestResults has cyclomatic complexity 32 and cognitive complexity 42; 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":"app/buck2_trailcam/js/src/lib/test-events.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1b67ecfa99098e0a97aea6ad0ace47b01cddd283ce002649832ec03d93750e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BuildHistorySidebar (cyclomatic 32, cognitive 31): BuildHistorySidebar has cyclomatic complexity 32 and cognitive complexity 31; 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":"app/buck2_trailcam/js/src/components/invocation/BuildHistorySidebar.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5974fd767b766ad1e88ea551af95510da27d1860477643b41b0e48d5cb15da6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runVitestGroup (cyclomatic 31, cognitive 40): runVitestGroup has cyclomatic complexity 31 and cognitive complexity 40; 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":"prelude/nodejs/tools/nodejs_test_adapter.cjs"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0de344832a9c83097fc7a7cea4e32368aff85e7a59db2f69c28c73b4c105795"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 31, cognitive 39): toObject has cyclomatic complexity 31 and cognitive complexity 39; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":54043}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a260775213df4ef15de8e068e1131f203e486bce69a3c5cacffbf8d9dc04d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 31, cognitive 38): toObject has cyclomatic complexity 31 and cognitive complexity 38; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":58461}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2fa10c22684a51e3ecaf9461462a83232aa876ff2886013145e9bf22893621"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 31, cognitive 33): parseArgs has cyclomatic complexity 31 and cognitive complexity 33; 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":"prelude/nodejs/tools/nodejs_test_adapter.cjs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7499af88b870f370bb2c4ad18d49eeeffba30d462b8a1af670d88fd18a97d015"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 31, cognitive 21): decode has cyclomatic complexity 31 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":14690}}}],"partialFingerprints":{"codehealthFindingId/v1":"554db7c585b90b3abcc07bb39bf03a80660eabebbdb4f9f0091edde68f607933"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 30, cognitive 53): toObject has cyclomatic complexity 30 and cognitive complexity 53; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":15687}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dd7e9777e560ba60acae374ae78a435faa6e8393ef9fdf1534f8b1332e8a93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 30, cognitive 45): fromObject has cyclomatic complexity 30 and cognitive complexity 45; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":14089}}}],"partialFingerprints":{"codehealthFindingId/v1":"36849857cb15af228b9810072af11ce96a2ac9958022d5524f16d168f53f85c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 30, cognitive 44): toObject has cyclomatic complexity 30 and cognitive complexity 44; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":35804}}}],"partialFingerprints":{"codehealthFindingId/v1":"88058368bb143a8e06f3d848006d86d401bbc75d8a5f230565a642597cd82c35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchAndDecode (cyclomatic 30, cognitive 40): fetchAndDecode has cyclomatic complexity 30 and cognitive complexity 40; 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":"app/buck2_trailcam/js/src/components/invocation/EventLogProvider.tsx"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa56f5d7ac5d2dae755958aff9954c9e49be9f5cdaeb6d793f454ec45808980a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runJestGroup (cyclomatic 30, cognitive 39): runJestGroup has cyclomatic complexity 30 and cognitive complexity 39; 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":"prelude/nodejs/tools/nodejs_test_adapter.cjs"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"a614d5ff7392417d7e1e0794d1d07f424ed1dc41ff369f90cfe5d20fb8f56020"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 30, cognitive 19): decode has cyclomatic complexity 30 and cognitive complexity 19; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":10255}}}],"partialFingerprints":{"codehealthFindingId/v1":"620e1c19c263fda90d1b9a2b8a967b2c704fb21b812ca9319ba1e8a3a212734e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 29, cognitive 48): toObject has cyclomatic complexity 29 and cognitive complexity 48; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":62492}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a264699bd6286793b11ba8f91ea6c07bc8bbe7075a4e456282ba9e7032355a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 29, cognitive 37): toObject has cyclomatic complexity 29 and cognitive complexity 37; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":39579}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0246a7617d9f7c3a0de5524d2b6c918c4a93268c346e179f4ae29e4338d512"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 28, cognitive 48): toObject has cyclomatic complexity 28 and cognitive complexity 48; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":62944}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3678baa6fa8161e5fcbde5e36484b07fc45902e3604ec2ee650d69d70eb5a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 28, cognitive 40): fromObject has cyclomatic complexity 28 and cognitive complexity 40; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":37040}}}],"partialFingerprints":{"codehealthFindingId/v1":"e961b102b1979d2a4447ee48757ffcac22fee3300fbbb4bedbae5366535a745a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 28, cognitive 37): fromObject has cyclomatic complexity 28 and cognitive complexity 37; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":30906}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc262289a06cf8fa0c826dd4148eb75ad924b010075504efb6b7896a4360e12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 28, cognitive 34): toObject has cyclomatic complexity 28 and cognitive complexity 34; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11598}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c586c8f405df828c1c3365b8594343a73411a7b0d86a157a7cc5c54d52c6e95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 28, cognitive 32): toObject has cyclomatic complexity 28 and cognitive complexity 32; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":44100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c397fca41140c7e2efec3ee8d76b75560ed30bd68fe2dae34607a64418af3da7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 28, cognitive 27): encode has cyclomatic complexity 28 and cognitive complexity 27; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":36825}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e5435233e04bed6c5f4eb174cb4325cfabb5ada62aed8d81322b1f8882c237"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 28, cognitive 27): encode has cyclomatic complexity 28 and cognitive complexity 27; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":61540}}}],"partialFingerprints":{"codehealthFindingId/v1":"37099246371fd642abb390d7287e46b78026a920151fae655d2ca0b3ee84f2e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileChangesSection (cyclomatic 27, cognitive 17): FileChangesSection has cyclomatic complexity 27 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 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":"app/buck2_trailcam/js/src/components/invocation/FileChanges.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0d6e5f27d601bcd026219f34a48ca0fdd37d18e4ec881bcba1c15de06091c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 26, cognitive 34): toObject has cyclomatic complexity 26 and cognitive complexity 34; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":29759}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ade14d73447a1c7e0df1650bcd0a4490b427f0efd88bec00f9bfb334c9df5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 26, cognitive 32): toObject has cyclomatic complexity 26 and cognitive complexity 32; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":57974}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74fb1b23997b4004aef07b95f2587a1e79fb441474b960f5ee9b6657ca100ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 26, cognitive 30): toObject has cyclomatic complexity 26 and cognitive complexity 30; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":59212}}}],"partialFingerprints":{"codehealthFindingId/v1":"742a5cbe70c8aecf8cf035fe4f49c48e596ec44d312c082c73ec0d4a0f00ceec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 26, cognitive 27): encode has cyclomatic complexity 26 and cognitive complexity 27; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9184}}}],"partialFingerprints":{"codehealthFindingId/v1":"350cd061099622db991376166a8a2da511722a251b09d19e7e2c9017ad4bbc7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 26, cognitive 25): encode has cyclomatic complexity 26 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":34417}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c28ec7d59aaaf59ca25aee9b88a5688b1dca197382382e6ea6a8c2a5ab1b2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 25, cognitive 31): toObject has cyclomatic complexity 25 and cognitive complexity 31; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":22335}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f83ff27a35428e6b4b26def7f19f82aeeede25a035a07d08df9f74335213bc1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 25, cognitive 30): toObject has cyclomatic complexity 25 and cognitive complexity 30; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":31573}}}],"partialFingerprints":{"codehealthFindingId/v1":"e322ae34c20cdea9b20bf0de6fc247918ebbc6b049ffe0c3a2610ae866847398"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 25, cognitive 28): fromObject has cyclomatic complexity 25 and cognitive complexity 28; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":29096}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa7273cda55e6190c3223476a875829a9136f08d8dd4734d824d6d638bab1d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 25, cognitive 25): encode has cyclomatic complexity 25 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":41316}}}],"partialFingerprints":{"codehealthFindingId/v1":"68189bfdab34c0d41896898c4515a3e6344872d566031474f32c2dc6ee743b9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 25, cognitive 20): fromObject has cyclomatic complexity 25 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":55102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2c677e1544d1bd0e437e53bdcda0bbcff30d48dc241ce7e93431cfbd4046f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 25, cognitive 16): fromObject has cyclomatic complexity 25 and cognitive complexity 16; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":28189}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f41b50e219962b50b0d7111f9a3ce8faeeefd5ad6efd13c16849eebbf614e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 24, cognitive 29): decode has cyclomatic complexity 24 and cognitive complexity 29; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13996}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedb8f7792bc6e28f243d6a5a023a21fe773fc650c88947648fdeeab1169d673"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 24, cognitive 27): encode has cyclomatic complexity 24 and cognitive complexity 27; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13931}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45a156001c8f951b0d29371b96e2435c30c41b240cf60f73a8f610a34745be6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 24, cognitive 27): fromObject has cyclomatic complexity 24 and cognitive complexity 27; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":21778}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8a15f3220b563b627c60321af4c8648ab0a1a832d4b68a07efcb309652d571"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 24, cognitive 23): encode has cyclomatic complexity 24 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":27408}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d20b4b03b6d61ccb81f3978307ee0c4debfc27b513b935b99c538569324ed6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 23, cognitive 42): toObject has cyclomatic complexity 23 and cognitive complexity 42; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba119b06c1945524616702511eca2e66fbed6523b515400a75d56be7dd3010d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 23, cognitive 42): toObject has cyclomatic complexity 23 and cognitive complexity 42; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":5120}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f9c32fb1ff83df10d1e1712856086ae0b07048e95bc8986bf1d9f652bf23da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 23, cognitive 42): toObject has cyclomatic complexity 23 and cognitive complexity 42; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":35315}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9740d8a0554256324bbfdeb4e9a50226e639bb318a234f45457f0b514f9ea5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 23, cognitive 42): toObject has cyclomatic complexity 23 and cognitive complexity 42; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":60587}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d1effe3cb1957c041aba98af1bc383144c18e9a6db668779b3fc5ff224aa9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeCoverage (cyclomatic 23, cognitive 36): writeCoverage has cyclomatic complexity 23 and cognitive complexity 36; 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":"prelude/nodejs/tools/nodejs_test_adapter.cjs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"1582c9539c86d63a64be5101d566eabd3d0a6407f78fb32ef99c7cc562a04b53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractActionSpans (cyclomatic 23, cognitive 34): extractActionSpans has cyclomatic complexity 23 and cognitive complexity 34; 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":"app/buck2_trailcam/js/src/lib/action-events.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a00e601afa6209cee862016b49c7cf126bb2d6cb70dda9a3dfb6dc3d1081569"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 23, cognitive 29): fromObject has cyclomatic complexity 23 and cognitive complexity 29; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb33f5bb68e83cfb1353a204e815cda0cb6135aac79b16fd5212433c18423e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 23, cognitive 23): encode has cyclomatic complexity 23 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":12886}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ef54591538fa2965345c6ec317ecad8e042cc32f404ded23f9b8a79d611ef5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 23, cognitive 23): encode has cyclomatic complexity 23 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":38723}}}],"partialFingerprints":{"codehealthFindingId/v1":"2936ec8a7678cc08e9cfffb630970f8cdc4e34bddb6960a7f609c4789b41b9d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processEvent (cyclomatic 23, cognitive 22): processEvent has cyclomatic complexity 23 and cognitive complexity 22; 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":"app/buck2_trailcam/js/src/lib/streaming-collectors.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fe66244a9bcfc31a27a4d627ebfbe0a718b174653f53208e607982c4b001a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 23, cognitive 10): fromObject has cyclomatic complexity 23 and cognitive complexity 10; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":30036}}}],"partialFingerprints":{"codehealthFindingId/v1":"5354aa083220bac99533c52a53572c8e49031fb3a3db7ec7bd6da4943a78b9d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractLoadPackageSpans (cyclomatic 22, cognitive 39): extractLoadPackageSpans has cyclomatic complexity 22 and cognitive complexity 39; 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":"app/buck2_trailcam/js/src/lib/load-events.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03ad2948b3bf80b0ec5a845acbf6c61b51c8a6e3ad77c38eb5550f8ca7c10b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 22, cognitive 33): toObject has cyclomatic complexity 22 and cognitive complexity 33; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":60134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ac45e2e7bd7361a52119841f7f7f2ea2ff4318b801b3c02966f8eb9ff07813"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 22, cognitive 26): toObject has cyclomatic complexity 22 and cognitive complexity 26; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":34028}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8c140bcf79bddc63e077d2ca69a6c3976a1695a8ee13a8b11d3fce7f16ca59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 22, cognitive 25): fromObject has cyclomatic complexity 22 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":15624}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcb293bbc6403284a3807bf928187db73f775c07d3b613c1080c1bd21361069"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 22, cognitive 23): fromObject has cyclomatic complexity 22 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":44024}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efd3839d59e50fb817a3b919ea1c91e644be48cd96f091ab1185d90506a1346"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 22, cognitive 23): encode has cyclomatic complexity 22 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":53881}}}],"partialFingerprints":{"codehealthFindingId/v1":"20601ea22c2c67b246bbd94c6297426610086f4ac44ef1ac876a778fa78240d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 22, cognitive 23): encode has cyclomatic complexity 22 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":58317}}}],"partialFingerprints":{"codehealthFindingId/v1":"805f03b8806df113cca2f9fd677184c2a1b1b89d13635bd354238690da17acb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LoadTreemap (cyclomatic 22, cognitive 22): LoadTreemap has cyclomatic complexity 22 and cognitive complexity 22; 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":"app/buck2_trailcam/js/src/components/invocation/LoadTreemap.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03a4626ad2b009bea6d3846de634120c8b1cf9cc92e4dbd800f0856b41a5db2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 22, cognitive 21): decode has cyclomatic complexity 22 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9263}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fee990576d3e7b82fdc329fbc325bee2b7a8ea967f8a0bc3fb813bf5cd46f6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 22, cognitive 21): encode has cyclomatic complexity 22 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":30748}}}],"partialFingerprints":{"codehealthFindingId/v1":"12899ef06b47c42203975a9d1f1f9953948c190282a456934495e5040d1516f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 43): (anonymous) has cyclomatic complexity 21 and cognitive complexity 43; 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":"app/buck2_trailcam/js/src/components/invocation/event-log/useEventLogState.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bc703e78ab8a848aa67ccde4a31ed50b27190a8e7b5d6b5d1ad16ddd1fd6aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 21, cognitive 33): toObject has cyclomatic complexity 21 and cognitive complexity 33; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":60835}}}],"partialFingerprints":{"codehealthFindingId/v1":"944547e5f7a8ae377cbcf596e7cfe5eb1b173c8aac27245319b48ec11ba51cbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 21, cognitive 27): fromObject has cyclomatic complexity 21 and cognitive complexity 27; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":53989}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb98ecc34ea22a6cb2cc3b2122a886f2265fae8bbfa39dee5e1079844a2fe570"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 21, cognitive 26): fromObject has cyclomatic complexity 21 and cognitive complexity 26; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":35734}}}],"partialFingerprints":{"codehealthFindingId/v1":"d710128e07c6c1ebcef2069cf717be749221dcd2ea516fecd5ac4fa7036eef6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 21, cognitive 25): fromObject has cyclomatic complexity 21 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":62419}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8ee286178531c97aef18038fe4a5e7881e01e0b5f44353d8c3c24e6990bc72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 21, cognitive 24): toObject has cyclomatic complexity 21 and cognitive complexity 24; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":28262}}}],"partialFingerprints":{"codehealthFindingId/v1":"c635cddb47205fb98716e754280730dc3a055f99d52fa35f07557b484017f25a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TestSummaryCard (cyclomatic 21, cognitive 20): TestSummaryCard has cyclomatic complexity 21 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 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":"app/buck2_trailcam/js/src/components/invocation/TestSummaryCard.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e091f2f056e315153a9388ad5642c9e1547ec404c16b7443699e0a961e2d5d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DecodeStatsPanel (cyclomatic 21, cognitive 19): DecodeStatsPanel has cyclomatic complexity 21 and cognitive complexity 19; 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":"app/buck2_trailcam/js/src/components/invocation/DecodeStatsPanel.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b77de31fd17551520771212d5bccbba10b37ff3864b8397f3f59509d52cfb93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function labelFromValue (cyclomatic 20, cognitive 29): labelFromValue has cyclomatic complexity 20 and cognitive complexity 29; 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":"app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bd7dc048772868c6a1f39a29f1612e978777bbfcb4267c9d526ef0b89e0024"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function labelFromValue (cyclomatic 20, cognitive 29): labelFromValue has cyclomatic complexity 20 and cognitive complexity 29; 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":"app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba72b0a92e076e4f00392a863a95272a1f3d9bd0eab4667963681711fffe711"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 20, cognitive 28): fromObject has cyclomatic complexity 20 and cognitive complexity 28; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":39493}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ddeb7c4ed9ca5e8fe0a65e048c25a31d76e9582a3fce1b96511e5d1a46490d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 20, cognitive 27): fromObject has cyclomatic complexity 20 and cognitive complexity 27; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9356}}}],"partialFingerprints":{"codehealthFindingId/v1":"9198c5475a8ef688aefa89f1bb700d196e2cadb8bf6d3fd103ba2ef229b1fd3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 20, cognitive 27): decode has cyclomatic complexity 20 and cognitive complexity 27; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":56733}}}],"partialFingerprints":{"codehealthFindingId/v1":"828211e69bd7e26512035fbfc58f9ac270d4e81355a3bc4dc11e4ae37e19403b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 20, cognitive 25): decode has cyclomatic complexity 20 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":59085}}}],"partialFingerprints":{"codehealthFindingId/v1":"120cb73ac8e1309badc444d5267c3e93442fbf572fe7c7046e5a6a3b1b0ea3aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 20, cognitive 21): encode has cyclomatic complexity 20 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":43901}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c0d0f87ee6dad0a816b491f45a33d4ccce249f20cb273d5630ea8797e9dc23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TestResultsView (cyclomatic 20, cognitive 19): TestResultsView has cyclomatic complexity 20 and cognitive complexity 19; 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":"app/buck2_trailcam/js/src/components/invocation/TestResultsTab.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80f6284b84fc89a77b5d5d6906ce65509d8dec7aaa28129634197df67bc33f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 20, cognitive 19): encode has cyclomatic complexity 20 and cognitive complexity 19; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13507}}}],"partialFingerprints":{"codehealthFindingId/v1":"af26e3edf6671b6e69c898e949d86c03f4aa13b62ff03bc6c670958715f383cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 20, cognitive 19): encode has cyclomatic complexity 20 and cognitive complexity 19; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":39334}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e94b8e59d17877a33734555bd022cd00381459dac548d86aefc4f5b80b20dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flattenAction (cyclomatic 20, cognitive 18): flattenAction has cyclomatic complexity 20 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 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":"app/buck2_trailcam/js/src/lib/action-results.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f00c7a46f1ebb81df4385a818e66affe5f5802ba4251f6f4ca09853a85a664"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExpandedRow (cyclomatic 20, cognitive 15): ExpandedRow has cyclomatic complexity 20 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":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c8584816f686de8fd6bb40e8d473e813b53c5ff35034358a7f807a6e1eff92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 19, cognitive 30): toObject has cyclomatic complexity 19 and cognitive complexity 30; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13417}}}],"partialFingerprints":{"codehealthFindingId/v1":"df84b29bdeb284036500517e4d0754ef3f0fb1ff2fd9af88a1d6e66b2d9ed291"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 19, cognitive 21): encode has cyclomatic complexity 19 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":56687}}}],"partialFingerprints":{"codehealthFindingId/v1":"52790f3dcc5339853ea7ae7f6ee2b7150764ec3033be060b33346a0ad11194c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 19, cognitive 21): encode has cyclomatic complexity 19 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":59031}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7840035580882f5370f15259e9663a691a053eee1258490d405b8c2c1c289c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ingestChunk (cyclomatic 19, cognitive 18): ingestChunk has cyclomatic complexity 19 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 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":"app/buck2_trailcam/js/src/lib/parallel-decode/dispatch-worker.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2d088ac4f60f9371fa5aa1bd47bb4fd509b3c16ffd77cc5233ff8d82b83791"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EventLogDetailPanel (cyclomatic 19, cognitive 17): EventLogDetailPanel has cyclomatic complexity 19 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 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":"app/buck2_trailcam/js/src/components/invocation/event-log/EventLogDetailPanel.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a225b8d496eb7ade3223bb77b1ad50cb389686d777f8509cb146f8c9f0a9cae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 19, cognitive 17): decode has cyclomatic complexity 19 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":38790}}}],"partialFingerprints":{"codehealthFindingId/v1":"6945f43ef0b0cd31462e3776cdabfc48ec324fb145ccc7fb4516b6db64863549"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 19, cognitive 16): fromObject has cyclomatic complexity 19 and cognitive complexity 16; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":62891}}}],"partialFingerprints":{"codehealthFindingId/v1":"8399379261cee59879861af8c92d2b80da2c6c40c0e0928c1dc4409971b8389f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 18, cognitive 25): fromObject has cyclomatic complexity 18 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":31492}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaf0e4362941a6d8c2bb626ab06dd1d7fc3c4146211d6aea4fa1d188dec9471"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nodeTestReport (cyclomatic 18, cognitive 25): nodeTestReport has cyclomatic complexity 18 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":"prelude/nodejs/tools/nodejs_test_adapter.cjs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"00764e514d8919195cc9dbc0da471f9f1f5fa9b79a3881baa139a7b7aa5d189c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 18, cognitive 20): toObject has cyclomatic complexity 18 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":44480}}}],"partialFingerprints":{"codehealthFindingId/v1":"25392b1ad5611ef2cd6c4f1ae829fc7c1dfabaa53ecdca53094dde2fa148b448"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InvocationBar (cyclomatic 18, cognitive 17): InvocationBar has cyclomatic complexity 18 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 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":"app/buck2_trailcam/js/src/components/invocation/InvocationBar.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ddefba5e52e4a299f8368b88273e8cf87d1647d62ea9cc51b41a3550579ad1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 18, cognitive 17): encode has cyclomatic complexity 18 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"492a8df5540f8b185ad76a0cea996fd0f2f11bf60c13eb6616fc0b74ab87b021"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 18, cognitive 17): encode has cyclomatic complexity 18 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11362}}}],"partialFingerprints":{"codehealthFindingId/v1":"640f94f1b146e6f5865ea6fd53938d5193f4588f0c8d6c5f6d983467b9d04395"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 18, cognitive 17): encode has cyclomatic complexity 18 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":31348}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2464d92c70bea110a6fd85d902ed75cccf512f08e5f6837f012ac7df39be566"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 18, cognitive 15): decode has cyclomatic complexity 18 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":53927}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c855f5b1eda7d72dc6b857c676567f14a3d518382d1ad54d32a05b83c6d061"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 18, cognitive 15): decode has cyclomatic complexity 18 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":58366}}}],"partialFingerprints":{"codehealthFindingId/v1":"366f9737ccb5039195619eb7d9e532672f183da847a897e3f40215ac294f059a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 18, cognitive 11): decode has cyclomatic complexity 18 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":41380}}}],"partialFingerprints":{"codehealthFindingId/v1":"4508f390ac8b6330f72c760544f0bfc4921c660593564feadf1a4352edbbef72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 17, cognitive 21): toObject has cyclomatic complexity 17 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4817}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48a400e57d123f8df400f42103e21ae8d43432be5e53687fdd5ac9898bf0e57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 17, cognitive 21): toObject has cyclomatic complexity 17 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":30620}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8136bb3d03d0d9dc03f892f397f091182bf3b104a64b52d9959cfe9ddb59197"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 17, cognitive 21): toObject has cyclomatic complexity 17 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":36403}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d058eef1539ae44a990e93331cc07d7ac3dc77e00fe6ef9e1b78092ed05d974"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 17, cognitive 19): fromObject has cyclomatic complexity 17 and cognitive complexity 19; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":62131}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf06a11461195bd58d7dac47548d86644026a68bb5dae56ea3321ae85050abc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 17, cognitive 18): toObject has cyclomatic complexity 17 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":30378}}}],"partialFingerprints":{"codehealthFindingId/v1":"db71eedd0426651157770121d7e2fc58618fbb3411d26d420f45764f1050e77e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 17, cognitive 15): decode has cyclomatic complexity 17 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":43960}}}],"partialFingerprints":{"codehealthFindingId/v1":"a643191e3e5afabc1c02b4222ae5dde56d629902f78cd24112f08c4b7fa4601e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 17, cognitive 11): decode has cyclomatic complexity 17 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":12948}}}],"partialFingerprints":{"codehealthFindingId/v1":"3782b1cc80c1d0b5dbfff423afff4fd7c83ac7726c6c38e8bc857879d4423b28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateFilters (cyclomatic 16, cognitive 32): evaluateFilters has cyclomatic complexity 16 and cognitive complexity 32; 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":"app/buck2_trailcam/js/src/components/invocation/event-log/filters.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e2c9b0f865503e9743ce54dba5e5fdbc649278537f3a83aae868b87e7ff36b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 16, cognitive 21): fromObject has cyclomatic complexity 16 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":29700}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cd7bf31d29afda14ce3b0bdb928912c48985a4c5b735d34faffa0c37f42473"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 16, cognitive 21): fromObject has cyclomatic complexity 16 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":60780}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f0d98cdea4e090f921ea2bcd7e3381ca9582d5439829df796fae689424059f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processEvent (cyclomatic 16, cognitive 19): processEvent has cyclomatic complexity 16 and cognitive complexity 19; 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":"app/buck2_trailcam/js/src/lib/streaming-collectors.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b107b7f6ffd52333ced271dc355e55a0bb2f3dd124e48495158a7bd462b3e813"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 16, cognitive 18): toObject 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":43805}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e57f329dac53101d133cf6ea594bc62a5f80237829db61a026d79cef4f26761"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 16, cognitive 16): toObject has cyclomatic complexity 16 and cognitive complexity 16; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":54389}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd08b39230bac1a09765b6c7480d7946f29f2020446463238964b565d96f247"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 16, cognitive 15): encode 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":22133}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ff77ddd4ad426b8b9a4110991bf6d154f40d238235ebd95ba5259ff3e2132f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 16, cognitive 15): encode 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":29015}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6b6897087943261bdd7d00103bb1c62d8bc1c79ea73b58557045ad9e4d9e08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 16, cognitive 15): encode 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":29589}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2623191ae34d150c219db0a8eb30675c823595b8feecc44e266b0510c14683"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 16, cognitive 15): encode 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":33855}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8bbc14694bf8a68e95a82aa795ae3ece33a39b3518d274421f067e3a98c08f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 16, cognitive 15): encode 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":35628}}}],"partialFingerprints":{"codehealthFindingId/v1":"190ef3d9b9fca2d163e931c48d4030dd06806a6a3936cc5a1435c658e0b97e7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 16, cognitive 15): encode 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":55021}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6bd69b811887cf61b16067ca9fc2ef9a5b4952ce0968da10b9b2d50839b624"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMessage (cyclomatic 15, cognitive 31): handleMessage has cyclomatic complexity 15 and cognitive complexity 31; 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":"app/buck2_trailcam/js/src/lib/parallel-decode/dispatch-worker.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fb8d652e050faa2026cbabed30d1d62d7af25b7d79bdaaa057b8094d6871b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 15, cognitive 27): decode has cyclomatic complexity 15 and cognitive complexity 27; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":44913}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca241122ee48fe43f3dd7ab20e25e5c6629d91844e8f38407fa6bf382e9dc38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 15, cognitive 24): toObject has cyclomatic complexity 15 and cognitive complexity 24; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":65122}}}],"partialFingerprints":{"codehealthFindingId/v1":"585e0d11dcdf3246857b638a9ee9d4f962b7b430ed98efa61337c83ea2edec08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 15, cognitive 24): toObject has cyclomatic complexity 15 and cognitive complexity 24; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":65248}}}],"partialFingerprints":{"codehealthFindingId/v1":"776294c15e6452ce8264af80032b6473044c93c8ad5061b4330cce7e9ec5855d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 23): (anonymous) has cyclomatic complexity 15 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":"app/buck2_trailcam/js/src/components/invocation/BuildHistorySidebar.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8817ee7413a91c6031dafb29c94ac77b117616d05bd63599907bc493c39d06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchData (cyclomatic 15, cognitive 22): fetchData has cyclomatic complexity 15 and cognitive complexity 22; 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":"app/buck2_explain/js/src/App.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d7ac0f745984b9fce61019b005c2ad8e841c0ff3172f3c5cd0f99978492dac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 15, cognitive 20): fromObject has cyclomatic complexity 15 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":33972}}}],"partialFingerprints":{"codehealthFindingId/v1":"de14e1fb3e6f3ba669157451f11f06172a329d5bff321e4dae276b108e41c7b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 15, cognitive 20): fromObject has cyclomatic complexity 15 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":59162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b98d5e8c1fdf17b399916e52b512bc0dc29696d7647767a87a36d7d0404c4d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 19): (anonymous) has cyclomatic complexity 15 and cognitive complexity 19; 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":"app/buck2_trailcam/js/src/components/invocation/BuildHistorySidebar.tsx"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38a1a98c090495b3f25acfb938182fd1f8939ebfa52650f2179fb07a8657f48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 15, cognitive 19): decode has cyclomatic complexity 15 and cognitive complexity 19; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":43728}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da81006f95729e33cf9f5cf77e4437680879303ca1999cf76894f336b762423"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 15, cognitive 18): onmessage has cyclomatic complexity 15 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":"app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdcf003094268fa5ed46d2141516a739a3c1ffd1051f4599884d814fffb610f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 15, cognitive 18): fromObject has cyclomatic complexity 15 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":58423}}}],"partialFingerprints":{"codehealthFindingId/v1":"072850ceaf02625403308fad5dfb99e695a840919a6c1e85237d2e18338c708e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TreemapCell (cyclomatic 15, cognitive 16): TreemapCell has cyclomatic complexity 15 and cognitive complexity 16; 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":"app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ea8960451852de5e888f4c6b6b8a104a08171032ce3a7d65d6e91e6c3f9b31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 15, cognitive 16): toObject has cyclomatic complexity 15 and cognitive complexity 16; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11818}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fd50b82cb44570ad210e4bd5c76bd78bd698260bb303874238b8e084578467"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 15, cognitive 16): toObject has cyclomatic complexity 15 and cognitive complexity 16; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":41183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f212547e6a0b043a5c779318def75f95e6c611f5f3070bc1b27437232538627"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 15, cognitive 16): toObject has cyclomatic complexity 15 and cognitive complexity 16; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":58644}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bddc4bd47689a073b51d09283a2c4c8c9e8f49a63c39f0ce1f28c7f5646a46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Target (cyclomatic 15, cognitive 14): Target has cyclomatic complexity 15 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 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":"app/buck2_explain/js/src/Target.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d0b363f1a97b73cbd505440a64162d198546d73ea4c58f947e1f4d6a392bcf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 15, cognitive 14): toObject has cyclomatic complexity 15 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":8857}}}],"partialFingerprints":{"codehealthFindingId/v1":"a228148c09093fcc76b0b0dd9d4e07b134075b2d2a3eeb6a929dd6f8446948b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 15, cognitive 11): toObject has cyclomatic complexity 15 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":22047}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95330db10b3bd12df9cdfba6b90776c60ea95ea10ae59dd6a9d27428b354a99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function groupByPhase (cyclomatic 14, cognitive 27): groupByPhase has cyclomatic complexity 14 and cognitive complexity 27; 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":"app/buck2_trailcam/js/src/lib/critical-path.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab71066e2e2069019ceed7fca2040859455b3a8922561f35b846e3c0c12f99c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeEventLogBatched (cyclomatic 14, cognitive 21): decodeEventLogBatched 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":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"48299d89b081bfca038252263bb49bfd312aee69ce8a81a2375e6aa891def453"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 14, cognitive 21): toObject 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":45013}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11a1c11a4c268b267417ddb1fd683cca5a8a910e90df6677ec05b556cf03e83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 14, cognitive 19): toObject has cyclomatic complexity 14 and cognitive complexity 19; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":53574}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d6acae9ed5c89d881026d20e6f3709926506ef63e74c3c113c9cf792c79229"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 14, cognitive 17): decode has cyclomatic complexity 14 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":28127}}}],"partialFingerprints":{"codehealthFindingId/v1":"70afe626193f9b194236266ddf0f7b1eb75b2d02655957362e084e3bf56d34a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 14, cognitive 17): toObject has cyclomatic complexity 14 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":64405}}}],"partialFingerprints":{"codehealthFindingId/v1":"38acfb6de95471473d8ce4fdd3a42bcd75669a97584491de69d985d5a2b97176"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 14, cognitive 16): toObject has cyclomatic complexity 14 and cognitive complexity 16; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":12126}}}],"partialFingerprints":{"codehealthFindingId/v1":"5547cbd7ed71c845ec27586a2bc0956cae86df4e4a3c1e5d65369a6f14137af5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 14, cognitive 16): fromObject has cyclomatic complexity 14 and cognitive complexity 16; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13373}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c79d2ac3269184e99fcfd1c02f78a56823091534c1d9f8806e714a6f0b2034"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 14, cognitive 16): toObject has cyclomatic complexity 14 and cognitive complexity 16; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":35533}}}],"partialFingerprints":{"codehealthFindingId/v1":"620b3777d72da21fb491a0c822af63cac70461d51018f65ec6349a6ed1a00d76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TreemapCell (cyclomatic 14, cognitive 15): TreemapCell has cyclomatic complexity 14 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":"app/buck2_trailcam/js/src/components/invocation/LoadTreemap.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b05dad212258aa3d0a4c1eaa0ab1ad0118791501d4a2a079f33f62d73105706"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 14, cognitive 15): encode has cyclomatic complexity 14 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":44366}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a0c9410fc3059dacbb8ef86d405bfcedb437aef838f3322f481b5b5f73bcdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 14, cognitive 15): decode has cyclomatic complexity 14 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":44398}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d7819991b1cf744b091296011ace7e3aeb44ebd243d6bb7f3bd3f3ccad691f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 14, cognitive 14): toObject 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":7870}}}],"partialFingerprints":{"codehealthFindingId/v1":"470af372dcdc4af9f3c3eb6d1b5a4cdaec2df4c769267d3f67e5c34dd73ba7d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 14, cognitive 14): toObject 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9772}}}],"partialFingerprints":{"codehealthFindingId/v1":"5467f6ead520216b97a52917bae38e75b61e1c4e1c4a09a515f45bcc098cc290"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 14, cognitive 14): toObject 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":37473}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce755b5f60b6b9b753e3d00d7196676cffa096c0ec11fbe56afbb40f4c4578ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 14, cognitive 14): toObject 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":39246}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ae45805908dfab5569a460706b4fff5d3376374079170fcea618e4a4f56fe0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 14, cognitive 14): toObject 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":40620}}}],"partialFingerprints":{"codehealthFindingId/v1":"e099be933eeecd28c4d99072d1ecd8eaced253cef73a9291aefe80b1e32251e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractRepro (cyclomatic 14, cognitive 13): extractRepro has cyclomatic complexity 14 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 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":"app/buck2_trailcam/js/src/lib/action-results.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"696c7cbe94758107eff0e8f666d5ca263dbbabd9b9c894d939fa9a3caae7e711"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 14, cognitive 13): encode has cyclomatic complexity 14 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":8766}}}],"partialFingerprints":{"codehealthFindingId/v1":"94dedcfc7f39f0e1b450dbabc89eda31b2e5680738d1d17cb2b4b00316667483"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 14, cognitive 13): encode has cyclomatic complexity 14 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":21709}}}],"partialFingerprints":{"codehealthFindingId/v1":"73adeb2bebee3c367efee261961b4f71be78ebe97a7a12d8cbb05ae0a0c26139"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 14, cognitive 13): encode has cyclomatic complexity 14 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":30256}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a2fbbf0225568642d5d6faecd87a2cc3326c38056648fac9e772f6b5082c2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":45081}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1012c6b5fe38f5304abad9eefe11f16b305f3d0b37c21fa18ba3c5234bc843"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 14, cognitive 13): encode has cyclomatic complexity 14 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 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":54284}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afd1ec4bf3097b2b85fa38190980515671aa6e9ca8d135dca0dc903876d6a28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileChanges (cyclomatic 14, cognitive 12): FileChanges has cyclomatic complexity 14 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":"app/buck2_trailcam/js/src/components/invocation/FileChanges.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c860cbb118153cb648313d42bf2d6e73568e03cb0c2169b86696d6811a9be6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 13, cognitive 23): toObject has cyclomatic complexity 13 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":56420}}}],"partialFingerprints":{"codehealthFindingId/v1":"907687fc453a65b42c0321b39009a6b10e4e5d4e37498f3f78b3c0f8f83563e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 13, cognitive 21): toObject has cyclomatic complexity 13 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":54568}}}],"partialFingerprints":{"codehealthFindingId/v1":"6070b8ab62144961a81b67af890f9ddf732ed80e8a8bebc446f04e676d86c677"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 13, cognitive 21): toObject has cyclomatic complexity 13 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":58760}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33a0d16dbffa79ff113279941bade27f7b97191f72a34d17213007003114549"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 13, cognitive 21): toObject has cyclomatic complexity 13 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":59584}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8aaf4fcc1c171e00a6dbb98d8f6f42dd44b65b0cb291fc0c103e9c3d57a8af3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 13, cognitive 20): fromObject has cyclomatic complexity 13 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":43769}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5a12a0c9b5e9dd3d60104ca1d868f3750a4ea06df4cc3ab5ce39e3c35711e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processMessage (cyclomatic 13, cognitive 19): processMessage has cyclomatic complexity 13 and cognitive complexity 19; 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":"app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfd3a15ce8e5dd7f4499b39031455f9732c13998df277ff5a61d770fefe246a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractAnalysisSpans (cyclomatic 13, cognitive 18): extractAnalysisSpans 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":"app/buck2_trailcam/js/src/lib/analysis-events.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f73426e635975e7202238d1c46c8d34761f03280ba6641aff689c1f093f9e7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeWarnings (cyclomatic 13, cognitive 16): computeWarnings has cyclomatic complexity 13 and cognitive complexity 16; 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":"app/buck2_trailcam/js/src/components/invocation/SpeedDoctor.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f481198d41071d067db4963c1a8f16eae4d424b8a7ecf40043e874017de108"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 13, cognitive 16): fromObject has cyclomatic complexity 13 and cognitive complexity 16; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":60083}}}],"partialFingerprints":{"codehealthFindingId/v1":"21961c78841f9f29156152ba943fa2303d1026e29fcce288f7a9ed0e5fcb0955"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 13, cognitive 15): encode has cyclomatic complexity 13 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":43706}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ec1054ae6fe3f5cca69814c5157c9a13ba2806f0dc56a4c1d03fd79ca76d64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 13, cognitive 15): decode has cyclomatic complexity 13 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":58577}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e2dac0b83fb1c1977c4e1b8d0d68528a8d9849420be789217a2d21ccf374db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActionTreemap (cyclomatic 13, cognitive 14): ActionTreemap has cyclomatic complexity 13 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":"app/buck2_trailcam/js/src/components/invocation/ActionTreemap.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7100cf58c8d9e031290f73e35fd38472ca384c7e693d1846df1f0105d2b1a481"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 13, cognitive 14): toObject has cyclomatic complexity 13 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":36735}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec41a245366bce3d4c3256210c0f924b48b67bb0b46fc69051d067b01fd8e10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 13, cognitive 14): toObject has cyclomatic complexity 13 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":43515}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47ffe070b62140cb204cbcd67e0c5ab45d47046bf39b63afbdca21e60b1ce31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 13, cognitive 14): toObject has cyclomatic complexity 13 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":61353}}}],"partialFingerprints":{"codehealthFindingId/v1":"66843a2844659183f0ca420695ef31771e8067a032a6663aa724413c32b89648"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 13, cognitive 13): encode 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":28082}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb7eceb151ab800845cd2f04db21815a045420278d891225f70d32e4329a68d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 13, cognitive 12): toObject has cyclomatic complexity 13 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9618}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d41cb4eaa912daf0455e9a5e61fd07bed4fe9f448b17172cf769e14c67706a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActionsView (cyclomatic 13, cognitive 11): ActionsView has cyclomatic complexity 13 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11e8787ef68b38edb31159c3488b4321ce9883f0af83bdd85b18f58df7c33c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractTargetLabel (cyclomatic 12, cognitive 27): extractTargetLabel has cyclomatic complexity 12 and cognitive complexity 27; 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":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04d6fe9617e57704106eb4f7efd611fb5ddfc31933b922b9df7555735d7cf9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractTargetLabel (cyclomatic 12, cognitive 25): extractTargetLabel has cyclomatic complexity 12 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":"app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bb6b03a3b1726ca71cd97d1b27d4aa1d28d09e42b9ed26bf3fde05a65aecef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractTargetLabel (cyclomatic 12, cognitive 25): extractTargetLabel has cyclomatic complexity 12 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":"app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"209e30d69ce386d9617c1fb906b637fde3edb0baf911941e17f8ac3204f3da42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeEventLogWithSummaries (cyclomatic 12, cognitive 19): decodeEventLogWithSummaries has cyclomatic complexity 12 and cognitive complexity 19; 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":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"98de5e9c24eb3997bbf202b79f945fb1567884ba0eb9fbeddda4ac05665918eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 12, cognitive 18): toObject has cyclomatic complexity 12 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":64989}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d2fc51af30402571cc68acebd14c3e94bd5bb0762ae4a7dab1ea941fcf1fa6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 12, cognitive 17): fromObject 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":44975}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec496698b0185702dc3eb4c9ee33eea441f01cd9e53c62b1ae2f00c82afef133"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 12, cognitive 17): decode 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":60728}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1c326d8ffccf6e86bc79ab44a97aeb6ddfbca8549925b0f116991d241238d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 12, cognitive 16): fromObject has cyclomatic complexity 12 and cognitive complexity 16; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":30566}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fb89b62a0408968b838fecc6c08bcd11a75288c83734f380eca70f238b973e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 12, cognitive 16): fromObject has cyclomatic complexity 12 and cognitive complexity 16; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":36356}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97b03252285a89521bbe496dd221507ac629b3b4b02be998b3d9d6ab00dbb3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 12, cognitive 16): fromObject has cyclomatic complexity 12 and cognitive complexity 16; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":44444}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d13bfe2c1220dfbaad602a3bb9b31f6e238cbcfaa7becca16bcc8bdac07a8b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runJestTests (cyclomatic 12, cognitive 16): runJestTests has cyclomatic complexity 12 and cognitive complexity 16; 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":"prelude/nodejs/tools/nodejs_test_adapter.cjs"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"800056f5b723af598b290e8541a5a636fc159e211be97a3078cddabc18cec0ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 12, cognitive 15): decode has cyclomatic complexity 12 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":43453}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b75f037cdb2180f3e57c6b74703bee20ed5f4bb7357661c8fb1bbfced6f5e08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractIdentity (cyclomatic 12, cognitive 13): extractIdentity has cyclomatic complexity 12 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":"app/buck2_trailcam/js/src/lib/action-results.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f0073dc51442e694442d896c3632eaa0e311088796903642d090a96d04af7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 12, cognitive 13): fromObject has cyclomatic complexity 12 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba419a8c924573f949b601458ff5aa66b02c4ad74dac3be6fd742ef53ca36885"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 12, cognitive 13): fromObject has cyclomatic complexity 12 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":5080}}}],"partialFingerprints":{"codehealthFindingId/v1":"2259a2f8d63672c7bc2569dd8846c8983330a2cbfa1fac2af9fae5fcdd4f5213"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 12, cognitive 13): fromObject has cyclomatic complexity 12 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":35275}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b89a250377cadddb0292a3b4fbadd71c4116db67fb65a6631ac4b47ffc8d06a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 12, cognitive 13): encode has cyclomatic complexity 12 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":58553}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a0ff0ce6a039031e1d8412aea161130b8847ec2b3503831aad812e08223c3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 12, cognitive 13): fromObject has cyclomatic complexity 12 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":60553}}}],"partialFingerprints":{"codehealthFindingId/v1":"001855cc0306a4c56c8af2790acf8d98e7995e2b8412113b24c38d955fd8aefb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 12, cognitive 13): main has cyclomatic complexity 12 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":"prelude/nodejs/tools/nodejs_test_adapter.cjs"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b198b751650c819f8042dd395aa0ac58cf903a834db2f4b75c804002a85eeb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 12, cognitive 12): toObject has cyclomatic complexity 12 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":22684}}}],"partialFingerprints":{"codehealthFindingId/v1":"133edcabd1175cef8373f7bc06f71fb8b804addc71a5be469acba0ac5d2d74cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 12, cognitive 12): toObject has cyclomatic complexity 12 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":30097}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f649e48161089e7b01eec575055ba79824a365eef637f966e820a59198e2371"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 12, cognitive 12): toObject has cyclomatic complexity 12 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":44297}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b2f0d30c2f1266196432a9e08d043c84dbd8c63a28f334edbb232762f595fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InvocationView (cyclomatic 12, cognitive 11): InvocationView has cyclomatic complexity 12 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/components/invocation/InvocationView.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d21239a396089ea6b710258eb55bf7a5a1f425992421e08388ca28ac314b778"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 12, cognitive 11): encode has cyclomatic complexity 12 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4701}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45bf20c0118228907b6c8b41abeb92932871f8eb39010a245020bde31c50270"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 12, cognitive 11): encode has cyclomatic complexity 12 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":7799}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5d6626fe922c2da2c8310a8d4e8d7cc22ca5e8a685946de24a8cb98cfd724d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 12, cognitive 11): encode has cyclomatic complexity 12 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9540}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e419ab254b38ab431f1d3e5190938bf2bb3e3dac66f5aa6291a852b58d0dd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":27362}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d27b47daae1edc6e7610ec90d4487f7ccc3b0cf1e3e944f6e36d415669bf882"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 12, cognitive 11): encode has cyclomatic complexity 12 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":30468}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa805f6c2b8c68b2ae183c6989c98097f52a6b0f85620e491def7e714cd37bbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 12, cognitive 11): encode has cyclomatic complexity 12 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":36263}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5bc0d74b0b3de8af70d9f24ff5c0c065f9fc60e6c8d19b2159be6a3e5548f4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 12, cognitive 11): encode has cyclomatic complexity 12 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":37381}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc58b58adbc9abeeca1247bf2fb0a8400a892bd7fafda4c72088cd7b497cbec3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 12, cognitive 11): encode has cyclomatic complexity 12 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":39164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c721e1f1769b3825cc2747e19d923f54503ac383701dfefc75c0f8f2ccb1914a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 12, cognitive 11): encode has cyclomatic complexity 12 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":40495}}}],"partialFingerprints":{"codehealthFindingId/v1":"27594389239338029c6a8f712dfd2b8de6f691a8fb3432c1de6a322c3bf90526"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 12, cognitive 11): encode has cyclomatic complexity 12 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":62341}}}],"partialFingerprints":{"codehealthFindingId/v1":"00eaa63a59f60c7feda004cf38fdd2ec6ad6bbafbb64deb82de2951837a51c2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processEvent (cyclomatic 12, cognitive 10): processEvent has cyclomatic complexity 12 and cognitive complexity 10; 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":"app/buck2_trailcam/js/src/lib/streaming-collectors.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"662120572da3122094447c2f80c9be1010521f4a10ab90fea792ada0b5bb7ca1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runNodeTestFile (cyclomatic 12, cognitive 10): runNodeTestFile has cyclomatic complexity 12 and cognitive complexity 10; 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":"prelude/nodejs/tools/nodejs_test_adapter.cjs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"3252ff5c85079caf1914ee9f5dd6a29748fda2c5af52c6d6e6f8197617a89405"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function entryStyle (cyclomatic 12, cognitive 9): entryStyle has cyclomatic complexity 12 and cognitive complexity 9; 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":"app/buck2_trailcam/js/src/components/ui/AnsiOutput.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"002a613f2f920ecc3c2103ee269d5e212eeb1507f121d1ef782c20126808a49d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 11, cognitive 17): decode has cyclomatic complexity 11 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":4910}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f15d2756c5e386cd475ec51e613bd7f05df70b75c20e127f7cce5bfe57c58e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 11, cognitive 17): decode has cyclomatic complexity 11 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":8491}}}],"partialFingerprints":{"codehealthFindingId/v1":"883eb6578176c025b79fd0896661dbae4aec47d5af69d081e32fe77b63457a8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 11, cognitive 17): decode has cyclomatic complexity 11 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":23834}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3ccc597d1795de7e2c8b6c3f53a8448f6b79f338f45a18874283149fb68f77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeEventLog (cyclomatic 11, cognitive 15): decodeEventLog 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":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a16154bc8a1650b665f54a4ad440e1eee2d73a9d09911e248a1ca93fe75cab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 11, cognitive 15): decode 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16585}}}],"partialFingerprints":{"codehealthFindingId/v1":"304964076d5b29543e62d760e910ecc3c3c6c6e2fb8269eb7717e35bdfe17c2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 11, cognitive 15): decode 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":43589}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e987b0feb5c5f977fa60f2432af713f6e001bed5b4452422ca15b724f821791"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processMessage (cyclomatic 11, cognitive 15): processMessage 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":"app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0d2028dd88c0bb3034b491d1adbfd1f8d6303421d0fade10973e5ee24e4968"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runVitestTests (cyclomatic 11, cognitive 15): runVitestTests 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":"prelude/nodejs/tools/nodejs_test_adapter.cjs"},"region":{"startLine":1573}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac11e417b4d9d34625efa5e55221e00256585b17f38091ec0dee7ee434f96a83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 11, cognitive 13): toObject 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"097cbaf3ef923ecb2b748b5b8e064a4e7dbe9a335c4171fffae554f14b1af5e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 11, cognitive 13): toObject 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":7722}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f53270233f1521069ad282f3269650d027e045b05000e876349a339c836037"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 11, cognitive 13): toObject 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11012}}}],"partialFingerprints":{"codehealthFindingId/v1":"51209bf1dacb8a0d53dc0e0c32737564b0963c429362637078fe8e65f621518b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 11, cognitive 13): toObject 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":16516}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c07e2c5fcf180a6bf6ee09539813e56c056a9825ed9c5be914033eb1466824a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 11, cognitive 13): toObject 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":60336}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ca4fe1c4ee0c0a5ff406b535a0dcc1e7fb9c1942e2ed79e6f5de1f66ebf6e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 11, cognitive 13): toObject 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":63624}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b5b8189effa58c1b7ea64b719cd4d8926310c0669f2f38588ca0b9bcec87b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CriticalPathView (cyclomatic 11, cognitive 12): CriticalPathView 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":"app/buck2_trailcam/js/src/components/invocation/CriticalPathView.tsx"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac304f42cededfc5b37c263d15fb5ab26ae308394436a97c8c5ec1c3dd4edb92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CriticalPathChart (cyclomatic 11, cognitive 11): CriticalPathChart has cyclomatic complexity 11 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/components/invocation/CriticalPathChart.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"84331edd310fbd46ea1a5e6b4d87b329cd4328d041e96d9e1a60caaa67b67fac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 11, cognitive 11): encode has cyclomatic complexity 11 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9677}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b025729f95a37c81595815791e8077be8bc2d1885bebbab5eec66465013b5fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 11, cognitive 11): decode has cyclomatic complexity 11 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9703}}}],"partialFingerprints":{"codehealthFindingId/v1":"d022ad0c33afa52c0038cc4a1cac147d893ec2e4f41053f52da8cfa60ebc0726"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 11, cognitive 11): encode has cyclomatic complexity 11 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11724}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d6f70b8ae44947f5c8043a76cebf6a1b309a70de1a133bfa391bb2a2540d84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 11, cognitive 11): decode has cyclomatic complexity 11 and cognitive complexity 11; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":11750}}}],"partialFingerprints":{"codehealthFindingId/v1":"25215bcd37d4f552d78382d045a466c75d6e810a501300c1c6f7720841e37a7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; 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":"app/buck2_trailcam/js/src/components/invocation/EventLogProvider.tsx"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"335325fb36ed9491c025150ba982cd83b93ed73710e725974ef1edb4d3e24937"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 11, cognitive 10): toObject has cyclomatic complexity 11 and cognitive complexity 10; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":9952}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c98b4942d79faef2ee99aac269c7b7efb534766fe897acc5cb8e82ed9fb42c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromObject (cyclomatic 11, cognitive 10): fromObject has cyclomatic complexity 11 and cognitive complexity 10; 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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":13609}}}],"partialFingerprints":{"codehealthFindingId/v1":"194ad865b239cbd48c5ccc9d463e7155d8a783c18334a59b2e71aac19ba54700"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FailedActionRow (cyclomatic 11, cognitive 9): FailedActionRow has cyclomatic complexity 11 and cognitive complexity 9; 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":"app/buck2_trailcam/js/src/components/invocation/FailedActionsCard.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbfc3e7ee10f7c8756eb66e69ca5d72400e45e6844762681801dc63240e5c75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GenericTreemapView (cyclomatic 11, cognitive 9): GenericTreemapView has cyclomatic complexity 11 and cognitive complexity 9; 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":"app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"149f25d08cbb022e9c31410c9acc5f0647dfc9e283bf5dbf3660cfb6995771f7"}},{"ruleId":"R3","level":"warning","message":{"text":"prelude/nodejs/tools/nodejs_test_adapter.cjs: 1711 lines of code: prelude/nodejs/tools/nodejs_test_adapter.cjs has 1711 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":"prelude/nodejs/tools/nodejs_test_adapter.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c679deef850fda607a80e0d61d95e5db73be06da20581ce71ded9a668029cbab"}},{"ruleId":"R3","level":"warning","message":{"text":"app/buck2_trailcam/js/src/components/invocation/EventLogProvider.tsx: 824 lines of code: app/buck2_trailcam/js/src/components/invocation/EventLogProvider.tsx has 824 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":"app/buck2_trailcam/js/src/components/invocation/EventLogProvider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f934bc9d3025b6d3bdae6f3b32de5d8e40d6593cd432568dde5ac1927f8cc4e0"}},{"ruleId":"R3","level":"warning","message":{"text":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx: 793 lines of code: app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx has 793 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":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef6a14c72269f990c6e67287abf2a20716af8e86bf08af13217a01d34c6d94e"}},{"ruleId":"R3","level":"warning","message":{"text":"app/buck2_trailcam/js/src/lib/parallel-decode/dispatch-worker.ts: 678 lines of code: app/buck2_trailcam/js/src/lib/parallel-decode/dispatch-worker.ts has 678 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":"app/buck2_trailcam/js/src/lib/parallel-decode/dispatch-worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"612d6ee5636fde7e3558fc9fcf15ebb391df9343f4da8240e4f740fc421a7edd"}},{"ruleId":"R3","level":"warning","message":{"text":"app/buck2_trailcam/js/src/lib/event-log-cache.ts: 640 lines of code: app/buck2_trailcam/js/src/lib/event-log-cache.ts has 640 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":"app/buck2_trailcam/js/src/lib/event-log-cache.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a109f6830c302ed8ef71dd67fe240be350b53b73ab6aa0eba8f7c22ac1a3049"}},{"ruleId":"R3","level":"warning","message":{"text":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts: 625 lines of code: app/buck2_trailcam/js/src/lib/event-log-decoder.ts has 625 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":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"410f82fb40150759124ea3ae5fd82af1d6f3f097039eb1a1ced5ef12850dfe9e"}},{"ruleId":"R3","level":"warning","message":{"text":"app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts: 625 lines of code: app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts has 625 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":"app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77055897e55fd1143d22c11b83e0648f76493548df04c0bf071edac899b492e"}},{"ruleId":"R3","level":"warning","message":{"text":"app/buck2_trailcam/js/src/components/invocation/BuildHistorySidebar.tsx: 568 lines of code: app/buck2_trailcam/js/src/components/invocation/BuildHistorySidebar.tsx has 568 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":"app/buck2_trailcam/js/src/components/invocation/BuildHistorySidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44f13fd263c0eb591bdb82135fd4c1349ff605062f27508470a7ef8f53f0a47"}},{"ruleId":"R3","level":"warning","message":{"text":"app/buck2_trailcam/js/src/components/invocation/CriticalPathView.tsx: 515 lines of code: app/buck2_trailcam/js/src/components/invocation/CriticalPathView.tsx has 515 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":"app/buck2_trailcam/js/src/components/invocation/CriticalPathView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"399d8d4f3df62b8bd7a213f8831ded16c16410a74fdc4660645be772c0fc089e"}},{"ruleId":"R3","level":"warning","message":{"text":"app/buck2_trailcam/js/src/lib/event-summary-store.ts: 494 lines of code: app/buck2_trailcam/js/src/lib/event-summary-store.ts has 494 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":"app/buck2_trailcam/js/src/lib/event-summary-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05716c8f2e6637deefe894b4a5093170a13688d4dcc5caff42a19e4bb12a0a4"}},{"ruleId":"R3","level":"warning","message":{"text":"app/buck2_trailcam/js/src/lib/critical-path.ts: 461 lines of code: app/buck2_trailcam/js/src/lib/critical-path.ts has 461 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":"app/buck2_trailcam/js/src/lib/critical-path.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93db3cc32e8249a4c57b5d5fbd426623b6dd65ec33ef15d7bf3d8d0f1fea64a"}},{"ruleId":"R3","level":"warning","message":{"text":"app/buck2_trailcam/js/src/components/invocation/LoadTreemap.tsx: 426 lines of code: app/buck2_trailcam/js/src/components/invocation/LoadTreemap.tsx has 426 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":"app/buck2_trailcam/js/src/components/invocation/LoadTreemap.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a5282ef65ff8fccf889cacda31e47895804c27bff2d75141690963444428ad"}},{"ruleId":"R3","level":"warning","message":{"text":"app/buck2_trailcam/js/src/components/invocation/event-log/useEventLogState.ts: 404 lines of code: app/buck2_trailcam/js/src/components/invocation/event-log/useEventLogState.ts has 404 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":"app/buck2_trailcam/js/src/components/invocation/event-log/useEventLogState.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6132960b7a8d7cafb967f08c53723f5d2e689b45c11d0b05205818865130b1b0"}},{"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":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6a5a486eb82c1dafb3cdd3a478a9a0a8021ca5e7a2598b69ae8a38f2f095be"}},{"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":"prelude/nodejs/tools/nodejs_test_adapter.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80086df9ff9d1efe065334d0239d7f61dcbe6302a09662a08511761cd69e71d6"}},{"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":"app/buck2_trailcam/js/src/components/invocation/EventLogProvider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34715104515506c5aa9f40a094e3148c271ea2f208861c1d4efbb9737332a23"}},{"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":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"298633841d410c1a16f9252f808dcabb51aba24ac54548632c9a0d2af1d1ccbd"}},{"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":"app/buck2_trailcam/js/src/lib/parallel-decode/dispatch-worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a590e3911f05692e24773d792d2532a56f006f1071626e3afae5113648fa82"}},{"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":"app/buck2_trailcam/js/src/lib/streaming-decode-worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c2084d82614f58d009cb658b729e62b9c6a58fd0a378416a9fce118aa9273e"}},{"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":"app/buck2_trailcam/js/src/lib/event-log-cache.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d217866af689d23e6f11ee4e827fd68708e776b94d1cc3133d78703716955c2"}},{"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":"app/buck2_trailcam/js/src/lib/event-log-decoder.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d667771f9652cbf01f26996bef23a6726cc351b6465c4f7169dceb01592590a"}},{"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":"app/buck2_trailcam/js/src/components/invocation/BuildHistorySidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42af9feb3da4c329a0cea96f41df046ce1e480e1fd55c77fc2eec998796100d5"}},{"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":"app/buck2_trailcam/js/src/components/invocation/CriticalPathView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b022697bca20bde8f574d3f35a9caa1ca40dea6238f6bf6e12b743e1f7389031"}},{"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":"app/buck2_trailcam/js/src/lib/event-summary-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3675f2865fa1598747c8d25abf99bbf13eacd392c5481f59ccf08a9411d47a9"}},{"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":"app/buck2_trailcam/js/src/lib/critical-path.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7f480f479f37ea111774d5307c7ed3421eefb22790be8c98254668c0038f03"}},{"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":"app/buck2_trailcam/js/src/components/invocation/LoadTreemap.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"348c5ab102e425833743446890e04ad93a6ce01599ddb17ac23dafe647d545c3"}},{"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":"app/buck2_trailcam/js/src/components/invocation/event-log/useEventLogState.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a7cc9dc2ab82ec7a0e294798aef5856dc1f80c4df2a715c893bff98d73f722"}},{"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":"app/buck2_trailcam/js/src/lib/parallel-decode/orchestrator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"482fcd90b02649cb742efe13018283c3d087d764cfcb7ab568c4ee1e4a3eb3dc"}},{"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":"app/buck2_trailcam/js/src/components/invocation/TestResultsTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dad817757ec6ec381b6162eec119849cd06b0472751cc711bd100efe7f31b9"}},{"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":"app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a137b55ac821b968dd951a08bbe767c46de525a42ed937d0f567b7e1301f1f7"}},{"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":"app/buck2_trailcam/js/src/lib/load-events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3cbdc664c896bfdca722670e092390a028a0b2695e7dec9a866be3f5cf6c73"}},{"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":"app/buck2_trailcam/js/src/components/invocation/GenericTreemapView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e363a6ad004e0ac455e4be7dc399b9c773348a96e948b4ffbfa643d121923e"}},{"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":"app/buck2_trailcam/js/src/components/invocation/InvocationView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c08c82ce2db7dc3dfaae2462461eb0780be19781dec5d4fc7851c9a7f9770c"}},{"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":"app/buck2_explain/js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ad409d534516ac19a18af08d4db8dd5cbf708f1203d5f0fccc80b0bb14cf0a"}},{"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":"app/buck2_trailcam/js/src/components/invocation/FileChanges.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d770b05b21b9f162c3234ce4cdd77a0cf661ba3d1b3c50d0f1727ec22a8715ce"}},{"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":"app/buck2_trailcam/js/src/components/invocation/DecodeTimeline.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"669e532ea1f0f8d4e9b8876f9b5cd4581613d4c8a3bff95644fa88d40883aed7"}},{"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":"app/buck2_explain/output_format_js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb894cb6d6e993afe08de55390d9feb1df2eea5986e98d64cbec088f6345eb8"}},{"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":"app/buck2_trailcam/js/src/lib/action-results.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44475d0643aaf61cae6004c80e60153c7466aa2c19a993c23bde849879fc360"}},{"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":"app/buck2_trailcam/js/src/lib/streaming-collectors.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d44eefbf31d739e04d95149c0db413ac75870630e1c9433565c0888f47a7bfb"}},{"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":"app/buck2_explain/js/src/Target.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5450b0c0396910f908367fbd9cc2d7935fb548aa624369e15b8c01d9c7d036"}},{"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":"app/buck2_trailcam/js/src/components/invocation/event-log/span-index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a681f9e3319501c8c795f9f6615cc8f36b1b0fec43523f2295226a7b2536fd4a"}},{"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":"app/buck2_trailcam/js/src/components/invocation/event-log/EventLogTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3109586bb18bdd066ac4dd5f7d251aa9ac5e6902086e0dab3e40402cba6817f"}},{"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":"app/buck2_trailcam/js/src/components/invocation/event-log/JsonTreeView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb8fcefb47b9b4cf29c466fdffbcc1732db68a5704fa4017d753452523dfdbc"}},{"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":"app/buck2_trailcam/js/src/components/invocation/CriticalPathChart.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ddfaddc47d52be149018aba07cf818f336d6bf53f6acbd5b14784df1222a0f"}},{"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":"app/buck2_trailcam/js/src/components/invocation/DecodeStatsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b503045c2385f6d746361414af77bc3c176e6d05efaa9901b15853d69b00e5c"}},{"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":"app/buck2_trailcam/js/src/lib/varint-stream-parser.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb447128ff7402c036aed202bfe600cf2e7f38ad05ffac1e1a74d55dc93402ab"}},{"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":"app/buck2_trailcam/js/src/components/invocation/InvocationBar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c7042545474564d54bea3b74b5c5df4228da2a263fe328d6dabefd72b5ba72"}},{"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":"app/buck2_trailcam/js/src/ui/Tabs.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"375e00a4a24c449f3a32d6b52caa93b184c33b159b9253045b235478062b4c3c"}},{"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":"app/buck2_trailcam/js/src/lib/test-events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cec6b2b26b0e99e72f8c941a78825072084f65921d28fdf72af3a6c3fdb9c04"}},{"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":"app/buck2_trailcam/js/src/lib/treemap-builder.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea81ba8a0a8d1d37126449b7bfd3691c49e28d43188a274cde878dbe2aa4651"}},{"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":"app/buck2_trailcam/js/src/components/invocation/event-log/EventLogToolbar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9734bbfbb19907905c03fc3c58c8b7a61d4f6dcbaf11cabdcee17cac2d5a992c"}},{"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":"app/buck2_trailcam/js/src/ui/Resizable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf52b638c11a331db95a8b6e86c356f7e20cdae90255385b0fd5d799cf5c5e4"}},{"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":"app/buck2_trailcam/js/src/components/invocation/event-log/EventLogDetailPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd4f11d6e5b05954b00f8a9e533eb98131255c48ce694495df0290c0dd880c3"}},{"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":"app/buck2_trailcam/js/src/lib/phase-timer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d580f51e336f9857bb3ab47341c0acda754609c0fe49428f5632046b978688b"}},{"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":"app/buck2_trailcam/js/src/components/invocation/TestSummaryCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"622b0da09021e04eb3bb9f122752d0834f8f05529b72af8fa01a2d7526315b1d"}},{"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":"app/buck2_trailcam/js/src/lib/action-events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"817ca35a08fb4ceaf0f847eda409911d74331bb573a9d6049cf7ea4c0cff034a"}},{"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":"app/buck2_trailcam/js/src/components/invocation/FailedActionsCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cb42819b12cb1d0758817f7991d8a91d43ca89102f849775e134126297e543"}},{"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":"app/buck2_trailcam/js/src/components/invocation/event-log/filters.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7705c4a557db333c4f21b2a6a06fa09672b3845a5240b4eb21937bc16a2bf0"}},{"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":"app/buck2_explain/js/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6460afcd8e7c7af86ec43f4fd8f9be73cdaf0b4e626886eabad25d492806a46"}},{"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":"app/buck2_trailcam/js/src/lib/url-state.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07de438d2fdd064c4c227378f28222f70044a2e71ecb054bf3bc1087859e8fdd"}},{"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":"app/buck2_trailcam/js/src/components/invocation/SpeedDoctor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c73d30adf29ae57ce0b70da8914e50b51a5239425397535b5159d3c9e791fef"}},{"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":"explorer/renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4750f4e10f0b37f145b93abe64bbeefe10b2bd163f84a9193517e7621c0a7c07"}},{"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":"starlark-rust/vscode/client/src/extension.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74604f29d2b4107478d4041582f3e806e552af3ab8d07a0d304a6c8592e8882f"}},{"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":"app/buck2_trailcam/js/src/components/invocation/EventLogViewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c65bd6cfc70f86988dc50daf65f72afe8fc1851d29922f5d0861d6f625124ff"}},{"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":"app/buck2_trailcam/js/src/components/invocation/LogCommands.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"552f73288fd71882e5f006eaf763a6e4834a48b2cf0ee703baf1019bd7428a6f"}},{"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":"app/buck2_trailcam/js/src/lib/analysis-events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f974a45b5d3390b9d0c0af8ad51bd9c50adc5ac2bf20a2fb3d06b63c897fea0"}},{"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":"app/buck2_explain/output_format_js/src/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a9d914d7ac55731cf2174191cbf762ed45816c71bfe69f2c2ec4268793faef"}},{"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":"app/buck2_trailcam/js/src/backend.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"716f6a9ebca92619223cbff15025da78fa6b9e8ea09ee8753d8925f1cd1318ad"}},{"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":"app/buck2_trailcam/js/src/components/invocation/PerfettoEmbed.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efa2a5a35d8589d2a1383eaa80dd81a0ebd7dc1dd899641b175fff6e4841929"}},{"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":"app/buck2_trailcam/js/src/components/invocation/PhaseSummaryPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb560ad038664b0129423f1a784dbd72f2d5572e37b076cb2dd02c0ef62e874"}},{"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":"app/buck2_trailcam/js/src/components/invocation/DebugInfoPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6179c133934149c64055e0d497972c3bd306cfbf584ad85bad1f36b08a6b207"}},{"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":"explorer/main.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"265e2a060363ef94058f7447cc4ae1863d323e4bb134358adffed9ce1916d08f"}},{"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":"app/buck2_explain/js/src/Router.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a02a0b2a61ee5e0555fc64cf689f09220307fd6418b8e903955a9533f1d334"}},{"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":"app/buck2_trailcam/js/src/components/invocation/event-log/columns.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1a7ec4a2ecef98bfbfb5a58ffa853a51750b560f5461b318cebb250a5dbb11"}},{"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":"app/buck2_trailcam/js/src/standalone/StandaloneApp.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02723c49463e2ef92b597a21967f1f201860b3c6e1e7e7a62d091cd1328c85d"}},{"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":"app/buck2_trailcam/js/src/lib/format.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef1eec815f3db9841b74c1f1448c43182dc9ee1cab2281f15c65f03c02dbc4a"}},{"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":"app/buck2_trailcam/js/src/lib/parallel-decode/decompress-worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0711fe8008c336fc1f04d6c115c00a28586a947c17294a966584d1db52b2d5b4"}},{"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":"app/buck2_trailcam/js/src/components/invocation/StatsPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2868abbb0262c7856a2f87c1ee1f2676e864112bcb65072c2fe8e2e51a2142ca"}},{"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":"app/buck2_trailcam/js/src/components/invocation/ActionTreemap.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7180e0f2761dcf1dd30b4ba5c7a8db8162bebd0aecf3b4cac23de19cd22482"}},{"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":"app/buck2_trailcam/js/src/components/invocation/REStatsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d63326f9386aa2820c58afbb93f46791f619ed05906a3b4728990d81d66b1b"}},{"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":"app/buck2_trailcam/js/src/components/invocation/AnalysisTreemap.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0443c8887f5a84b481c4a3b438c895e3c4977e9e3014512d4cfad38b3060f3"}},{"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":"app/buck2_trailcam/js/src/components/invocation/useExpandedCommand.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6847ab018747c81f243c2dee4e3f2cd3193614204dd0a5e045063eaecefb8b7"}},{"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":"app/buck2_trailcam/js/src/components/invocation/MetadataSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6474779ac5b328d4b696f6c5e5f9f5dbe81897f0ac56f1fbf50b65790d295b2d"}},{"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":"app/buck2_trailcam/js/src/components/invocation/PerformanceTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e181afaf3d274c9edac48321cd5b9b1f626db327fd95a83a1cf64bedacb6f9d"}},{"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":"app/buck2_trailcam/js/src/ui/Chip.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c89060a76e3edcb2a7613e60ce53d5e3fee130819d3d54840c4101d2adfae6"}},{"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":"app/buck2_explain/js/src/SearchView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1c16a2ae65e898fd36a7bbf4aacf2044a5286741f4b1e44ac6f4118c766d3e"}},{"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":"app/buck2_explain/js/src/graph2/GraphViz2.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b6f99aeed125194db4c8b483150d32cadce60ec82924873405409e090aba49"}},{"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":"app/buck2_explain/output_format_js/src/graph2/GraphViz2.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc2e12fbf80b02f64e3c84418c10d2dc812f5f6ba56af02944daee294a1182f"}},{"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":"app/buck2_trailcam/js/src/lib/theme.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce120a9ccdbb5c3a3b375bb7a9d5c68f979435f8897c59d85403621531720ee3"}},{"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":"app/buck2_trailcam/js/src/components/invocation/LogsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"868b89126f36d16873da76f5d4eda25477e12d54dc6b4d403dbdfefe96c8839a"}},{"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":"app/buck2_trailcam/js/src/components/ui/ResizablePanels.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84dea38414624f864fadee28df8fd52cf91b7c349c03ae3b9a8a2821df5de8f3"}},{"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":"app/buck2_trailcam/js/src/components/invocation/OutputTab.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f3937c08edb9c917b891e8e11c831970eca7c719cdae52f6ce8ca395f94afb"}},{"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":"app/buck2_trailcam/js/src/lib/event-log-worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9521a2b141dd85a3e76376b724e4f420605d08bacb4b8464b8c699cc97542374"}},{"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":"app/buck2_trailcam/js/src/lib/chunk-cache.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7530a59ddca50208afeecf603e2db4003339dfaf5c2390e3a9bb4d770846d6ac"}},{"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":"app/buck2_trailcam/js/src/lib/critical-path-aggregation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07985216b86a22ce2b28cd6853878a28a3b05ebf5f621cf49baae2f634ac8ce"}},{"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":"app/buck2_trailcam/js/src/ui/Card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5337634d7856ac68c468b8be02b17cb35c99b50c13063fb55e77dd155423504f"}},{"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":"app/buck2_explain/js/src/flexSearch.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2099633d463bd6b9e5e34c4cf9bbc1bb5a67d8dd675c0bcc11afd91a7ba34adc"}},{"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":"app/buck2_trailcam/js/src/ui/Button.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"571f5221ad0d80640a4f6c7ceeb981017572187d4761a3574c6d56c2978dc3d2"}},{"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":"app/buck2_trailcam/js/src/ui/Switch.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d2b9752f949878db6669a93f30199a2d9b524ffd392ca26d0c553b23ffe147"}},{"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":"app/buck2_trailcam/js/src/components/invocation/event-log/FilterableValue.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d024ad698e23f51f8e805b5d99692c17adc69ac3ffe6b0931b04a8342a4f3d"}},{"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":"app/buck2_trailcam/js/src/components/ui/CollapsibleMessage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7a1b0cf1e3f3035baad00cc05997a7ce2af92f37d77128f2f083991e5a5603"}},{"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":"app/buck2_trailcam/js/src/lib/use-local-storage-state.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba08ea90fcacc7b4a5ecf5e7c33d5880ac882c1b023dd39208dc41e0e78bf14"}},{"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":"app/buck2_explain/js/src/SearchBox.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4d790582f0c5792bf734e46dc584c2cb37f1542fc9a77a53df30950e868633"}},{"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":"app/buck2_trailcam/js/src/components/invocation/PathToggle.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed264a98733cabe413527942f8c4f09a93204a1c4f8e7542236ae12b2a8e6e07"}},{"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":"app/buck2_explain/js/src/graph2/GraphView2.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf3e8a45ea08c763d418969d02037e52cad2c1adbe222079a98bcfd6b8de09d"}},{"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":"app/buck2_explain/js/src/Navbar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7951be250545893961be8c1da62deb02bf19cc4b4d48bb37a56834de3cf4a202"}},{"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":"app/buck2_explain/js/src/HighlightedText.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd290e32fa767bccb8adfa041f0711647b90e46c7a5e7ebfc3bd429c4591d20"}},{"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":"app/buck2_trailcam/js/src/components/ui/CopyButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe718902a1eb920bbeaddc35792a05efbf104c8c8912d38075f75291379b524"}},{"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":"app/buck2_trailcam/js/src/ui/Badge.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2db94926dab3df4f7883db3197d735dbdcf738ba5790959068c129ac63432b"}},{"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":"app/buck2_trailcam/js/src/components/invocation/OutcomeBadge.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39839ce53a3066563268c3b986f2fbda7d6ef2e9cc0bd09b0b6cc4ae1b80606"}},{"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":"app/buck2_explain/output_format_js/src/graph2/GraphView2.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b899301902f097e98079cb7d97ad7f9577b8985e99618d2176e1f3f4318c786c"}},{"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":"app/buck2_trailcam/js/src/ui/Input.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfb36239889beb2514f861bc46797eda3f010e7c1bd79eadd23ae66251472b4"}},{"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":"app/buck2_trailcam/js/src/ui/Separator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c14f60270a440972b8ae54e4466a83854dd26112c9c458ce279e5b70b51b19d"}},{"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":"app/buck2_explain/js/src/TargetView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40e7634fe8de546494bc0d3921bcfb87a4034fd1967ddd3504a5de9192d7e3a"}},{"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":"app/buck2_trailcam/js/src/standalone/localBackend.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35589eb479c61c6de8222d9aee99856de63cc695e670fd466457656677a4f19"}},{"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":"app/buck2_explain/js/src/formatTargetLabel.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca60b1a8222b779751f2ebfe6c0e0079c2c8cef86811b25b4e5e82b6605cb8a"}},{"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":"app/buck2_trailcam/js/src/standalone/main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66a4ac109de3a4e63d90cb72d32cc02113a6ff516f95c69ac3d28f3b8e49faa"}},{"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":"explorer/preload.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"183709acc9266083041682eac56bd73698b7d3ddaf3ec1d6386a57dad5a7fc4d"}},{"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":"app/buck2_trailcam/js/src/ui/cn.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2bbed97ea0ace1d1c833ba9859b20864f7aa21c7da6195d212fde6d0020cd3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~601 LoC): no import path from any entry point (12 application, 3 tooling, 2 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":"app/buck2_trailcam/js/src/components/invocation/BuildHistorySidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f0d51f7a294d1977b1889e0242ac9017e2a3fb826fe0b3b0b74f2a52920639"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~133 LoC): no import path from any entry point (12 application, 3 tooling, 2 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":"app/buck2_trailcam/js/src/components/invocation/PerfettoEmbed.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41807009ff8c58e892a10cd709e921d8db1fe7576a150ef0cd449b2a54d8d27"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~110 LoC): no import path from any entry point (12 application, 3 tooling, 2 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":"app/buck2_trailcam/js/src/components/invocation/event-log/columns.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9390439295da5e33d94527b0e183c4b47c9d2e5b6cd36c38042c533722a939cb"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~84 LoC): no import path from any entry point (12 application, 3 tooling, 2 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":"app/buck2_trailcam/js/src/components/ui/ResizablePanels.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"110dc60c4be92516204da79e4b324dc022de472e56ec09cc6c60f7041e13cc77"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~78 LoC): no import path from any entry point (12 application, 3 tooling, 2 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":"app/buck2_trailcam/js/src/lib/event-log-worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c16c0d4f2bd388af55765289d647805bae5e362ae4ea64b762881baab93936"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~23 LoC): no import path from any entry point (12 application, 3 tooling, 2 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":"explorer/preload.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbe1a0665772b3be7f017105268021ece95fbf42946efde401abeef17d41052"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027extractCriticalPathData\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/critical-path.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"903c07ced19deae49aefb0493461f0d0f95fb2cf352e73e95e26b232be2f0e86"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027clearAllCachedData\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/event-log-cache.ts"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b907175261a3ef3c4c1c638fe40a4fb4d235f74e8010094fa442c9b1001f72e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027formatProtoDuration\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/format.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"18332e3d59ad06df21ccc7f0b0799dceaf1b70d746419e9ef410601a73bbad83"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027google\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/proto/bundle.js"},"region":{"startLine":65040}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d60e088a8a577039065b02e5fd6de808ee87021eaae14acb7d9e911e843a004"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027THEME_INIT_SCRIPT\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in app/buck2_trailcam/js/src/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in app/buck2_trailcam/js/src/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/theme.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"679f04528626c6e3ff42436e7a2838c9e540653d13d549c9ed5aa5232e09f061"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027useUrlStateList\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/url-state.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcd962694b11cd48f9f06ace4f37e541ccd5d0a0a235527ce96cccaae9481c4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027clearUrlState\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/url-state.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"da216637065fe6ecabe5b82e969b28777c094809d97c8993938f50c695c9ef2c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027decompressZstdSync\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/lib/zstd.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d1cb90d545142d10c68b83aa547176e2d0c209c42af47d7f75753d81d47ca3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CardDescription\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in app/buck2_trailcam/js/src/ui/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in app/buck2_trailcam/js/src/ui/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/ui/Card.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd4492f069cb767fa02be91ab02b394ea0e19b968513bc007745340cc34318f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027CardFooter\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in app/buck2_trailcam/js/src/ui/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in app/buck2_trailcam/js/src/ui/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/ui/Card.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b270693f8a55cee061d9092c834167eed6402b6d01f2eab215673178c21b83"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027Switch\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in app/buck2_trailcam/js/src/ui/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in app/buck2_trailcam/js/src/ui/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_trailcam/js/src/ui/Switch.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21b3ba5d041c05e22a2f5ffebb3c650c466a3f5333b89e5aeabc5d84dccd0af"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027flexsearch-ts\u0027: Declared in app/buck2_explain/output_format_js/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":"e7649c659591a3547cafc4537da15b061d8b264ec5e2028e8cab02333629cf29"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027react-is\u0027: Declared in app/buck2_trailcam/js/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":"708ca97e4d36e0e358fb4db671d3a911a2fefb5769fbb82e8cda3396d45da5fb"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@electron-forge/maker-deb\u0027: Declared in explorer/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":"1a3a10182319f784acd5457e4d136b33d337e941899d85924c6e7a74607a9fd0"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@electron-forge/maker-rpm\u0027: Declared in explorer/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":"93528460e517c32a29ae3bc6efc1e8e7a5a55a969d3db6e4c2c80cad5aedaa68"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@electron-forge/maker-squirrel\u0027: Declared in explorer/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":"deef85adca36c805a60f105ebb9b6736a611f9055b24271c3ffaf8444788b63c"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@electron-forge/maker-zip\u0027: Declared in explorer/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":"ca378abb93fa7ab014ffeda16479cb1a75f27180f5dbebc9c3dc05e5aab9af6d"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027electron-squirrel-startup\u0027: Declared in explorer/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":"ea70d40a250b2692d3b6508b9dbbca4a83a5933473bcc76c5e8913d97f26ee1e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@vscode/vsce\u0027: Declared in starlark-rust/vscode/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":"fd1003a0c4852b3f110a4e081a8464214a942a91502185b691e11424fa69c00b"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@vscode/test-electron\u0027: Declared in starlark-rust/vscode/client/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":"4a15d50c22f15a825eb0b3a3f453eb30e52b32d979c7cc56d65d625d4b1c686d"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): app/buck2_explain/js/src/App.tsx \u2192 app/buck2_explain/js/src/Navbar.tsx \u2192 app/buck2_explain/js/src/App.tsx (one verified cycle inside a mutually-dependent group of 6 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/js/src/App.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab342f40574d322c456ced68eeb5f03393f8a67663d8423144b098d292e3ecb3"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): app/buck2_explain/output_format_js/src/App.tsx \u2192 app/buck2_explain/output_format_js/src/graph2/GraphView2.tsx \u2192 app/buck2_explain/output_format_js/src/App.tsx"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_explain/output_format_js/src/App.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30f69a09c1a0cf9b17027aaa57ed4d70fd7b8ca6ed64fa78270b42828406999"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060thread::sleep\u0060 inside an \u0060async\u0060 body: This \u0060async\u0060 body is polled on an executor\u0027s worker thread, and \u0060std::thread::sleep\u0060 blocks that thread: for the whole delay no other task scheduled on it makes progress \u2014 the Rust form of blocking on a task. Use \u0060tokio::time::sleep(\u2026).await\u0060 (or the runtime\u0027s own timer), which suspends only this task. Where the blocking work is not a sleep but a synchronous call that cannot be made async, move it off the executor with \u0060tokio::task::spawn_blocking(\u2026).await\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/buck2_server/src/daemon/server.rs"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"a700243f0a0a4ce00b609ffa855268b924cc29a0fb8893b7c05fd25448186675"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!outputDirectory.exists() \u0026\u0026 !outputDirectory.mkdirs()\u0060 appears character-identically in 2 files \u2014 prelude/toolchains/android/src/com/facebook/buck/testrunner/BaseRunner.java, prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTestRunner.java. 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":"prelude/toolchains/android/src/com/facebook/buck/testrunner/BaseRunner.java"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"72649dd46514c8d4733ce46bdf1e9011386fba03b23bb7925855f3129cd57124"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!singleResult.isSuccess() \u0026\u0026 \u0022initializationError\u0022.equals(singleResult.testMethodName) \u0026\u0026 \u0022org.junit.runner.manipulation.Filter\u0022.equals(sing\u2026\u0060 appears character-identically in 2 files \u2014 prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java, prelude/toolchains/android/src/com/facebook/buck/testrunner/JupiterRunner.java. 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":"prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0fa46ef934184ea23c1073363099a74281561d139f8d282dc2c481d6e59c14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Modifier.isInterface(klassModifiers) || Modifier.isAbstract(klassModifiers)\u0060 appears character-identically in 2 files \u2014 prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java, prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitSupport.java. 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":"prelude/toolchains/android/src/com/facebook/buck/testrunner/JUnitRunner.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6426a855a01cedd848e76bece7e803c2cec58931eaa6569aa0d0a9621c9ba3d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060end64Pos \u003C= 0 || readInt(buffer, end64Pos) != ZipConstants.ZIP64_LOCSIG\u0060 appears character-identically in 2 files \u2014 prelude/toolchains/android/src/com/facebook/buck/util/zip/AppendableCentralDirectory.java, prelude/toolchains/android/src/com/facebook/buck/util/zip/CentralDirectoryReader.java. 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":"prelude/toolchains/android/src/com/facebook/buck/util/zip/AppendableCentralDirectory.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c901aedf99f3e5328882a997ad46d73af2255ebb367af0629044975f1e9dbd9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isZip64MagicVal(offset) || isZip64MagicVal(size) || isZip64MagicCount(count)\u0060 appears character-identically in 2 files \u2014 prelude/toolchains/android/src/com/facebook/buck/util/zip/AppendableCentralDirectory.java, prelude/toolchains/android/src/com/facebook/buck/util/zip/CentralDirectoryHeader.java. 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":"prelude/toolchains/android/src/com/facebook/buck/util/zip/AppendableCentralDirectory.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2790f956e407638527066091130ad6d82781077674054e261e5497de227d95e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mAndroidDevice != null \u0026\u0026 mAdbUtils != null \u0026\u0026 CrashCapturer.deviceHasCrashLogs(trace)\u0060 appears character-identically in 2 files \u2014 prelude/toolchains/android/src/com/facebook/buck/testrunner/BuckXmlTestRunListener.java, prelude/toolchains/android/src/com/facebook/buck/testrunner/InstrumentationTpxStandardOutputTestListener.java. 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":"prelude/toolchains/android/src/com/facebook/buck/testrunner/BuckXmlTestRunListener.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"92deca15d627a5822112a054919023b8c389620d04f8fea6ad6a6e235dc5bb74"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060matcher.matchesAnyOf(str) || str.isEmpty()\u0060 appears character-identically in 2 files \u2014 prelude/toolchains/android/src/com/facebook/buck/util/Escaper.java, prelude/toolchains/android/src/com/facebook/buck/util/escaper/EscaperUtils.java. 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":"prelude/toolchains/android/src/com/facebook/buck/util/Escaper.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bcc9101a1e97a1553493825d0f9fdcbf2203e8464844fe05598e677c5ba4f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060obj == null || getClass() != obj.getClass()\u0060 appears character-identically in 4 files \u2014 prelude/toolchains/android/src/com/facebook/buck/android/IsolatedApkInfo.java, prelude/toolchains/android/src/com/facebook/buck/android/build_config/BuildConfigFields.java, prelude/toolchains/android/src/com/facebook/buck/installer/InstallId.java, prelude/toolchains/android/src/com/facebook/buck/util/zip/collect/ZipEntrySourceFromZip.java. 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":"prelude/toolchains/android/src/com/facebook/buck/android/IsolatedApkInfo.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f317581b78bbdf24eed37bd6a2769b8aa7233830e896a456001f57114ed86501"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scratchPath == null || scratchPath.isEmpty()\u0060 appears character-identically in 8 files \u2014 prelude/toolchains/android/src/com/facebook/buck/android/aapt/MergeAndroidResourceSourcesExecutableMain.java, prelude/toolchains/android/src/com/facebook/buck/android/apk/ApkBuilderExecutableMain.java, prelude/toolchains/android/src/com/facebook/buck/android/bundle/AndroidBundleApksBuilderExecutableMain.java, prelude/toolchains/android/src/com/facebook/buck/android/bundle/AndroidBundleBuilderExecutableMain.java. 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":"prelude/toolchains/android/src/com/facebook/buck/android/aapt/MergeAndroidResourceSourcesExecutableMain.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e18eefa568a703389aff2d2778f3105199bb0bcc57bc7bc9331ce848fc3d251"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isFinite(eventsPerSec) || eventsPerSec \u003C= 0\u0060 appears character-identically in 2 files \u2014 app/buck2_trailcam/js/src/components/invocation/DecodeStatsPanel.tsx, app/buck2_trailcam/js/src/components/invocation/EventLogViewer.tsx. 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":"app/buck2_trailcam/js/src/components/invocation/DecodeStatsPanel.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d031ed82f0288c8a16deb8a6ed3dd05bdcd3c46f83d8142e8070cfeffbb0db2f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060excludeContaining.length \u003E 1 \u0026\u0026 excludeRegex.test(label)\u0060 appears character-identically in 2 files \u2014 app/buck2_explain/js/src/graph2/GraphImpl2.tsx, app/buck2_explain/output_format_js/src/graph2/GraphImpl2.tsx. 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":"app/buck2_explain/js/src/graph2/GraphImpl2.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bad1a0f4a6d680f5afddcc37ff925e7ed039f85d879aaf56d8e39723a77cea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inner != null \u0026\u0026 typeof inner === \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts, app/buck2_trailcam/js/src/lib/streaming-decode-worker.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":"app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5285c715f6e7e9b28c6b27e6f3cd09412e4864c859597f9979986c86c1228b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060logState.status === \u0027error\u0027 || !treemapData\u0060 appears character-identically in 2 files \u2014 app/buck2_trailcam/js/src/components/invocation/ActionTreemap.tsx, app/buck2_trailcam/js/src/components/invocation/AnalysisTreemap.tsx. 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":"app/buck2_trailcam/js/src/components/invocation/ActionTreemap.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dddce2cd576c877a63ef2944832bf3e2b2fdc1ce87fa46d06d9e7f9a6ed27ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060logState.status === \u0027idle\u0027 || logState.status === \u0027loading\u0027\u0060 appears character-identically in 6 files \u2014 app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx, app/buck2_trailcam/js/src/components/invocation/CriticalPathChart.tsx, app/buck2_trailcam/js/src/components/invocation/CriticalPathView.tsx, app/buck2_trailcam/js/src/components/invocation/EventLogViewer.tsx. 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":"app/buck2_trailcam/js/src/components/invocation/ActionResultsTab.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4cf3a4f0cc3bd285e9f5c849c9f73ab15cb728a339e16b1e729cf78b39d93b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060logState.status === \u0027idle\u0027 || logState.status === \u0027loading\u0027 || lazy.loading\u0060 appears character-identically in 3 files \u2014 app/buck2_trailcam/js/src/components/invocation/ActionTreemap.tsx, app/buck2_trailcam/js/src/components/invocation/AnalysisTreemap.tsx, app/buck2_trailcam/js/src/components/invocation/LoadTreemap.tsx. 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":"app/buck2_trailcam/js/src/components/invocation/ActionTreemap.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e116380b443f2b8440673b7bbf11335a2a381e19bb063fb86cbf3ec960268f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r.status === \u0027FATAL\u0027 || r.status === \u0027TIMEOUT\u0027 || r.status === \u0027INFRA_FAILURE\u0027\u0060 appears character-identically in 2 files \u2014 app/buck2_trailcam/js/src/components/invocation/TestResultsTab.tsx, app/buck2_trailcam/js/src/components/invocation/TestSummaryCard.tsx. 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":"app/buck2_trailcam/js/src/components/invocation/TestResultsTab.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e400ee564ed32fd83e5e8ae988acb7385482dbd1f0c9da125d09f8285fc4ee41"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof obj.package === \u0027string\u0027 || typeof obj.name === \u0027string\u0027\u0060 appears character-identically in 2 files \u2014 app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts, app/buck2_trailcam/js/src/lib/streaming-decode-worker.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":"app/buck2_trailcam/js/src/lib/parallel-decode/decoder-worker.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb871859044512046070fe38d821ef16db4125d690066bd80ea70bab9f3d3860"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!shouldStripAnnotation(it) \u0026\u0026 !hasErrorType(it)\u0060 appears character-identically in 3 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"799e430f2a4764683bcc9587beef2a5392d494a8ae9fe619e33f111039b55512"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(this is IrField || this is IrProperty) \u0026\u0026 (this as IrDeclarationWithName).name == backingFieldName\u0060 appears character-identically in 3 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ab577ebf7e1d723f42cc619fe04484bd28f66f53d5c7d663a93f34eac58dd5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060annotationFqName == \u0022kotlin.jvm.Throws\u0022 || annotationFqName == \u0022kotlin.Throws\u0022\u0060 appears character-identically in 3 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9478408ba65387458949c206b3d489265155ead5d0c22a8d7f0d3b3ee3aad328"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060annotationFqName == \u0022kotlin.jvm.Transient\u0022 || annotationFqName == \u0022kotlin.jvm.Volatile\u0022\u0060 appears character-identically in 3 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5d9ac3095295d490b5a7a514e60bf2b93dde72eccf75f48bf1ac31c0b114e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060arg is IrGetEnumValue \u0026\u0026 arg.symbol.owner.name.asString() == \u0022SOURCE\u0022\u0060 appears character-identically in 3 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4233e45e8807857ed9c8e2f49988ab75573a4efd59207f100cb0c9ccb128f443"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current.visibility == DescriptorVisibilities.PRIVATE \u0026\u0026 !mustKeepPrivateClassNames.contains(current.kotlinFqName.asString())\u0060 appears character-identically in 3 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"61980067e46ac42c4a572090d2bf38fc12a8321b389a20c34e17f428f4765a7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060decl is IrSimpleFunction \u0026\u0026 !decl.isFakeOverride\u0060 appears character-identically in 3 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"8742e70416267a9b75fbdcd29141ec7862b8c1ed2d8e5e61e16a5141d1d92769"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060declaration is IrClass \u0026\u0026 this is IrClass\u0060 appears character-identically in 3 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84cdf032c2ed5e7afabdc4ca956033f7bc7a360043380a6fb5f09dc8e25689e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060declaration.body == null || declaration.origin == IrDeclarationOrigin.FUNCTION_FOR_DEFAULT_PARAMETER\u0060 appears character-identically in 2 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d71a2b8acbb47381072c6f48dfeddad9eb59c3d4e581e033da9cc9d47d39952"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060element is IrClassReference \u0026\u0026 element.classType is IrErrorType\u0060 appears character-identically in 3 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0c012d813d880f0ce0facaf089d450fca690e40f9d50fa5506abc83708d0a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060element is IrExpression \u0026\u0026 containsErrorType(element)\u0060 appears character-identically in 3 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada634e60e812e3392d64bed43d352b232c525f55824275ebdf6176900a2bb9d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060element is IrExpression \u0026\u0026 element.type is IrErrorType\u0060 appears character-identically in 3 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4630fff1b1f6dc4455a43886fc902391cfc90912dc931834a53417a8194213c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060element.resolvedType is ConeErrorType || element.calleeReference is FirErrorNamedReference\u0060 appears character-identically in 2 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/common/InlineBodyKeepability.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/common/InlineBodyKeepability.kt"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"289ca8a329de32c3ba13d0831db9a89f0b1dd36a3cf32aadfb92324bc36bef46"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expression is IrClassReference \u0026\u0026 expression.classType is IrErrorType\u0060 appears character-identically in 3 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fae67c1186e3224583bf892a5675f4080bbdeab45ce2694bc448459db6ee58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060failure is VirtualMachineError || failure is ThreadDeath\u0060 appears character-identically in 2 files \u2014 prelude/toolchains/android/src/com/facebook/buck/android/aapt/ResourceSourceMapExecutableMain.kt, prelude/toolchains/android/src/com/facebook/buck/testrunner/PerTestCoverageExtensionManager.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/android/aapt/ResourceSourceMapExecutableMain.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"010b814ff473d79dec3974e46c31fa99b0368f8a4162913d868e0ab0a2931771"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060irFile.fileEntry.name.contains(\u0022__GENERATED DECLARATIONS__\u0022) || irFile.fileEntry.name.contains(\u0022GENERATED_DECLARATIONS\u0022)\u0060 appears character-identically in 3 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d6adc39cc6226c12f31f6fc8d23dfd683bbbbe76af17e7b60118cd62696a38"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it is IrInstanceInitializerCall || (it is IrDelegatingConstructorCall \u0026\u0026 it.symbol.owner.parentAsClass == parentClass)\u0060 appears character-identically in 2 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"937ffaa161ec027ee3456b8fac796c0266c20e80438c73da6a4d3df0d7eeaa4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.asString() != \u0022equals\u0022 \u0026\u0026 name.asString() != \u0022hashCode\u0022 \u0026\u0026 name.asString() != \u0022toString\u0022\u0060 appears character-identically in 3 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05667b8d1d3af966c52b9b9d454c0ce7e1c6582aaa99180f023c0e1bf52e623"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060overriddenParent != null \u0026\u0026 areMembersAbsentFromAbi(overriddenParent)\u0060 appears character-identically in 3 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"770f5c4e93c9728ab62e076a053c5de626ffd6da9883aca49948332634715a0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ownerClass != null \u0026\u0026 ownerClass.kind == ClassKind.INTERFACE \u0026\u0026 ownerClass.isPrivateOrLocal() \u0026\u0026 mustKeepPrivateClassNames.contains(ownerCla\u2026\u0060 appears character-identically in 3 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e08da2d396a6854d9f83f438ca8b1c37d8d3b43e4897958f540b98f1a64341e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ownerIsPrivateNestedClass || ownerIsKeptPrivateShell\u0060 appears character-identically in 3 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df71a1000dbee21fcea14c21ccfcadcf75313abe9c099e7078f1535a3a9e793"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parentClass.isValue \u0026\u0026 parentClass.primaryConstructor != declaration\u0060 appears character-identically in 2 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74667b532330c04790d7b8ffb117a4d941868497546f9051c18421cdbfa274e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this is IrClass \u0026\u0026 parent !is IrClass \u0026\u0026 (visibility == DescriptorVisibilities.PRIVATE || visibility == DescriptorVisibilities.LOCAL) \u0026\u0026 isM\u2026\u0060 appears character-identically in 2 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"6419c923bbd8698257a1db06b0d3f1cf957316a051f7429d90bb28bd198a73ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this is IrClass \u0026\u0026 parent is IrClass \u0026\u0026 (visibility == DescriptorVisibilities.PRIVATE || visibility == DescriptorVisibilities.LOCAL) \u0026\u0026 inli\u2026\u0060 appears character-identically in 2 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39e6db1a036d6122a16a66b28e082f1743e671a94de147738116f5cbbbfe1ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060visibility == DescriptorVisibilities.PRIVATE || visibility == DescriptorVisibilities.PRIVATE_TO_THIS || visibility == DescriptorVisibilities\u2026\u0060 appears character-identically in 4 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/common/Types.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.2.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.3.0/IrNonAbiStripper.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/compilercompat/2.4.21/IrNonAbiStripper.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/common/Types.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"781735350474508d3c4f324c18e60c743e0772fe8f0bc94b3f08118fbdaba85a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060visibility == Visibilities.Private || visibility == Visibilities.PrivateToThis || visibility == Visibilities.Local\u0060 appears character-identically in 2 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/KosabiClassUsageCollector.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/KosabiClassUsageCollector.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d218877d5c37aa63fbbf9a0417adae2e9952e12fc6e44c60ddc9de24500ed9d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060visibility == Visibilities.Public || visibility == Visibilities.Protected\u0060 appears character-identically in 2 files \u2014 prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt, prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/pipeline/AbiGenPipeline.kt. 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":"prelude/toolchains/android/src/com/facebook/buck/jvm/kotlin/compilerplugins/kosabi/k2-jvm-abi-gen/src/main/kotlin/K2JvmAbiFirAnalysisHandlerExtension.kt"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7a47121f5093fcccd229cb2d89639cef219b8e229382296f7223a5f48b0a70"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022$\u0022 in class_name or \u0022module-info\u0022 in class_name\u0060 appears character-identically in 2 files \u2014 prelude/android/tools/consolidate_class_names.py, prelude/android/tools/duplicate_class_checker.py. 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":"prelude/android/tools/consolidate_class_names.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"54517d12f8e22310698118b1cb858290bd89217a0d0736a6e845c4bf06b08a9f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!artifact_has_content_based_path \u0026\u0026 promise_has_content_based_path\u0060 appears character-identically in 2 files \u2014 app/buck2_anon_target/src/anon_target_attr_resolve.rs, app/buck2_build_api/src/artifact_groups/promise.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":"app/buck2_anon_target/src/anon_target_attr_resolve.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e0313b5750ad2c3fc816ff9237c2888f1b0bd4463318d46e57b6a82878fca3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060artifact_has_content_based_path \u0026\u0026 !promise_has_content_based_path\u0060 appears character-identically in 2 files \u2014 app/buck2_anon_target/src/anon_target_attr_resolve.rs, app/buck2_build_api/src/artifact_groups/promise.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":"app/buck2_anon_target/src/anon_target_attr_resolve.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e68ab1948d67ab97f1da70791db0f949bcd58ec2cb5dc7c8b43bc0a3af4586"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060depth.is_unbounded() \u0026\u0026 filter.is_none()\u0060 appears character-identically in 2 files \u2014 app/buck2_query_impls/src/analysis/environment.rs, app/buck2_query_impls/src/cquery/environment.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":"app/buck2_query_impls/src/analysis/environment.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44d3aa1c092aab3c8c044cec11334431167b82d36360329c7e4ca381c4178a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.is_multiple_of(4096) \u0026\u0026 cancelled()\u0060 appears character-identically in 2 files \u2014 tools/retrace/src/blast.rs, tools/retrace/src/findings.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":"tools/retrace/src/blast.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb13173edd7d05a480fc2f23b734dd651104882869a5f9bb3c221722c12afc5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rc.cache_hit || remote_cache_origin(rc.cache_hit_type)\u0060 appears character-identically in 2 files \u2014 tools/retrace/src/ingest/action_projection.rs, tools/retrace/src/ingest/scan.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":"tools/retrace/src/ingest/action_projection.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c38f27f927068b32557c378181c6f3591de626ab496b5f01bfe7e7fc41ed81"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060res == 0 || e.raw_os_error() == Some(libc::ESRCH)\u0060 appears character-identically in 2 files \u2014 app/buck2_process_kill/src/linux.rs, app/buck2_process_kill/src/unix.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":"app/buck2_process_kill/src/linux.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e093841d34f81912fc13bd10bf94da201cdeedeec1e9fc3cc8c1d67812ccb4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s.starts_with(\u00220b\u0022) || s.starts_with(\u00220B\u0022)\u0060 appears character-identically in 2 files \u2014 starlark-rust/starlark/src/values/types/int/globals.rs, starlark-rust/starlark_syntax/src/lexer.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":"starlark-rust/starlark/src/values/types/int/globals.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e78500e0617a4410773f6a3173725f64a2731698680ac8ac56cbf60d96ea7d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s.starts_with(\u00220o\u0022) || s.starts_with(\u00220O\u0022)\u0060 appears character-identically in 2 files \u2014 starlark-rust/starlark/src/values/types/int/globals.rs, starlark-rust/starlark_syntax/src/lexer.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":"starlark-rust/starlark/src/values/types/int/globals.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c60750ccab17b13832b230a8f6967e471e824113147cea626f66364ca18bfbc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s.starts_with(\u00220x\u0022) || s.starts_with(\u00220X\u0022)\u0060 appears character-identically in 2 files \u2014 starlark-rust/starlark/src/values/types/int/globals.rs, starlark-rust/starlark_syntax/src/lexer.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":"starlark-rust/starlark/src/values/types/int/globals.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e60a3a5b869baa329cba24131ee3c60b62e31c2b2ad5d5156761c72faba602"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.capacity() != 0 \u0026\u0026 mem::size_of::\u003CT\u003E() != 0\u0060 appears character-identically in 2 files \u2014 allocative/allocative/src/impls/slab.rs, allocative/allocative/src/impls/std/unsorted.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":"allocative/allocative/src/impls/slab.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9024f2b92fa14f0ef8b75e3852bc1507473402bd464f2324997b19bb9a49f045"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.fingerprint() == other.fingerprint() \u0026\u0026 self.exhaustiveness_hash() == other.exhaustiveness_hash()\u0060 appears character-identically in 2 files \u2014 app/buck2_directory/src/directory/immutable_directory.rs, app/buck2_directory/src/directory/macros.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":"app/buck2_directory/src/directory/immutable_directory.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd8e42f0710214459ed6c3fec0830bcfddb4cc3ed3b307f6d1405213e748363"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060step.is_multiple_of(4096) \u0026\u0026 cancelled()\u0060 appears character-identically in 2 files \u2014 tools/retrace/src/findings.rs, tools/retrace/src/sim.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":"tools/retrace/src/findings.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"399d4f157f39ed724539297e00b46dbbe22f67b9792392f09ab60726dcd50851"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060visited.is_multiple_of(4096) \u0026\u0026 cancelled()\u0060 appears character-identically in 2 files \u2014 tools/retrace/src/dag.rs, tools/retrace/src/sim.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":"tools/retrace/src/dag.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ea9f312aab2989c86d04ee37768f44daa1f08f14fc084dabff63225221e29a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060x == self.cursor_x \u0026\u0026 y == self.cursor_y\u0060 appears character-identically in 2 files \u2014 games/src/games/life.rs, games/src/games/minesweeper.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":"games/src/games/life.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b58118bc48618014580a24933449d424bdadb37656ea54ce505967c7645d1d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 121 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/codesign_bundle.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13f80f21d949202162f0403a9f12e8bfa50759738233a6068fc410b95021cc2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 127 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/codesign_bundle.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8f746b7cf0d3b057542e77e843474049523d26cef0bdf523f530ae57d986cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 207 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/codesign_bundle.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af921a3f9d03e9982d88b2e3560950983b77d7651207568e749fb0084dcc907"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 233 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/codesign_bundle.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fd3ce780af19522b9aef953b374d4fdda5cf5ab572d1b87828da75b9a557ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 580 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/codesign_bundle.py"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea278ddaf6b6d586805d83b8afba845bca3b437db7233401e7a20e618a66e64"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 744 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/codesign_bundle.py"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1faa140638de46a2203df9cf45cdab3831bb944502e181351a6a38a8fc533dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 836 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/codesign_bundle.py"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b98f189fd597080c756556f8b8829bb533a5ec8c7eda5c0c0c013367c393311"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 59 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/fast_adhoc.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d17ae36d9de33e3aae665a1e04425281b3e1388a2b2064060c6c00ec6e4f950"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 67 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/fast_adhoc.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a5c33c07f33e2aa95c15c4a04e48804f8e828b4562d64fb06ea98a405ae770"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 69 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/fast_adhoc.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf7c6ecb9191b08f93e6c178f480607958a862bd5034fe582699419eda123ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 74 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/fast_adhoc.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"88dbb406d73c874076239723f0ab4fb74b54756032c5d7ece670166ef2342966"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 96 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/fast_adhoc.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3d2883775889bedfbcc1dd8974ea289f247c1c7b19fa694d427eeed2530184"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 129 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/fast_adhoc.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebaf2d559f8439d6d14b9dfc08d723d225950aa6eada9d3631138d859b7d3e92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 179 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/fast_adhoc.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b15322cf1a8e9e6212b8ae7c7ddf7a7bc92c94eca768db74ca8d95aeabfa77a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 216 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/fast_adhoc.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"909971e60d9530e1fd184870297174463ec584cb1161ddd4074d9c8c8ef2d507"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 221 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/fast_adhoc.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ce394b089558c3abd63c591e325e921ccfc584bf8767f0ec76f2f305c37944"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 258 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/provisioning_profile_selection.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"363aa01a784806c351f33152f2ed6ebdf5f71adac8d08bd13cf11b92716b6585"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 339 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/provisioning_profile_selection.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f05a4773a389b01bf724e12861ffef647c475e60bd350051999882b5c6edf4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 385 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/code_signing/provisioning_profile_selection.py"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"6860bf8b3f35f308b4ab2a377d693e15ecaa3029ba495a0bb8fdc5710646d347"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 85 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/bundling/assemble_bundle.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca887fa2e45b598bb0523d8024dac95ef1eebab1c62a296a0495d4afd717ed0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 191 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/bundling/assemble_bundle.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"4308b170732e30a1be7e319c4a4535c6c4001cd6f61ef1af3b3ed96cb34ea836"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 226 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/bundling/assemble_bundle.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b8c807ded8c67539e37330257bf364053c22a2dba5a9218fa148b956cf0325"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 103 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/bundling/incremental_utils.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"391faceb03951d635d4ad2dae136900f334234dc5766af3dd32cdd9084d383cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 594 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/bundling/main.py"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce88a7f829082472d1024ba05aafa715cacdd8b53432092fe0a5044e581a8b0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 596 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/bundling/main.py"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec36adfefc86fbf6e6c883d8c73551e4328986ff430dd7cbdeeddd78c951488"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 46 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prelude/apple/tools/bundling/swift_support.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ccfbf7ca5005b387eb4dc3b266efe026b4e99774472a0198a21d37a055633c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 132 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":"superconsole/src/stdin.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"929770d2f1e4b11e804028d8b0540466a7cf4d9ab7f7b055ae7412c0847ea3ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\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: \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":"superconsole/src/stdin.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b92becc9fcdda9ccd3a3cc2f19aaeb14d5f95df0c782d643be2db74c8705e86"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 420 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":"shed/scribe_client/src/producer.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2246eb1d70c341bd2380d01daf948b8d4eda561ec9b5e7c93c6f20415d49486"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 444 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":"shed/scribe_client/src/producer.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"194b30632fa5f49ebd5d727d777a21534bc3a860a7b9131b4c929557b1269381"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 537 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":"shed/scribe_client/src/producer.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"99855fd148f4ab44da78ade3859799e43a0df030fe791ad2140d0b5bbe9a26a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 691 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":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"7543d9fc56b2578c53c97b1118ef22b9e86d000eeb92cb5277eff1a08c91f228"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\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: \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":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5051edc85eed87301f260063c70ecff62d34e1653be997b9c72dd7a4f60a42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 996 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":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fac8cea43221e651c55966079cdae3850177d6f813a33b4b16950008362c2bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2162 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":"remote_execution/oss/re_grpc/src/client.rs"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47f3808e02cbb65e0f50c59a9f8cb9f27f45b6510133cbde76eb849372a6e27"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 761 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":"integrations/rust-project/src/buck.rs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7dc47d2bc404f0d8f4291a44d2076ee20a8ae0648906168be04dac7c452421"}},{"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":"integrations/rust-project/src/buck.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"90aa4210a3b1dc51d17a3143605075000f56a257de6c920317abeb1845f679d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 961 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":"integrations/rust-project/src/buck.rs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb6001ce1a4220174e342f8b0a0843b3b8d44d8e68189b3b92cbbc1a6f3c399"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1007 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":"integrations/rust-project/src/buck.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"a203db246abdfa944c93ef8bf16c8690be4dbd16b27bcc73a1acc21c4c09b778"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 597 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":"dice/dice/src/storage.rs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"02028d98a1d42b9d64356ab8d0f371fd89b2da0383b304be75f36bc537b613eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 89 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":"app/buck2_util/src/properly_reaped_child.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5306ed768327f3ab3528bc37434e9fc254e30e08f5e844518b84f597c7208a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1384 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":"app/buck2_test/src/command.rs"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"158548df256ad7a340572d67c6e4802eda4c3f064f30a04e00b4229d2fe5dd1a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 246 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":"app/buck2_test/src/executor_launcher.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0418a760e96d70aa3f55f3ddaed4d10adcd27f122ca15724fa0d78fe479e0c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"app/buck2_tenant_proxy/src/events.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bae749b0c5f8480c0e2f6d738691eb1ac5c81b8eb6dccd7fa1e77f88d3064d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 48 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":"app/buck2_server_starlark_debug/src/controller.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0414981352ee3db496a4d36ecbb05cdbecf190e98111908bd028eac9c54269c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 89 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":"app/buck2_server_starlark_debug/src/run.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7baf2e151b65b46c40564531e7906b33f189cb4ec784f452cf4de81cf8d688aa"}},{"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":"app/buck2_server_starlark_debug/src/run.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dd344d1e79056b2e8e697fb0c3768b2a116a257991bff6ffb8ac56356239b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 138 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":"app/buck2_server_starlark_debug/src/run.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"701ac373958e532b2f310d795d54b67b1a8a9bee5081d7c3b382b412ceed1994"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 173 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":"app/buck2_server_starlark_debug/src/server.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b0f46f1ee95cbe37035a6fb4dcef3646421cb60d979c99a1c255ebf716deea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 899 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":"app/buck2_server_starlark_debug/src/server.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"53885c7a02a9a4b906c9610f0b2807779a5f3f1c7f327cda56d627f60edbbf18"}},{"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":"app/buck2_server_starlark_debug/src/server.rs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"305913f1a778fa4fb9e91dcc0d9d89e22f392fe1d1051c32958cd2e20147d0e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 217 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":"app/buck2_server_commands/src/build/result_report.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2aa3447a8aeb7a83ca3e738ed87ae8f110cec6844c0a0d257456199e37af79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"app/buck2_server_commands/src/build/unhashed_outputs.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"487f9d23669f7602906fb4eb3b7d5e98afc44bff7b4b905aba6968e7481d7fbc"}},{"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":"app/buck2_server/src/agent_config_guard.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52db50821e9157fafeb6aa074ab26ca6d524fc782fc2e41816eda0f0350960d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 362 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":"app/buck2_server/src/ctx.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4dcd7bc7cd38fe0b14c61cb0f40dd244f167529b8d5195f53aaadf207ebcf4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 593 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":"app/buck2_server/src/ctx.rs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5f9a80fbd7f5b89a1b55110fdc479c76290a863b89df4ccc7e686b3be90079"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 653 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":"app/buck2_server/src/ctx.rs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a1e87e63dc0bbbb8fcdc4d3b74e564cad410898114715c38efef1ac5a90207"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 506 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":"app/buck2_server/src/paging.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6654539afecf758a3bc9546b7791ff2e5f904ecc79b524cfc4c9b4df0ee33f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 757 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":"app/buck2_server/src/paging.rs"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"f808f9cf937436635542e5cd841cea1c7620db1ae001f3f6cd1cdadba1ea35d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 432 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":"app/buck2_server/src/snapshot.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2293246ef54aac0af3f14b01edec4284a5cd3caee74944c25c91adc2674a94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 90 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":"app/buck2_server/src/daemon/dice.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17230764fb812f20c2fb7ecb2bc4d646be4fa803caa9f1210440ae33adafc61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 126 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":"app/buck2_server/src/daemon/dice.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd58912d2ce424115b0e4d3f5fb02d513c1508b9a5af0809b8e9d518f3425354"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\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: \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":"app/buck2_server/src/daemon/proxies.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"288dc57a48942cf21a8ff84ec556baecb9d203bead78a74637dfb6b55c61c8d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 637 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":"app/buck2_server/src/daemon/server.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c93f0feec8e1f50bc7d24200dd4f5fe4e31f76e35369127936b80bd0b64bd4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 652 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":"app/buck2_server/src/daemon/server.rs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3dd9d866f69d90225fa1962c5b400c2378286d874817db87ef95a0f23b4331d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2102 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":"app/buck2_server/src/daemon/server.rs"},"region":{"startLine":2102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcde7e5f2a2ad02c05191388d6ad648faec9f2c3654a3cf9a04e1eb2c7aac70"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2941 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":"app/buck2_server/src/daemon/server.rs"},"region":{"startLine":2941}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd67cc17719d5f38adb69466e72edf1445130ec13475b201f817e123d8cb90b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1782 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":"app/buck2_server/src/daemon/state.rs"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcd782d916095f3c247b6ed3ce5c32aaae3b7e7da62207774bfff55a46774ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1794 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":"app/buck2_server/src/daemon/state.rs"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9c4b9e109136628b6a05ffeb5119b17d98522a9bba2c95bc2f030f00d0d826"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 386 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":"app/buck2_query_impls/src/dice.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"917764ee43286da3cd7333ed7cfeb526bb838fb8c56388e357dfe15655cf3966"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 44 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":"app/buck2_query_impls/src/aquery/find_matching_action.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"af63d931556e34b5ce256975470033eaa32f867d0e40c9d0ab09d279d9e38978"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 193 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":"app/buck2_query/src/query/traversal.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d702b2ca1016919ce67385151283fb6c21636a6130bea6779f7c961d6b7028"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 217 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":"app/buck2_query/src/query/traversal.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f35e6e56c7285fd6b4effbc7c1bb9d99164d653f76824121f46f6117a6eb60d"}},{"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":"app/buck2_query/src/query/graph/async_bfs.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe1cdd92eec92e0ccef1440351019f32b4140d02ffe40b65bdcf6d5191a8d09"}},{"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":"app/buck2_query/src/query/graph/graph.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacfbeef1894e9825df63121bd2b56bc493adc43574758a059d50b6eda0177b0"}},{"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":"app/buck2_http/src/client.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f5ceca8e13184d5f5968ba489f22931e1d5e8f97d9bcb910a8312917858743"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\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: \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":"app/buck2_http/src/client.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"66edbb7a63e481ac6e2be5f970607ee567574affed4d412dc4c0de84c0fdae1e"}},{"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":"app/buck2_http/src/client.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12ee79f8def5b970128d66283e0960f4abb10c119ad70993873f49d27c5a37c"}},{"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":"app/buck2_http/src/redirect.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"2753296d85d78e4065ed776040dd27fad3ea84114a908ed81c6a13d91bfd36b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 80 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":"app/buck2_http/src/retries.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad46e9027f0835574770ba090e25761eb282cd65019d28e51be09423ac714d6b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 29 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":"app/buck2_http/src/x2p.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c7aecdc27dca4e56093bf70c4788aec7870a1beb7baf71c9d80ccbd34d05cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\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: \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":"app/buck2_http/src/x2p.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa6d2a4028851112950a09fe54b658114fbc0055a3aba62bf6b0b5606ae037a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\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: \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":"app/buck2_health_check/src/health_check_client.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b6eeabb6e9265897f0a7cf5818873b126da03a5ec4ec768add8e5e9d6e0624"}},{"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":"app/buck2_health_check/src/health_check_client.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28bbe7b3fd978641e7b9613acb48c755adfef4ff9ad4c897c58a7a7c4c208cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\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: \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":"app/buck2_health_check/src/health_check_client.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c9ae4390358f77e53660502b99dd2460554e99e8c434845c85fe7dfd393fa1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 195 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":"app/buck2_health_check/src/service/health_check_rpc_client.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f917ac6e46f08ed882d7910e2d25f8caf239fd7911cbce9b6f787e2dc3152bd0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 112 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":"app/buck2_file_watcher/src/notify.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a3554654e0fa0d5b396c6c844b5556245781b49e233ac7fa6f146b69d82ed9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 388 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":"app/buck2_file_watcher/src/watchman/core.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5f03cb41e1620bb9ccbf2f1ae32f521e2bc43322bb04090bc3cdfa61e47117"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"app/buck2_file_watcher/src/watchman/interface.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b06a70458c2c602a1f11029532d9effddedd2b8f0a266a980153e788a6f1162"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 57 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":"app/buck2_execute_local/src/kill_on_drop.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b843c3ac8b4821a9e3854beaa0c7732e2ff6eaf57164252ebc1eed15d6a879"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 104 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":"app/buck2_execute_local/src/kill_on_drop.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2970f44c301a3949fc4df9600478e5c3502f49ad21bad04e464fd6b2123de9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"app/buck2_execute_local/src/kill_on_drop.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e3c202ef58fad2afeb5b58b31a3a644bc7d32164fdbc956fd7b6fa718fc386"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"app/buck2_execute_local/src/lib.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb72233b0b715f20639b578f17385d5b573112e9cb39e69ec61cc98d8d353ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 141 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":"app/buck2_execute_local/src/status_decoder.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d3fc53aff5ac506974a69b941671a58b91fc85f2aca0793a24623223aee813"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 147 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":"app/buck2_execute_impl/src/sqlite/dep_file_state_db.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6c6985b4a353e7b1674f16cb626da753f51cbf53717082936a07573ab0f5df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 152 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":"app/buck2_execute_impl/src/sqlite/dep_file_state_db.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8997fbe732b37694a06918184f6dc7a167bf6f1ef21561c011539e8108024a8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 200 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":"app/buck2_execute_impl/src/sqlite/incremental_state_db.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d31c4759968fac3a340240b290c12dee796765f5823234292200aa310f1afbc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 1154 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":"app/buck2_execute_impl/src/materializers/deferred/command_processor.rs"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a93a483753dd5ceb5c237fa4bcd7d3120fcc9afd598083c16f2df7cc8770a30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 1161 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":"app/buck2_execute_impl/src/materializers/deferred/command_processor.rs"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7976540f92c77d4101f52c127f53740586bf9e459e62da00afbe8a5c7f455cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 743 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":"app/buck2_execute_impl/src/materializers/deferred/io_handler.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f805e982927c03923d6d3fe307c3ba945accfcce3effd3680324ff5fd96c97"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 777 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":"app/buck2_execute_impl/src/materializers/deferred/io_handler.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54a039a8d217a8102d6e9de0b096d28ebf57ac9d874c1cacad64cdd37e837ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 822 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":"app/buck2_execute_impl/src/materializers/deferred/io_handler.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"90558831cba8c0c61f494b9faf9f3fa05f72bcb4a94000bea7fc05e313648b36"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 229 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":"app/buck2_execute_impl/src/executors/action_cache.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc8335caeb22b003ee4690761a315680fbd4610ad5e4158fc8958b7ed5890d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 236 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":"app/buck2_execute_impl/src/executors/action_cache.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f693d3ca31639df20f32ab806f7992b74b053eebc481b90b78822d13fc2a5d67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 576 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":"app/buck2_execute_impl/src/executors/caching.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb384568b6347ddade89116ccfa3f49918b74d38a8ec73dff20a11278e7bd54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 587 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":"app/buck2_execute_impl/src/executors/caching.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"504c9aa65fa233333867189df043617e8f53a90c994349aa92c97028dd42183b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 641 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":"app/buck2_execute_impl/src/executors/caching.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d270bd29f07d1674eeffe81488059634bddcfaae037b19a7f5ecc173035074"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 648 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":"app/buck2_execute_impl/src/executors/caching.rs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c6c8d21f2f5b20f9f24c55c436bf66dfc98e37f023eb3f17f95138de3509dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 655 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":"app/buck2_execute_impl/src/executors/caching.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7b7b9290195e85522c2b53fb8469d49e17f4205a7f0d80bf5f99697e212b66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 662 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":"app/buck2_execute_impl/src/executors/caching.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e11129e7c00265460b470c6a8cd721e3931043ce48f8326496e30a33458ecc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"app/buck2_execute_impl/src/executors/local.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c790c47260bf22372f47f52b8af9bbf3106a3ea9ac6011d1afc65fda2b20b54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 177 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":"app/buck2_execute_impl/src/executors/re.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9de0b0e31fa4c320f1eb325881ec896debb2714538dedfbcdd668638abe1ed4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 263 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":"app/buck2_execute_impl/src/executors/worker.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"067403a000d21f6758c8b0a87c528a45142c86e0fdefcdfff95f700f317bb744"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 355 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":"app/buck2_execute_impl/src/executors/worker.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef2ef7dcec549713ed7276da438d83ac4a7b2e25dab1e1519644cf0a3845c0c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 770 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":"app/buck2_execute_impl/src/executors/worker.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31564714cf487f5f95859aec6a50edc50d61b964c63d12184399adcf397cc2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 856 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":"app/buck2_execute_impl/src/executors/worker.rs"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"0365bf2047ebe4a4010217d28a40702b14468d0ee98919b52c8c6c050e3abeb2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 898 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":"app/buck2_execute_impl/src/executors/worker.rs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd6a38342145cdd6c3685cb87d0522eaadf3d7f64c0485886426de54e8d1340"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 187 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":"app/buck2_execute/src/artifact_utils.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a95dfb5a4ba3f7376bfb0e00e6f5faa5be0516f1ef75d596352c2278dbebb4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 298 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":"app/buck2_execute/src/blob_store.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d07342076151f2dfa04e66d4e641606aa423e0c3ef653d20a86561294f42702"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 364 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":"app/buck2_execute/src/blob_store.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ddbdc41c58f55afddb2aad4a972fe033ccbc47f42e6ba140ba3c8dd9ba68b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 753 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":"app/buck2_execute/src/directory.rs"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"0877eff7972946d54b517a69ed6bbb3abed98f07ff1b1d19811cdb70f15c3bf4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 767 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":"app/buck2_execute/src/directory.rs"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dd483a4bf5792902cf9e19be9265294a1c39273a1a97aa776d616f93461b00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 786 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":"app/buck2_execute/src/directory.rs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"255c4754f1a881c0a3a8c1d4e6caf1be1bd6414ede42e58fe125e0d98f0ede27"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 843 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":"app/buck2_execute/src/directory.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"6725a5b2d1ffc64ce720c906894b60858f00f8dc6d1b6fef30c4293cb5f173fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 276 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":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"067169530398ec9de7f5e38acce91a3a6266a839eb8ac6425bce34ee610767ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1476 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":"app/buck2_execute/src/re/client.rs"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"06647c013c30cc82faee3b7c52223b35ce577dc338375a841f17ddd2d3ad77f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\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: \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":"app/buck2_execute/src/re/uploader.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dc1b733908e66e4e3a4d95ea237fdf3f50f163031feb382ee65cf7cbdcf9f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 214 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":"app/buck2_execute/src/execute/cache_uploader.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df4d51df0b27e414c58f0c2e60ffa985c42f83e69ae29bff95cba7afc063a94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 219 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":"app/buck2_execute/src/execute/cache_uploader.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fc06bb7757efa3edbda907d4d96494186f119b9e51fefe1b9ca12e1cd8d740"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 229 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":"app/buck2_execute/src/execute/cache_uploader.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"986ad51c1fe38fe7c5c0ca6a8837306db6050dbfbba75398a943d953876949e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"app/buck2_execute/src/execute/cache_uploader.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e175c70809737a540572d88339922af7fcb86896de9e2bf6e0c8ed4b44d45cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 407 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":"app/buck2_event_log/src/read.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"f536221ec2cb43c8ef9e84edcd9fa750198cd1677974c18b07638130225a3eab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 46 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":"app/buck2_env/src/env/helper.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb368e0228af274c28409e5ec1005b145633f7ddafc4cd59eb85db1a686b6df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 372 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":"app/buck2_eden/src/connection.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"0931d8de25ae2e2586dba5d55cb6633146f6ee0c853da605ae7c44c45e97b41a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"app/buck2_eden/src/connection.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48ee16af61c2c6210235f912cab2dc156cca0253009e04509138a10e89a410e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 444 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":"app/buck2_eden/src/connection.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"a377307afd5261c78a5ccc46995ac0759274c466e27b8bc4748448d72e60ff7b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\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: \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":"app/buck2_eden/src/io_provider.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"077980ba4d8dba22b227b0bde4c8babd50aed04bdafddb238b2037c5d05a7f3a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 220 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":"app/buck2_eden/src/io_provider.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bde9591758fa03aae4ef8b17aa24bf9e23e87c9db3bd74f21d5bdab7fb2b1a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 287 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":"app/buck2_eden/src/io_provider.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c346fbeef753db69aef9fce01d6ad3d436bd917f068623d7fcd3b1f292d68f91"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 301 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":"app/buck2_eden/src/io_provider.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f0177d67f46908f8a2fd63076984f18c8e90ecf0f670daf198e96d6e24cdfd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 323 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":"app/buck2_eden/src/io_provider.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"11eb0d98604e042e9d7fbd01c08e85aec7af206fd9695d0ca1c62d44d5e323ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 341 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":"app/buck2_eden/src/io_provider.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db9656dcb452daffe963858e77143f7559482be09e8abf95c2448cd2558185b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\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: \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":"app/buck2_eden/src/io_provider.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"564a12f956c44340f5e47522f145314069e932b5e7b9d5f991aa2d2b8f67fa20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 412 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":"app/buck2_eden/src/io_provider.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9da18d913b83dc536ecd5342b855daf7625a3774eb9fb10781c2a3b94418ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\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: \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":"app/buck2_eden/src/io_provider.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9a5f2991cfb6f5b6a6fdf0a4e025e23175140532a6da774a44a8dd3fcea125"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 469 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":"app/buck2_eden/src/io_provider.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd59d72baa841d9047e71602549b59d2125218c8e637f6417f4308bdfd6a705"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\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: \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":"app/buck2_eden/src/tenting.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b4c52da276842e30680a62717a8ffa47946d256914b5cceaa9cb3522250174"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 160 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":"app/buck2_daemon/src/daemon.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acb3cfe736245dc0bed7cb3eb70c124c1215fd360184287f31ba8f3c9baddc3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 270 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":"app/buck2_daemon/src/daemon.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8de50b08730fe0748495302fb40d5b62d6b9ff1ca9f23e19a6640117a323c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"app/buck2_daemon/src/daemon.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cccbd38b3bf95ab7c8d49afe804812aafae48f0db72b68af01d57a776e4959"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 428 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":"app/buck2_daemon/src/daemon.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"029f845b1da3d2947569ff34805577dc74d3471e99c544b5ef589643046de08c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"app/buck2_daemon/src/daemon.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"24704f519c6596f93c8776e0ce620bfbae2321f5277fe5ca4d6f4e7d69059f4e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"app/buck2_daemon/src/daemon.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a020fdec2a735ef74f912ecff5e9b6010e763ad7c9574096302452ba2ac534"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"app/buck2_daemon/src/daemon.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb316cdd49daee1870c42580bd6bde753cbaab54cb4b276a912e7052da81252a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 564 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":"app/buck2_daemon/src/daemon.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c992e4e757017681ce184f61309c4109f6e97018ba665713fbc1d6094d6fb9c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 56 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":"app/buck2_core/src/logging.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"57607e00edd12543e85a23287b2de780576bb40bb0b15b524422f9b7b2f37d58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 680 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":"app/buck2_concurrency/src/lib.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"477d463ef40febe05da2a8e9d97e0cd393535db9254d69442e1e03092fffccb4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2249 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":"app/buck2_concurrency/src/lib.rs"},"region":{"startLine":2249}}}],"partialFingerprints":{"codehealthFindingId/v1":"c923276f222bddf4311ae5ef7140e1359e309f822c8eb274f782f2b7130c407e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"app/buck2_common/src/kill_util.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd2331b2c55f328c82c991b82e0b4f1f0c24e0b63c3953f4c474222e6d315cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 134 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":"app/buck2_common/src/io/fs.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa3aff446655d3f4aacf35658547b39842288063e3be28f3216accbe613d907"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"app/buck2_cmd_rage_client/src/materializer.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6029a1345b1b0c97945445bfc09014a1e2a9f8b1bb27f0c7d381dd96b04a4f35"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"app/buck2_cmd_rage_client/src/materializer.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebac95f465d573a05c4a0d9524a25557092327faf4f4bac71c075598830ec6c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 123 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":"app/buck2_cmd_rage_client/src/materializer.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f9b380bcdb7eb5a7fe18e1e3a0c1c761c75a84bc8e358f3d4095f33ad5362c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 323 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":"app/buck2_client_ctx/src/events_ctx.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26be3f3946ff21bb07f1c8428dbd603d164f2204b238155ce9840c9234daf8f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 740 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":"app/buck2_client_ctx/src/events_ctx.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"223457ee23f1ce9b0345691c3d03251f8bd2a3c14bb33e012feb9f801f461d3a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 365 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":"app/buck2_client_ctx/src/exit_result.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f84dc08f8d9e44e78dacb057e40712bed6742ac5d593630b14dbfe6c5a3eb6b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 91 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":"app/buck2_client_ctx/src/subscribers/build_graph_stats.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3b80f6b92930b1c6c131dcc2c9098c941dde56dfe6ffc1bea5488800059a29"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"app/buck2_client_ctx/src/subscribers/build_graph_stats.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7591623cec20ac1a6b7e7adb62c8de2806cf97f62af0956f59dc277430be349d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 140 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":"app/buck2_client_ctx/src/subscribers/oom.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f98106ce2ea66e46ea8f622ce86441e22ebfe968621cd73cd410e9e19ba177"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\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: \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":"app/buck2_client_ctx/src/subscribers/oom.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c597b07adc39c9e871581681e958eaf148331f95a99c2a79f3b7d924e8f271b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2922 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":"app/buck2_client_ctx/src/subscribers/recorder.rs"},"region":{"startLine":2922}}}],"partialFingerprints":{"codehealthFindingId/v1":"34adc11b3bc21edf756d3ed4b28f4c4b70d3614908356de6af483a6a5d0b5e2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2925 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":"app/buck2_client_ctx/src/subscribers/recorder.rs"},"region":{"startLine":2925}}}],"partialFingerprints":{"codehealthFindingId/v1":"75effcf4c0867321d7d5c9c6135b3f5506945d8afb2144d21b3bd1fb24749db4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1036 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":"app/buck2_client_ctx/src/daemon/client/connect.rs"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"5902e9ae75ac4d3597098c2307a70c75779ba0104d4017a9321047b770172389"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1606 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":"app/buck2_client_ctx/src/daemon/client/connect.rs"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac797bf3685f5da8802e1ead4264e0fa092a577013148c9997b72a058bbf0ac5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1689 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":"app/buck2_client_ctx/src/daemon/client/connect.rs"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"d521c742a1d6b14c1d0a19e03ba86f9b7647c877da4c43b5e84e299fac2c4451"}},{"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":"app/buck2_client_ctx/src/daemon/client/kill.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2fcd63871f73f14393ef71043dd576b8d4f157d1d4e4d43a11186183b175a9"}},{"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":"app/buck2_client_ctx/src/daemon/client/kill.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29acb20da87823c875b78ca3062b209f4e1062c701b8a4b8a40072ace08c5b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 100 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":"app/buck2_client_ctx/src/daemon/client/kill.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1945c7f16ca18ee0652798c02e5d06902e64480803c46e9d807316fad2d9946"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\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: \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":"app/buck2_client_ctx/src/daemon/client/kill.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0667bb64315363a1b7675f608f16310a007e571b1ed8706754652a5a39225e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\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: \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":"app/buck2_client_ctx/src/daemon/client/kill.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b7146a3b4b190a125cae22e5bd7e3c5a24c3b5c48b507a42064aab2eaaf81d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 225 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":"app/buck2_client_ctx/src/daemon/client/kill.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c8219efbe6a670100320f084ca9aee8ef4af2d351e3cbc3ca7ceaca12e7af2"}},{"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":"app/buck2_client_ctx/src/daemon/client/namespaces.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a90183acf426287fdb2b7d19ada40a73a6d4c9d3bc4839ef0757de9cffb6ec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 67 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":"app/buck2_client_ctx/src/daemon/client/tenant_slot.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"413894f5b847c5c3a0ba4c1fa759e8512d5796f13ca7d2aef03a3d7a462969af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 194 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":"app/buck2_client_ctx/src/daemon/client/kill/unidaemon.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"27065edd2018881fd779e593e14269a5bd6922e05f21cd6199fc01ad18cff675"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 51 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":"app/buck2_client_ctx/src/daemon/client/connect/linux_unsandbox.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78e517f4ca5d6788b55d9c4479f09025c3194ce78503c7f103644590c60d24d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 468 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":"app/buck2_client/src/commands/clean.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd25ef0c0e57e9395d218cac78ac49ba8a21a5892e7aaef4eac25e1c2d689a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 113 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":"app/buck2_client/src/commands/killall.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"612e54cc1f3944d743f80dc205f288467b202708e3c5f2f9428b4d3428e53360"}},{"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":"app/buck2_certs/src/certs.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1af9c7c39a08c7f4bc83345abcae657f7e28c1ff37327d3c2bc1e641b8a6610"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 122 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":"app/buck2_certs/src/certs.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a41adb8b3983dd349ad76709372fa7cd9a418d2b60c36dd59a6021f2273ea0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 304 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":"app/buck2_build_signals_impl/src/backend/longest_path_graph.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"788cc67027b3c7c444bb04fc1c1d6296304e221af0c1c4700f716a18704c322a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 756 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":"app/buck2_build_api/src/build.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea706d95e3c8a0278bf1beb898bbaf5daa66bf63358c381ad811d40a9fd3f49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 487 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":"app/buck2_action_impl/src/actions/impls/download_file.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"5121518f52ee561cf01e8cfb42ea4e66eae4e4bbcb07fa622cade99174f4163e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1219 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":"app/buck2_action_impl/src/actions/impls/run.rs"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"18197c7fb88da43cf4a6f0b6ab094f7e825f3fe9cd761281652af3ad2d19179b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 295 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":"app/buck2_action_impl/src/actions/impls/run/dep_files.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"03968cb4d350235f97f4ee4074a9cf5a814744776b4b0fdfc41ec4814f4049e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 300 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":"app/buck2_action_impl/src/actions/impls/run/dep_files.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"e870e900e2dc61b78cba122a0602b58fcdf46ab9ac145eed85f837b85ff068a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 305 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":"app/buck2_action_impl/src/actions/impls/run/dep_files.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"032d0c20cfad5d794a853a4d28f28bc2e3d387c61e092b164abebe9428ad3a42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 1614 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":"app/buck2_action_impl/src/actions/impls/run/dep_files.rs"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"125cbe95112bfb9452106cf7b1ceaa0a6252dbb350457833f63242907ed732d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 1623 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":"app/buck2_action_impl/src/actions/impls/run/dep_files.rs"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb99fbd7fd81961b1431de034999c1a7c4062fa2600641191b4fd233896e91d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 1632 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":"app/buck2_action_impl/src/actions/impls/run/dep_files.rs"},"region":{"startLine":1632}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cea576d1d3fcf94f4e09ecd85a9f541617a07b2a9ae27dbe01ece6f20bc788"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2183 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":"app/buck2_action_impl/src/actions/impls/run/dep_files.rs"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3abcf637cc030312b584dc55144f020444c1944cbe010a2bfbf3ae6b535d1b"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/82 of this repository\u0027s Java package directories are under a non-null default: a \u0060package-info.java\u0060 declaring \u0060@NullMarked\u0060 (JSpecify) or \u0060@NonNullApi\u0060, \u0060@ParametersAreNonnullByDefault\u0060, \u0060@NonNullByDefault\u0060, \u0060@DefaultQualifier(NonNull.class)\u0060; a \u0060module-info.java\u0060 declaring \u0060@NullMarked\u0060; every type in it \u0060@NullMarked\u0060; or a build that runs NullAway with the package in \u0060AnnotatedPackages\u0060, or the Checker Framework\u0027s \u0060NullnessChecker\u0060. Elsewhere every reference admits null and no checker warns on the dereference that throws a \u0060NullPointerException\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"419201f6fc7ba243aef2cfb154378641588a8190e6269cea04a7b48c3d343bd5"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.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-252","guid":"78915dc5-e486-f858-bc3c-aa570ad9010d","name":"Unchecked Return Value","shortDescription":{"text":"Unchecked Return Value"},"helpUri":"https://cwe.mitre.org/data/definitions/252.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-276","guid":"4e27da05-61af-1d5c-aeb5-9f56b6ede3e3","name":"Incorrect Default Permissions","shortDescription":{"text":"Incorrect Default Permissions"},"helpUri":"https://cwe.mitre.org/data/definitions/276.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.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-391","guid":"d9ef5687-8d79-9b51-b509-b83411fbcdc3","name":"Unchecked Error Condition","shortDescription":{"text":"Unchecked Error Condition"},"helpUri":"https://cwe.mitre.org/data/definitions/391.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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"Improper Restriction of XML External Entity Reference","shortDescription":{"text":"Improper Restriction of XML External Entity Reference"},"helpUri":"https://cwe.mitre.org/data/definitions/611.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":"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-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"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":108,"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."]}]}