{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"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":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"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":"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":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"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":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"PinCollisionLayoutSolver.solve (cyclomatic 65): PinCollisionLayoutSolver.solve has cyclomatic complexity 65 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdbb7aaebeb1d86dd5abe72b6b20c5ff57576c9f9739aca52eaacbe5563f445"}},{"ruleId":"D1","level":"warning","message":{"text":"LineFeatureReader.read (cyclomatic 58): LineFeatureReader.read has cyclomatic complexity 58 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Parse/Roads/LineFeatureReader.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fa5736d5725d4969689780b53c508eae7011027d9f8d5fd5c8863de9974559"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelTileContents.init (cyclomatic 52): ModelTileContents.init has cyclomatic complexity 52 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 2 belong to one function item 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":"Sources/ModelTileFormat/ModelTileContents.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19afa0a3b09a2c622df8c4653b91c5e01eac66010b3b56a36aa7ec66cb9c739"}},{"ruleId":"D1","level":"warning","message":{"text":"TilePlacementPlanner.buildPlacements (cyclomatic 42): TilePlacementPlanner.buildPlacements has cyclomatic complexity 42 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 12 belong to 5 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":"Sources/ImmersiveMap/Tile/Placement/TilePlacementPlanner.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff756bdd110f679d27c3fd6e76fb0ee6b439034ec2af09182910109ee012fd5"}},{"ruleId":"D1","level":"warning","message":{"text":"PinCollisionLayoutSolver.resolveDisplayedOverlaps (cyclomatic 41): PinCollisionLayoutSolver.resolveDisplayedOverlaps has cyclomatic complexity 41 (threshold 15). Of this number, 32 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":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"906328c55808a754a39b2b9263bc6bf50fdca853d6df7d77b70b0d5c0c0e50ea"}},{"ruleId":"D1","level":"warning","message":{"text":"EarcutCore.findHoleBridge (cyclomatic 40): EarcutCore.findHoleBridge 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":"Sources/Earcut/EarcutHoles.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"430c21eee0e2aca52cf4e2f2c827f048921b3c2ad86ca72595b13428ff1b359c"}},{"ruleId":"D1","level":"warning","message":{"text":"MonotoneTriangulator.triangulate (cyclomatic 35): MonotoneTriangulator.triangulate has cyclomatic complexity 35 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 4 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":"Sources/TileFlattening/MonotoneTriangulator.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2008307a2cb2f3fcf45158e3162325ee8b616b93364a6c42172cbd421b3d48"}},{"ruleId":"D1","level":"warning","message":{"text":"Sweep.connectComponents (cyclomatic 35): Sweep.connectComponents 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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c55d7df3d472f7fad2f477d6e16a48c6fca1f1547b35ef0d09b6231a749464"}},{"ruleId":"D1","level":"warning","message":{"text":"RoadLabelPlacer.place (cyclomatic 32): RoadLabelPlacer.place 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":"Sources/ImmersiveMap/Labels/Road/RoadLabelPlacer.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a259274c70a504959123d5bc0c9931dca4118e93550f598f539b12fe9a86744f"}},{"ruleId":"D1","level":"warning","message":{"text":"ImmersiveMapSettingsApplicationPlanner.makePlan (cyclomatic 31): ImmersiveMapSettingsApplicationPlanner.makePlan has cyclomatic complexity 31 (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":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettingsApplicationPlanner.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d532def3831c474be6eb31b76e645df4f27e15559994ba9cd68bec06025722"}},{"ruleId":"D1","level":"warning","message":{"text":"Flattener.bin (cyclomatic 31): Flattener.bin has cyclomatic complexity 31 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 12 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":"Sources/TileFlattening/Flattener.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd055cae673bb0d8a091b1eb89b36a3e69268dd3fe1b1adf12666a4bd23ee32"}},{"ruleId":"D1","level":"warning","message":{"text":"LayerSelectionSnapshot.hitTest (cyclomatic 28): LayerSelectionSnapshot.hitTest 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":"Sources/ImmersiveMap/Layers/Selection/LayerSelectionSnapshot.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"2552653f284fa1eb57e06cb5b36e21daace5b185742023446656095ccbf7ccd1"}},{"ruleId":"D1","level":"warning","message":{"text":"FlatMapSurfaceDrawer.draw (cyclomatic 28): FlatMapSurfaceDrawer.draw 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. This shape REPEATS in the file: one other method here (FlatMapSurfaceDrawer.draw::selectPipeline) 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":"Sources/ImmersiveMap/Tile/Drawers/FlatMapSurfaceDrawer.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36e882aa674ce5c25b56f2b8ec8be28c536fd71f830c74b0e63f41a7308525a"}},{"ruleId":"D1","level":"warning","message":{"text":"RoadStreetStitcher.stitch (cyclomatic 28): RoadStreetStitcher.stitch has cyclomatic complexity 28 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Parse/Roads/RoadStreetStitcher.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1917c65d3ca109f152ede4bb27d95c437be113e58e77f3389c5bcd41969015d8"}},{"ruleId":"D1","level":"warning","message":{"text":"Sweep.connect (cyclomatic 28): Sweep.connect 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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eecb61554505b6e57f241535bbd92a36985c3e07d320e9da85a05a864fe24de"}},{"ruleId":"D1","level":"warning","message":{"text":"LabelWorkingSetChange.seeded (cyclomatic 27): LabelWorkingSetChange.seeded has cyclomatic complexity 27 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 5 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":"Sources/ImmersiveMap/Labels/Common/LabelBlockMove.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d281fa9352b354c5bb2426a8b934be431ae1711c351cc3c5afe823e7daf9236"}},{"ruleId":"D1","level":"warning","message":{"text":"TileMvtParser.readPolygons (cyclomatic 27): TileMvtParser.readPolygons 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":"Sources/ImmersiveMap/Tile/Parse/TileMvtParser.swift"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d425a33ccd01edd444f928c19bbd535baabac3e431f83ee780c0ef3d05754fd"}},{"ruleId":"D1","level":"warning","message":{"text":"TreeScatter.scatter (cyclomatic 27): TreeScatter.scatter 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":"Sources/ImmersiveMap/Tile/Parse/Trees/TreeScatter.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59db2c64ab483282a69d3b5db7662d932679beacc048359cf8a52c58f098e98"}},{"ruleId":"D1","level":"warning","message":{"text":"ImmersiveMapDebugOverlayRuntime.init (cyclomatic 27): ImmersiveMapDebugOverlayRuntime.init has cyclomatic complexity 27 (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":"Sources/ImmersiveMapDebug/Panel/ImmersiveMapDebugOverlayRuntime.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d913b498d13644ad2152ff82a2c03f05d6fe20c14cec489ff9db1064a637397"}},{"ruleId":"D1","level":"warning","message":{"text":"TileWorkingSetSubsystem.update (cyclomatic 26): TileWorkingSetSubsystem.update 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":"Sources/ImmersiveMap/Tile/Subsystems/TileWorkingSetSubsystem.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5214c9a30ac46ce4bd9d9b5bf1902dd95d4d23164f61eee37d7393c9d097572"}},{"ruleId":"D1","level":"warning","message":{"text":"LayerRenderSubsystem.encode (cyclomatic 24): LayerRenderSubsystem.encode 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":"Sources/ImmersiveMap/Layers/LayerRenderSubsystem.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b620c84fd3154672a4a621fa3bec7a20d8f1b4b3a7d090d2a2a3bba776cfd80c"}},{"ruleId":"D1","level":"warning","message":{"text":"GlobeTileCoverage.visit (cyclomatic 24): GlobeTileCoverage.visit 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":"Sources/ImmersiveMap/Tile/Visibility/GlobeTileCoverage.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46a41813438b83bcfda57350aa8981d9d2fcd72d4f50bb15790ce73b3f5a19e"}},{"ruleId":"D1","level":"warning","message":{"text":"Sweep.run (cyclomatic 24): Sweep.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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"43357b56710c6bbc456c128df461fd293a5f6ec1147a574ae07d84c464dd27ef"}},{"ruleId":"D1","level":"warning","message":{"text":"EarcutCore.isEarHashed (cyclomatic 23): EarcutCore.isEarHashed has cyclomatic complexity 23 (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":"Sources/Earcut/EarcutEarClipping.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"859898f6276433321fa78b8f78edad0bab5d166fad5c23f4a52593b6303110b0"}},{"ruleId":"D1","level":"warning","message":{"text":"PreparedTileDiskCodec.decode (cyclomatic 23): PreparedTileDiskCodec.decode has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Loading/PreparedTileDiskCodec.swift"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb276f56f723fe7caa16cf2905deca3feadbaf1dbc8ac261a886fe57992c0163"}},{"ruleId":"D1","level":"warning","message":{"text":"TextRenderer.wrappedLines (cyclomatic 22): TextRenderer.wrappedLines 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":"Sources/ImmersiveMap/Text/TextRenderer.swift"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"341da8c9cd3d28e119755d4304c013f8d81b128a4154a2ddbcea7d9471e3f0e7"}},{"ruleId":"D1","level":"warning","message":{"text":"LayerMeshFile.decode (cyclomatic 22): LayerMeshFile.decode 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":"Sources/ImmersiveMap/Layers/Cache/LayerMeshFile.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7311b53187c8216392df3dac6b110238e8d53272429fc04fc281a84822c5c857"}},{"ruleId":"D1","level":"warning","message":{"text":"DebugOverlayRenderer.appendProjectedTileTexts (cyclomatic 22): DebugOverlayRenderer.appendProjectedTileTexts 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":"Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b11f2220f228e54a294b5b744d5c6e56d3f581d0fe32220ce03a3701d48e9a"}},{"ruleId":"D1","level":"warning","message":{"text":"TileUnificationStage.unify (cyclomatic 22): TileUnificationStage.unify 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":"Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f79f836a1b08dfb2f426247f3df32a50ea5d9674c15e07e3c2afca1cf0a907"}},{"ruleId":"D1","level":"warning","message":{"text":"TreeModelContents.read (cyclomatic 22): TreeModelContents.read 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":"Sources/ImmersiveMap/Tile/Trees/TreeModel.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd498a96bf79fc00c69af7c8ef1cd14a8e25d28f59adb9c44683b16bd7284a5"}},{"ruleId":"D1","level":"warning","message":{"text":"FlattenInput.addLine (cyclomatic 22): FlattenInput.addLine 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":"Sources/TileFlattening/Stroker.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b530606978d3cb5512d51e6498a997fd24f2af24de9dde9b4834e541e00f4bdc"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseLabelPrepareSubsystem.update (cyclomatic 21): BaseLabelPrepareSubsystem.update 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":"Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadce86f6e9a320576d74b988559cdf39df7dcd2f422fa416cfef001d711e7f5"}},{"ruleId":"D1","level":"warning","message":{"text":"ProtomapsBasemapDefaultMapStyle.landuseStyle (cyclomatic 21): ProtomapsBasemapDefaultMapStyle.landuseStyle 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":"Sources/ImmersiveMap/Style/Default/ProtomapsBasemapDefaultMapStyle\u002BGround.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e9b36c28356b8e3fd5825013730864c96be5e1b3192e84e9795abdb626a438"}},{"ruleId":"D1","level":"warning","message":{"text":"ProtomapsBasemapDefaultMapStyle.roadsStyle (cyclomatic 21): ProtomapsBasemapDefaultMapStyle.roadsStyle 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":"Sources/ImmersiveMap/Style/Default/ProtomapsBasemapDefaultMapStyle\u002BRoads.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"be714ed3235563188b9d825f58c3f765e1d8215c1b525d62c681c7f67d3af802"}},{"ruleId":"D1","level":"warning","message":{"text":"RoadDashPattern.dashedFragments (cyclomatic 21): RoadDashPattern.dashedFragments has cyclomatic complexity 21 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 6 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":"Sources/ImmersiveMap/Tile/Parse/Roads/RoadDashPattern.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad4a08f999954d5cb614f54720be076194447c36a631c5d4f7e3a56945ecbcd"}},{"ruleId":"D1","level":"warning","message":{"text":"MvtValue.metresValue (cyclomatic 21): MvtValue.metresValue 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":"Sources/ImmersiveMap/Schema/MvtValue\u002BReading.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa553420f244c732075a7414212a03504056d1cdfbfade21d911bf7c13536f9"}},{"ruleId":"D1","level":"warning","message":{"text":"Sweep.orderActiveEdges (cyclomatic 21): Sweep.orderActiveEdges 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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5143b3e0d0a6703b624da76e009410b0cd3d42d8ea9e40be4dc1ee0b2455f10"}},{"ruleId":"D1","level":"warning","message":{"text":"Sweep.mergeComponent (cyclomatic 21): Sweep.mergeComponent 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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"226a1d964b6e027379bc1f71fcdc5419d2fbc053babae37a5829e354227c9fb3"}},{"ruleId":"D1","level":"warning","message":{"text":"HorizonFrameResolver.resolve (cyclomatic 20): HorizonFrameResolver.resolve 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":"Sources/ImmersiveMap/Horizon/HorizonFrameResolver.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"054f16c6a8e10dd5614fc021c363f68d9ac6491458847d1fc572d753bc1c7d0e"}},{"ruleId":"D1","level":"warning","message":{"text":"LayerMesh.load (cyclomatic 20): LayerMesh.load 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":"Sources/ImmersiveMap/Layers/LayerMeshStore.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"106ee2b767d368eeb80ef883749f88797668badd0290dc51310dcf4d1792be3f"}},{"ruleId":"D1","level":"warning","message":{"text":"LabelCollisionSolver.solve (cyclomatic 20): LabelCollisionSolver.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":"Sources/ImmersiveMap/Labels/Collisions/LabelCollisionSolver.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7d1a1fc433e9e8f19e9a3f9a8f244a1b2bbed8ef4b11759bbb736f1ea66a2d"}},{"ruleId":"D1","level":"warning","message":{"text":"RoadLabelCache.makeTileRecord (cyclomatic 20): RoadLabelCache.makeTileRecord 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":"Sources/ImmersiveMap/Labels/Road/RoadLabelCache.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"391460d7efce5249b70f6291c8024c7a1ae004181866a6f67b5d9f1fbcb3cd36"}},{"ruleId":"D1","level":"warning","message":{"text":"SceneModelPresentationEntry.update (cyclomatic 20): SceneModelPresentationEntry.update 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":"Sources/ImmersiveMap/SceneModels/Presentation/SceneModelPresentationStateStore.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"9159534e909bc9ccb517d522f06ce87e794fc6453216cdb0e27af14907c83df6"}},{"ruleId":"D1","level":"warning","message":{"text":"GroundReliefEdgeWeld.writes (cyclomatic 20): GroundReliefEdgeWeld.writes has cyclomatic complexity 20 (threshold 15). Of this number, 15 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":"Sources/ImmersiveMap/Tile/Relief/Store/GroundReliefEdgeWeld.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b1bdb8fb334be15d2c0cc716a8127b909db1c67f668d2fa79929dd47c691da"}},{"ruleId":"D1","level":"warning","message":{"text":"ImmersiveMapSettings.pinSettings (cyclomatic 19): ImmersiveMapSettings.pinSettings has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift"},"region":{"startLine":3174}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cf5248d860ca7176e5a7a3c60450087c816d9948fafc1b024c2b627875b2d8"}},{"ruleId":"D1","level":"warning","message":{"text":"LayerMeshBuilder.build (cyclomatic 19): LayerMeshBuilder.build 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Layers/LayerMeshBuilder.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"28321abd9673fbb484849469c4660f4c6fee5e9d1cecf169b57e81150fbebeac"}},{"ruleId":"D1","level":"warning","message":{"text":"PinCollisionLayoutSolver.connectedGroups (cyclomatic 19): PinCollisionLayoutSolver.connectedGroups 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":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce32e77f026173a5dc5992be9fcc981d7e38a19cd0b5405f0728cc284b5bdd59"}},{"ruleId":"D1","level":"warning","message":{"text":"PinCollisionLayoutSolver.relax (cyclomatic 19): PinCollisionLayoutSolver.relax 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":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"96dfa320703f5a6d9b930f76dff1cfdfb60a2f6ce3c37fe5fd083333f0b99937"}},{"ruleId":"D1","level":"warning","message":{"text":"MapGestureController.handleTilt (cyclomatic 19): MapGestureController.handleTilt 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":"Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa78e97749c7401b87274df7c7ada6fabdb6256eb05db9affef10053b2c48e2f"}},{"ruleId":"D1","level":"warning","message":{"text":"MvtGeometryDecoder.decodePolygons (cyclomatic 19): MvtGeometryDecoder.decodePolygons 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":"Sources/Mvt/MvtGeometryDecoder.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e16b6024152763e84eee708ab030753953ecf482e0af54d6ae0d0077c03f69"}},{"ruleId":"D1","level":"warning","message":{"text":"Sweep.splitComponent (cyclomatic 19): Sweep.splitComponent 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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3e1e49524385a4614fbe00ed3155667ea68fc34d525ea8df6b3f7b0f52d48c"}},{"ruleId":"D1","level":"warning","message":{"text":"EarcutCore.intersects (cyclomatic 18): EarcutCore.intersects has cyclomatic complexity 18 (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":"Sources/Earcut/EarcutGeometry.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2847c6bb0fab36671f82329d8c06096ea345f6cc813d0b31fe4db05f3edf175"}},{"ruleId":"D1","level":"warning","message":{"text":"PinVisibilityFadeStateStore.resolve (cyclomatic 18): PinVisibilityFadeStateStore.resolve 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":"Sources/ImmersiveMap/Pins/Presentation/PinVisibilityFadeStateStore.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bc2a3ba567dfbed65939aad1a4142eb0d76fb481c49341765bb6e9a66eb192"}},{"ruleId":"D1","level":"warning","message":{"text":"GroundGeometrySubdivider.subdivide (cyclomatic 18): GroundGeometrySubdivider.subdivide has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 belong to 3 function items 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":"Sources/ImmersiveMap/Tile/Parse/GroundGeometrySubdivider.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8745367817ed8d11e8b84965238bf1f09fc2037eff68e279fb94008474131320"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildingExtrusionMeshBuilder.buildRounded (cyclomatic 18): BuildingExtrusionMeshBuilder.buildRounded 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":"Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingRoundedExtrusion.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"002d202649c1324c33f8666fddcbb9e2eac51ed8a10556f68b072923a8526267"}},{"ruleId":"D1","level":"warning","message":{"text":"Flattener.flatten (cyclomatic 18): Flattener.flatten 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":"Sources/TileFlattening/Flattener.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"47eb082f830d3ca9a90606866691bafdd0b0777a8d846c5042155db7136d6b2c"}},{"ruleId":"D1","level":"warning","message":{"text":"ShadowFrameStateResolver.resolveInputs (cyclomatic 17): ShadowFrameStateResolver.resolveInputs 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":"Sources/ImmersiveMap/Shadows/ShadowFrameStateResolver.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4ce35aad32a0e5fb2be07b551a3a8f82e18680eddbe8aeb6c2443bb8e88772"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseLabelPrepareSubsystem.buildRoadLabelState (cyclomatic 17): BaseLabelPrepareSubsystem.buildRoadLabelState 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":"Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"854f6eac03723c9523f7160c60b1399d4803d7eada3863a583d725084f3da3f7"}},{"ruleId":"D1","level":"warning","message":{"text":"PinCollisionLayoutSolver.splitSprawlingComponents (cyclomatic 17): PinCollisionLayoutSolver.splitSprawlingComponents 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":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"12752545a01967473e8c5bc2d31ff8d98843522278e5b107325331f00e938567"}},{"ruleId":"D1","level":"warning","message":{"text":"FlatMapSurfaceDrawer.draw::selectPipeline (cyclomatic 17): FlatMapSurfaceDrawer.draw::selectPipeline has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (FlatMapSurfaceDrawer.draw) 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":"Sources/ImmersiveMap/Tile/Drawers/FlatMapSurfaceDrawer.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa30e442d77b622a203cf33f2afcd5e3c01b155ed6e8b6c7c89cf581e887512f"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseLine.parse (cyclomatic 17): ParseLine.parse has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Parse/ParseLine.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"8051429d882ff823dbf0a526238e0ea210ed4d4d771cedb46d30e2bd56af6b22"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildingExtrusionMeshBuilder.build (cyclomatic 17): BuildingExtrusionMeshBuilder.build has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 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":"Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionMeshBuilder.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a4335be34bd1c0ad77d785a9c72705d89605ae0ffc002f56b4bed9822ddb2c"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildingFootprintSignature.sanitizeRing (cyclomatic 17): BuildingFootprintSignature.sanitizeRing 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":"Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingFootprintSignature.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27e8efc24090f81124ccca5824e509dd2a409f78e4bbadba91ede16cbe89434"}},{"ruleId":"D1","level":"warning","message":{"text":"GroundReliefOcclusion.compute (cyclomatic 17): GroundReliefOcclusion.compute 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":"Sources/ImmersiveMap/Tile/Relief/Store/GroundReliefOcclusion.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"547f8ed7435206df1a83f17e54f55aa1f6cba868db503188fbcfc870e8498b64"}},{"ruleId":"D1","level":"warning","message":{"text":"Sweep.classify (cyclomatic 17): Sweep.classify 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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cea3aea65714bdf161f733e3049f48a61f7e4d7ab5ea0031084448caa2e2104"}},{"ruleId":"D1","level":"warning","message":{"text":"GlobeVectorSurfaceDrawer.draw (cyclomatic 16): GlobeVectorSurfaceDrawer.draw 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":"Sources/ImmersiveMap/Globe/Drawers/GlobeVectorSurfaceDrawer.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85915db9c50dcd92c201817cf33e9bcff79c2c2dabde741b7ad9dbdfb58964b"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelTileRenderSubsystem.update (cyclomatic 16): ModelTileRenderSubsystem.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":"Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileRenderSubsystem.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df05f200e8ff01a8440bed512e71f408500ab4ac91c22982df051ef923132b5"}},{"ruleId":"D1","level":"warning","message":{"text":"PreparedTileDiskEnvelope.decode (cyclomatic 16): PreparedTileDiskEnvelope.decode 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":"Sources/ImmersiveMap/Tile/Loading/PreparedTileDiskCodec.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2861a47de8e4e076daac3690d24daefd8159b0fceff670bb0cbe83a9ee57147b"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseLine.appendRoundJoins (cyclomatic 16): ParseLine.appendRoundJoins 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":"Sources/ImmersiveMap/Tile/Parse/ParseLine.swift"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e59b4d47d9938be71e72b49bc5fa47d9102a581001f1d909228e3b0cd20e5c"}},{"ruleId":"D1","level":"warning","message":{"text":"TileMvtParser.readingStage (cyclomatic 16): TileMvtParser.readingStage 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":"Sources/ImmersiveMap/Tile/Parse/TileMvtParser.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f3105c0f1e60b8538430474121a678226aabda4064495d07297902355ac7bc"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildingCoveragePlanner.plan (cyclomatic 16): BuildingCoveragePlanner.plan 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":"Sources/ImmersiveMap/Tile/Placement/BuildingCoveragePlanner.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd39e18e9e4deb82016dd296615a9931742ab3120280d503d514d5ca7827414"}},{"ruleId":"D1","level":"warning","message":{"text":"RasterTileRenderSubsystem.update (cyclomatic 16): RasterTileRenderSubsystem.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":"Sources/ImmersiveMap/Tile/Raster/RasterTileRenderSubsystem.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9ce481e6243d6db710cfc7ccae51c1cbb821cb6933ac48178281cb56d657dd"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildingExtrusionResolver.isCovered (cyclomatic 16): BuildingExtrusionResolver.isCovered 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":"Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionResolver.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f26d949728f7d6f813eef5d7d5680346a534fcb80af50f1335af915f01c1a48"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildingExtrusionResolver.clampEnvelopes (cyclomatic 16): BuildingExtrusionResolver.clampEnvelopes 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":"Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionResolver.swift"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"3411962ee7b1a337b33293f45ae457db9c3469db41eb79e477e6a0531937eb3d"}},{"ruleId":"D2","level":"warning","message":{"text":"LineFeatureReader.read (cognitive 122): LineFeatureReader.read has cognitive complexity 122 (threshold 15). Drivers by points: if/else 15 (46 pts), boolean chains 32, loops 8 (29 pts), ternaries 5 (15 pts) (nesting depth added 62). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Parse/Roads/LineFeatureReader.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce52fa76ee7394873d08723989921377d5317f75df20839ba5c1b5581b66625d"}},{"ruleId":"D2","level":"warning","message":{"text":"PinCollisionLayoutSolver.solve (cognitive 121): PinCollisionLayoutSolver.solve has cognitive complexity 121 (threshold 15). Drivers by points: if/else 26 (55 pts), loops 25 (43 pts), boolean chains 12, ternaries 3 (11 pts) (nesting depth added 55). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f068cf26ba8ced8f1376cfab432119347d2f2c3d16bdc1c3dfd79ce20775372f"}},{"ruleId":"D2","level":"warning","message":{"text":"Flattener.bin (cognitive 87): Flattener.bin has cognitive complexity 87 (threshold 15). Drivers by points: if/else 15 (51 pts), loops 7 (16 pts), ternaries 5 (15 pts), boolean chains 5 (nesting depth added 55). Of this number, 75 points are the body\u0027s own statements and 12 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":"Sources/TileFlattening/Flattener.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c194363a5203b4155c8c7d74cfacf4a12e00ce407b776695a4339220ca2f778f"}},{"ruleId":"D2","level":"warning","message":{"text":"RoadLabelPlacer.place (cognitive 84): RoadLabelPlacer.place has cognitive complexity 84 (threshold 15). Drivers by points: if/else 17 (52 pts), loops 6 (18 pts), boolean chains 8, ternaries 2 (6 pts) (nesting depth added 51). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Labels/Road/RoadLabelPlacer.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f249300beaf444f5efb5d5bd2c8c0b9b4b0f521129cdc7e7ba68eeff5b0532"}},{"ruleId":"D2","level":"warning","message":{"text":"Sweep.connectComponents (cognitive 73): Sweep.connectComponents has cognitive complexity 73 (threshold 15). Drivers by points: if/else 15 (36 pts), loops 12 (27 pts), boolean chains 6, match/switch 2 (4 pts) (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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"7961e8a26465d07e2fb003ded7fbf3af4d909e502533aa01f8a5e97b45d55af3"}},{"ruleId":"D2","level":"warning","message":{"text":"EarcutCore.findHoleBridge (cognitive 71): EarcutCore.findHoleBridge has cognitive complexity 71 (threshold 15). Drivers by points: if/else 11 (32 pts), boolean chains 21, ternaries 3 (12 pts), loops 4 (6 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":"Sources/Earcut/EarcutHoles.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f6b65301c97a20a29b1444bd54ce0109048215405b27d6046ba6112e3be867"}},{"ruleId":"D2","level":"warning","message":{"text":"TilePlacementPlanner.buildPlacements (cognitive 66): TilePlacementPlanner.buildPlacements has cognitive complexity 66 (threshold 15). Drivers by points: if/else 17 (34 pts), loops 9 (15 pts), boolean chains 13, ternaries 2 (4 pts) (nesting depth added 25). Of this number, 54 points are the body\u0027s own statements and 12 belong to 5 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":"Sources/ImmersiveMap/Tile/Placement/TilePlacementPlanner.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd0adea5026b9408a45ad7ca93a6e645795b03a4593741f742e1c6b94b9a35a"}},{"ruleId":"D2","level":"warning","message":{"text":"PinCollisionLayoutSolver.resolveDisplayedOverlaps (cognitive 65): PinCollisionLayoutSolver.resolveDisplayedOverlaps has cognitive complexity 65 (threshold 15). Drivers by points: if/else 15 (28 pts), loops 14 (21 pts), ternaries 5 (9 pts), boolean chains 7 (nesting depth added 24). Of this number, 54 points are the body\u0027s own statements and 11 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":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"539b756aea0740d040626fcb0e0a0aaf55b36255de2ab8f1671418e5b6a6b832"}},{"ruleId":"D2","level":"warning","message":{"text":"MonotoneTriangulator.triangulate (cognitive 63): MonotoneTriangulator.triangulate has cognitive complexity 63 (threshold 15). Drivers by points: if/else 20 (31 pts), loops 11 (20 pts), boolean chains 7, ternaries 1 (5 pts) (nesting depth added 24). Of this number, 57 points are the body\u0027s own statements and 6 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":"Sources/TileFlattening/MonotoneTriangulator.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"57193a03f33e6c13a478198d1f1936263e7ede54e74f6cda56bc9c296311f7ff"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerRenderSubsystem.encode (cognitive 60): LayerRenderSubsystem.encode has cognitive complexity 60 (threshold 15). Drivers by points: loops 8 (27 pts), ternaries 5 (16 pts), if/else 6 (14 pts), boolean chains 2, match/switch 1 (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":"Sources/ImmersiveMap/Layers/LayerRenderSubsystem.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"492c2b94f55eda28b65090d72fc36d2dd9530d437f01702a7600acb00ee91c57"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelTileContents.init (cognitive 57): ModelTileContents.init has cognitive complexity 57 (threshold 15). Drivers by points: boolean chains 34, if/else 15 (21 pts), loops 2 (nesting depth added 6). Of this number, 55 points are the body\u0027s own statements and 2 belong to one function item 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":"Sources/ModelTileFormat/ModelTileContents.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae093164ca5d5f3467e6a56dad043bfd3b8d50dc45c2996c91a39c038b082819"}},{"ruleId":"D2","level":"warning","message":{"text":"TileUnificationStage.unify (cognitive 55): TileUnificationStage.unify has cognitive complexity 55 (threshold 15). Drivers by points: loops 8 (26 pts), if/else 10 (25 pts), boolean chains 2, ternaries 2 (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":"Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"089a07f572550c1b54649f8aedd83331b7a582ee55de06acf6768ff64a208d01"}},{"ruleId":"D2","level":"warning","message":{"text":"TileMvtParser.readPolygons (cognitive 52): TileMvtParser.readPolygons has cognitive complexity 52 (threshold 15). Drivers by points: if/else 13 (39 pts), loops 3 (7 pts), boolean chains 5, match/switch 1 (nesting depth added 30). 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":"Sources/ImmersiveMap/Tile/Parse/TileMvtParser.swift"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"a645fc9804f22837c47e5ee8f9016ffe76de220521527990e0c7c17287b24ac3"}},{"ruleId":"D2","level":"warning","message":{"text":"Sweep.connect (cognitive 52): Sweep.connect has cognitive complexity 52 (threshold 15). Drivers by points: if/else 21 (38 pts), loops 5 (9 pts), boolean chains 3, ternaries 1 (2 pts) (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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2b953f85d7da99d122493415477719eabd68fe2815446c802657098caf5cb0"}},{"ruleId":"D2","level":"warning","message":{"text":"LabelWorkingSetChange.seeded (cognitive 50): LabelWorkingSetChange.seeded has cognitive complexity 50 (threshold 15). Drivers by points: if/else 13 (28 pts), loops 9 (17 pts), boolean chains 3, ternaries 2 (nesting depth added 23). Of this number, 43 points are the body\u0027s own statements and 7 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":"Sources/ImmersiveMap/Labels/Common/LabelBlockMove.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4645eb7602e32e4817828cda854c6972090ec10615926a9748d22da6250e0a"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeScatter.scatter (cognitive 49): TreeScatter.scatter has cognitive complexity 49 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 6 (14 pts), boolean chains 13 (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":"Sources/ImmersiveMap/Tile/Parse/Trees/TreeScatter.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"da49d58fc67842cc5b4f8989d991fd09e8df25cd14645138f552153e7b501598"}},{"ruleId":"D2","level":"warning","message":{"text":"TextRenderer.wrappedLines (cognitive 46): TextRenderer.wrappedLines has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (34 pts), ternaries 2 (5 pts), boolean chains 4, match/switch 1 (2 pts), loops 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":"Sources/ImmersiveMap/Text/TextRenderer.swift"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c4fe4d9440be2d17167ab6b3c67fb4bbc3ed685a4b7755bec19b43bd16d16f"}},{"ruleId":"D2","level":"warning","message":{"text":"FlattenInput.addLine (cognitive 46): FlattenInput.addLine has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (27 pts), ternaries 3 (9 pts), loops 5 (8 pts), boolean chains 2 (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":"Sources/TileFlattening/Stroker.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"75eddcdd37a82bd780a8c1758079c7ff0461df5da87db47abd5697e7f6a4e007"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLabelFadeState.advance (cognitive 44): BaseLabelFadeState.advance has cognitive complexity 44 (threshold 15). Drivers by points: if/else 9 (24 pts), ternaries 3 (15 pts), loops 2 (3 pts), boolean chains 2 (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":"Sources/ImmersiveMap/Labels/Base/BaseLabelFadeState.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dea20dbf936a3ec4584b52220c7879dc95b00695ae1c1de5617c6371b9fccb7"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerSelectionSnapshot.hitTest (cognitive 43): LayerSelectionSnapshot.hitTest has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 9, loops 4 (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":"Sources/ImmersiveMap/Layers/Selection/LayerSelectionSnapshot.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d18af73a835d352cbb96052e9bd4f09464bd36bb86f85bcd2c2b63a7df72795"}},{"ruleId":"D2","level":"warning","message":{"text":"Sweep.run (cognitive 43): Sweep.run has cognitive complexity 43 (threshold 15). Drivers by points: if/else 8 (24 pts), loops 8 (12 pts), boolean chains 7 (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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84d8b88d47a66d13130a260456b0e01a77141c8fb9af2a662c49fe2239c7dfb"}},{"ruleId":"D2","level":"warning","message":{"text":"LabelCollisionSolver.solve (cognitive 41): LabelCollisionSolver.solve has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (30 pts), boolean chains 7, 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":"Sources/ImmersiveMap/Labels/Collisions/LabelCollisionSolver.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"26350abb679e402307a16d92a6180ff3132c24f04cc35a97f73a7c0dfe5c8b23"}},{"ruleId":"D2","level":"warning","message":{"text":"PinCollisionLayoutSolver.splitSprawlingComponents (cognitive 41): PinCollisionLayoutSolver.splitSprawlingComponents has cognitive complexity 41 (threshold 15). Drivers by points: loops 10 (26 pts), if/else 5 (13 pts), ternaries 1 (2 pts) (nesting depth added 25). 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":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fe1cd82b25064314d25077c3480bee4613622c8090dbde2f034e7cf91279f2"}},{"ruleId":"D2","level":"warning","message":{"text":"FlatMapSurfaceDrawer.draw (cognitive 40): FlatMapSurfaceDrawer.draw has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (29 pts), boolean chains 14, loops 8 (9 pts), ternaries 5 (9 pts), match/switch 3 (7 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. This shape REPEATS in the file: one other method here (FlatMapSurfaceDrawer.draw::selectPipeline) 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":"Sources/ImmersiveMap/Tile/Drawers/FlatMapSurfaceDrawer.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21ac0936aeb023a6a092dbce7fce0cc36f0cd6f3112362808e9314d60e28130"}},{"ruleId":"D2","level":"warning","message":{"text":"Sweep.orderActiveEdges (cognitive 40): Sweep.orderActiveEdges has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 5 (10 pts), boolean chains 6 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12a2c9731981745382c566e4f10ccdd39cd4dbb5802620c211ca2e4fe4cf5cd"}},{"ruleId":"D2","level":"warning","message":{"text":"PinCollisionLayoutSolver.relax (cognitive 39): PinCollisionLayoutSolver.relax has cognitive complexity 39 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 10 (16 pts), ternaries 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":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22c63e783f7f7368d3069bb8bc036f535e84ab131b1af52d8e1e4b09a928fe3"}},{"ruleId":"D2","level":"warning","message":{"text":"RoadStreetStitcher.stitch (cognitive 39): RoadStreetStitcher.stitch has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 9 (12 pts), boolean chains 6, ternaries 1 (nesting depth added 12). Of this number, 32 points are the body\u0027s own statements and 7 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":"Sources/ImmersiveMap/Tile/Parse/Roads/RoadStreetStitcher.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"832c455bcef5e483422a0584e6549537f9d2aa120ac57f5e8f961ead7d692a56"}},{"ruleId":"D2","level":"warning","message":{"text":"PinCollisionLayoutSolver.connectedGroups (cognitive 36): PinCollisionLayoutSolver.connectedGroups has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 8 (14 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":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cd959b96fd984d7b64931d22dbdaf54f0a1d37835dadc168160d19c1af624c"}},{"ruleId":"D2","level":"warning","message":{"text":"RoadDashPattern.dashedFragments (cognitive 35): RoadDashPattern.dashedFragments has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 6, ternaries 3 (6 pts), loops 2 (3 pts) (nesting depth added 15). Of this number, 29 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Parse/Roads/RoadDashPattern.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c474a773d9a3bd3918f3dc3d5a5907ab158f1709a978c92f9b313b01880134f3"}},{"ruleId":"D2","level":"warning","message":{"text":"ImmersiveMapSettingsApplicationPlanner.makePlan (cognitive 34): ImmersiveMapSettingsApplicationPlanner.makePlan has cognitive complexity 34 (threshold 15). Drivers by points: if/else 24 (26 pts), boolean chains 8 (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":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettingsApplicationPlanner.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc78e42d295c12f04c74d02274e846f7a4433e64fc153b1e23b2e60281e40ce9"}},{"ruleId":"D2","level":"warning","message":{"text":"GlobeTileCoverage.visit (cognitive 33): GlobeTileCoverage.visit has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 5, loops 2 (3 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":"Sources/ImmersiveMap/Tile/Visibility/GlobeTileCoverage.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4954ba92cca5963f7577bb2eb75d7d2137713b50962007ad4f04273740a77b"}},{"ruleId":"D2","level":"warning","message":{"text":"MvtGeometryDecoder.decodePolygons (cognitive 33): MvtGeometryDecoder.decodePolygons has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 5, loops 2 (3 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":"Sources/Mvt/MvtGeometryDecoder.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6559949f8eb41a895b6d728ba3b4687a63f0908a316cbc56cee04c094a30fb1"}},{"ruleId":"D2","level":"warning","message":{"text":"TileMvtParser.readingStage (cognitive 32): TileMvtParser.readingStage has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 4 (6 pts), ternaries 1 (2 pts), boolean chains 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":"Sources/ImmersiveMap/Tile/Parse/TileMvtParser.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec657e7fcccc3240c5e2f75255701f4557f2b021a2c801f461de3eee1393f939"}},{"ruleId":"D2","level":"warning","message":{"text":"Sweep.splitComponent (cognitive 32): Sweep.splitComponent has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (18 pts), ternaries 4 (10 pts), boolean chains 3, 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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b91f4d3a30b4c77ea2e5be2a588cad646c7c41d9ed20fd74e7143a62363adf8"}},{"ruleId":"D2","level":"warning","message":{"text":"PinCollisionLayoutSolver.absorbPinsIntoFlowers (cognitive 31): PinCollisionLayoutSolver.absorbPinsIntoFlowers has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 3 (6 pts), boolean chains 3 (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":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb491e1711c0d4343644018ae82811acdcca825a526fdb6b0b3034d3d9f21b6a"}},{"ruleId":"D2","level":"warning","message":{"text":"TileRoadLabelsBuilder.build (cognitive 31): TileRoadLabelsBuilder.build has cognitive complexity 31 (threshold 15). Drivers by points: loops 7 (22 pts), if/else 4 (8 pts), boolean chains 1 (nesting depth added 19). 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":"Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d32153e892aace6e4579fc32c5b11e65c9f697641949ef858e55a185973855"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseLine.appendRoundJoins (cognitive 31): ParseLine.appendRoundJoins has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 6 (15 pts), loops 4 (8 pts), if/else 4 (7 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Parse/ParseLine.swift"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"912530abac2d765e7b65aba8a44a38f0bae42bda325e00e7633dcca1c7246698"}},{"ruleId":"D2","level":"warning","message":{"text":"GroundReliefOcclusion.compute (cognitive 31): GroundReliefOcclusion.compute has cognitive complexity 31 (threshold 15). Drivers by points: loops 6 (13 pts), if/else 4 (12 pts), boolean chains 6 (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":"Sources/ImmersiveMap/Tile/Relief/Store/GroundReliefOcclusion.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"518bf989cef0c6b4ed7cbeacd3b0670530bd6ebcd52308287e9e3b92e07aa89f"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerMeshFile.decode (cognitive 30): LayerMeshFile.decode has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 10, loops 5 (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":"Sources/ImmersiveMap/Layers/Cache/LayerMeshFile.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6caa9cb944637459665eea934b15e0e815bdd38fb359a97fe5478580a0bce9b5"}},{"ruleId":"D2","level":"warning","message":{"text":"DebugOverlayRenderer.appendProjectedTileTexts (cognitive 30): DebugOverlayRenderer.appendProjectedTileTexts has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 7 (12 pts), boolean chains 6 (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":"Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"52793d080a44231864f586b1b46ee240dc30becb1acf0deb8aaad5cbde95ed9a"}},{"ruleId":"D2","level":"warning","message":{"text":"TileWorkingSetSubsystem.update (cognitive 30): TileWorkingSetSubsystem.update has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 14, if/else 7 (10 pts), ternaries 5 (6 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":"Sources/ImmersiveMap/Tile/Subsystems/TileWorkingSetSubsystem.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"342e20cbb649a9525edd94062bda24473770e47091ab5e2361992d3a65ea82b2"}},{"ruleId":"D2","level":"warning","message":{"text":"ImmersiveMapNeedsTile.runDiskStage (cognitive 29): ImmersiveMapNeedsTile.runDiskStage has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (20 pts), ternaries 1 (6 pts), boolean chains 3 (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":"Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46e4b372b30e5446968f600da140c19b9939308da5a10156fe13c128b34dfb8"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildingCoveragePlanner.plan (cognitive 29): BuildingCoveragePlanner.plan has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 4 (7 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":"Sources/ImmersiveMap/Tile/Placement/BuildingCoveragePlanner.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe2abc3d1463ebe58d11ab350a1ac047feda5f1a44fd2bd5a3f9f674f5fbcfb"}},{"ruleId":"D2","level":"warning","message":{"text":"Sweep.mergeComponent (cognitive 29): Sweep.mergeComponent has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 5 (6 pts), boolean chains 5, ternaries 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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e85c8691d5861105595ba632d7d62fe59ecb7e3adf89a56ed8e4ad62cbadd9"}},{"ruleId":"D2","level":"warning","message":{"text":"EarcutCore.indexSegment (cognitive 28): EarcutCore.indexSegment has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (24 pts), loops 2 (3 pts), boolean chains 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":"Sources/Earcut/EarcutHoleBridgeIndex.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d597fcaf6aaebad317f880446fd8884d17b719a73120b7284172779feba3acf"}},{"ruleId":"D2","level":"warning","message":{"text":"TileRoadLabelsBuilder.chooseTailContinuation (cognitive 28): TileRoadLabelsBuilder.chooseTailContinuation has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (19 pts), ternaries 2 (8 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. This shape REPEATS in the file: one other method here (TileRoadLabelsBuilder.chooseHeadContinuation) 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":"Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"126607b3d6c1d946caf2f9b75c4d0fbb4e0104b5cabf546bfe25a7cddf520dc1"}},{"ruleId":"D2","level":"warning","message":{"text":"TileRoadLabelsBuilder.chooseHeadContinuation (cognitive 28): TileRoadLabelsBuilder.chooseHeadContinuation has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (19 pts), ternaries 2 (8 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. This shape REPEATS in the file: one other method here (TileRoadLabelsBuilder.chooseTailContinuation) 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":"Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8995ea1c62f7f74bbd709613382e41ebcdaa1c9911649f66dc7590534180940"}},{"ruleId":"D2","level":"warning","message":{"text":"ImmersiveMapNeedsTile.processDownloadResult (cognitive 28): ImmersiveMapNeedsTile.processDownloadResult has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 1, match/switch 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":"Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fcd7c87e42e65c8d63c148e21302de44cf0228e8278f57364da5b10daeea84"}},{"ruleId":"D2","level":"warning","message":{"text":"RasterTileRenderSubsystem.encodeFlat (cognitive 28): RasterTileRenderSubsystem.encodeFlat has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 4 (13 pts), if/else 4 (11 pts), loops 2 (3 pts), boolean chains 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":"Sources/ImmersiveMap/Tile/Raster/RasterTileRenderSubsystem.swift"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceeac5b23010121c150ad72e4c388e120061800c29253b15ae950dd560394854"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildingExtrusionMeshBuilder.buildRounded (cognitive 28): BuildingExtrusionMeshBuilder.buildRounded has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 7 (9 pts), boolean chains 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":"Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingRoundedExtrusion.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4d81d0c8f7417ee63a4b4b62bb20cd7e2cb96e9765b1403df4a48880ad6277"}},{"ruleId":"D2","level":"warning","message":{"text":"GroundReliefEdgeWeld.writes (cognitive 28): GroundReliefEdgeWeld.writes has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 5, loops 3 (5 pts), ternaries 1 (nesting depth added 9). Of this number, 23 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Relief/Store/GroundReliefEdgeWeld.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea0aed200d4bf0561fa531539a3807ffeb2b2a650f3432eca61ebad5d79f591"}},{"ruleId":"D2","level":"warning","message":{"text":"ImmersiveMapDebugOverlayRuntime.init (cognitive 28): ImmersiveMapDebugOverlayRuntime.init has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17, boolean chains 11. 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":"Sources/ImmersiveMapDebug/Panel/ImmersiveMapDebugOverlayRuntime.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc862340f35cda07da5399c9c1945e583b3aa66ef9c0ea5f8cb80e6876fd6874"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerMeshBuilder.build (cognitive 27): LayerMeshBuilder.build has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 6 (8 pts), boolean chains 4 (nesting depth added 9). Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Layers/LayerMeshBuilder.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d14b3e22fdf3d92067284b031fb6b616fc63bca66fc3bef657a27d3396079d4"}},{"ruleId":"D2","level":"warning","message":{"text":"RoadLabelCache.makeTileRecord (cognitive 27): RoadLabelCache.makeTileRecord has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (10 pts), loops 4 (7 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Labels/Road/RoadLabelCache.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e57dc84a714cde356acad6793dbe75712986339dc27c5c0d9b13c200f3335f3"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelTileRenderSubsystem.wantedTiles (cognitive 27): ModelTileRenderSubsystem.wantedTiles has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 4 (7 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileRenderSubsystem.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83d45029efa8d0f155849ed0649b58edc7a68612b63ade79ac4c3b4853b25ec"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseLine.appendSegments (cognitive 27): ParseLine.appendSegments has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 4 (8 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":"Sources/ImmersiveMap/Tile/Parse/ParseLine.swift"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e904b6c787b2d8ff8e5e0fbec9c12001b14fef03455b1b67d00927c4fce913a"}},{"ruleId":"D2","level":"warning","message":{"text":"RasterTileRenderSubsystem.update (cognitive 27): RasterTileRenderSubsystem.update has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 5, loops 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":"Sources/ImmersiveMap/Tile/Raster/RasterTileRenderSubsystem.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"61112773201c2a5974826a2e3fd7fb51245883c2bf12fbf50d6f0e3cff59715d"}},{"ruleId":"D2","level":"warning","message":{"text":"Flattener.flatten (cognitive 27): Flattener.flatten has cognitive complexity 27 (threshold 15). Drivers by points: loops 8 (11 pts), if/else 4 (9 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/TileFlattening/Flattener.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18712e259de4ca233418c0aa2d67cceb4178df2a69350864dc4d84ffdee46d6"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerMesh.load (cognitive 26): LayerMesh.load has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 9, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Layers/LayerMeshStore.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff76e01bba3b553e578a053863e2eddb8f1fc09e2fb7af52d0fc5f935e7a0b46"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLabelRankOrder.mergeRuns (cognitive 25): BaseLabelRankOrder.mergeRuns has cognitive complexity 25 (threshold 15). Drivers by points: loops 6 (13 pts), if/else 4 (7 pts), ternaries 1 (3 pts), boolean chains 2 (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":"Sources/ImmersiveMap/Labels/Collisions/BaseLabelRank.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e633ceae9cfb737839f19732a56a2bc1bbe91be800df56c789bbfe93cb626a9b"}},{"ruleId":"D2","level":"warning","message":{"text":"SceneModelPresentationEntry.update (cognitive 25): SceneModelPresentationEntry.update has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/SceneModels/Presentation/SceneModelPresentationStateStore.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f126dde09e12f1bdaf3a1e8904a7ff84fb15907610ae372d68adb1d40655115"}},{"ruleId":"D2","level":"warning","message":{"text":"PreparedTileDiskCodec.decode (cognitive 25): PreparedTileDiskCodec.decode has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (9 pts), error handling 2, match/switch 1, ternaries 1 (nesting depth added 3). 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":"Sources/ImmersiveMap/Tile/Loading/PreparedTileDiskCodec.swift"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ed9ee6feb9ef0ef9bab73534ff592e59666bd6e0e94160631da4bdd4220767"}},{"ruleId":"D2","level":"warning","message":{"text":"PlacementGroundSquare.squares (cognitive 25): PlacementGroundSquare.squares has cognitive complexity 25 (threshold 15). Drivers by points: loops 7 (14 pts), if/else 3 (9 pts), boolean chains 2 (nesting depth added 13). 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":"Sources/ImmersiveMap/Tile/Placement/PlacementGroundSquares.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e7fd439450e9b6aab64a66420e46735f822789518b5f0264c9d0748b61862d"}},{"ruleId":"D2","level":"warning","message":{"text":"TilePointScreenProjector.projectFlatScreenPoints (cognitive 25): TilePointScreenProjector.projectFlatScreenPoints has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 2 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 11). Of this number, 21 points are the body\u0027s own statements and 4 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":"Sources/ImmersiveMap/Tile/Projection/TilePointScreenProjector.swift"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe66f35707088fe0fef0f7c806517fabcf5cb2c693edff868a7debf84871b5de"}},{"ruleId":"D2","level":"warning","message":{"text":"TreeModelContents.read (cognitive 25): TreeModelContents.read has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 11, if/else 8 (11 pts), loops 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":"Sources/ImmersiveMap/Tile/Trees/TreeModel.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdd6f057b1d0d9f59196e972c04b040cf67022af1f7aab0230e38c76c832286"}},{"ruleId":"D2","level":"warning","message":{"text":"RoadDashPattern.fragments (cognitive 25): RoadDashPattern.fragments has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 11). Of this number, 22 points are the body\u0027s own statements and 3 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":"Sources/ImmersiveMap/Tile/Parse/Roads/RoadDashPattern.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5187b22ccb6ed0d100defd61e6d0c027942416b558458fcfe497645317cacd1"}},{"ruleId":"D2","level":"warning","message":{"text":"MvtValue.metresValue (cognitive 25): MvtValue.metresValue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 7, loops 1 (2 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":"Sources/ImmersiveMap/Schema/MvtValue\u002BReading.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8319c7f6f8b602a765fe435ff43c8adb572dae668a7e800f4e0cf87e34bcf109"}},{"ruleId":"D2","level":"warning","message":{"text":"EarcutCore.isEarHashed (cognitive 24): EarcutCore.isEarHashed has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 18, if/else 2 (4 pts), loops 2 (nesting depth added 2). 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":"Sources/Earcut/EarcutEarClipping.swift"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20526b107e8938646095263c71ab286c28d9bfa20182a2feab25ef6cdd3bf4a"}},{"ruleId":"D2","level":"warning","message":{"text":"PinCollisionLayoutSolver.separateFlowerRings (cognitive 24): PinCollisionLayoutSolver.separateFlowerRings has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), ternaries 1 (4 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":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35d6c39fa01e5ff601e4132b0ed1a1852fb1b310c7414e882d9c8ed93865a7a"}},{"ruleId":"D2","level":"warning","message":{"text":"PinVisibilityFadeStateStore.resolve (cognitive 24): PinVisibilityFadeStateStore.resolve has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 7, loops 3 (5 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":"Sources/ImmersiveMap/Pins/Presentation/PinVisibilityFadeStateStore.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a0c0835e851e2bcabfdd2f54a95a84ca8729dac7f73493b140666335153916"}},{"ruleId":"D2","level":"warning","message":{"text":"GroundGeometrySubdivider.subdivide (cognitive 24): GroundGeometrySubdivider.subdivide has cognitive complexity 24 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 6 (7 pts), boolean chains 5, ternaries 2 (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Parse/GroundGeometrySubdivider.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c539e1473d6fd69080fc9ba1f5676574f1ae14583f5543d48446b6105d14d4"}},{"ruleId":"D2","level":"warning","message":{"text":"EarcutCore.run (cognitive 23): EarcutCore.run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), ternaries 2 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Earcut/EarcutCore.swift"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a026aedaf3f5ef3fb8445e74fee4134854e27905a59db9ced972ff13a1214a"}},{"ruleId":"D2","level":"warning","message":{"text":"LabelCollisionSolver.offer (cognitive 23): LabelCollisionSolver.offer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 3 (10 pts), boolean chains 7, loops 3 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Labels/Collisions/LabelCollisionSolver.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9ffeaebb9c614195bd53a7250f9d401a5844cf9e453d1a68de4fb97d85cc06"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLabelPrepareSubsystem.update (cognitive 23): BaseLabelPrepareSubsystem.update has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 11 (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":"Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c1fde771856c1b03bf8840a395cb1e90b81c3ad5a1005581bc697002939361"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLabelPrepareSubsystem.makeDebugBoxesState (cognitive 23): BaseLabelPrepareSubsystem.makeDebugBoxesState has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (7 pts), boolean chains 4, ternaries 1 (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":"Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"db87a194476bac15d069312c35635a86feeaceeb805099d4f3e587c84a03335f"}},{"ruleId":"D2","level":"warning","message":{"text":"PinCollisionLayoutSolver.mergeIntersectingFlowers (cognitive 23): PinCollisionLayoutSolver.mergeIntersectingFlowers has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 5 (10 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":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40c2e7bfc2f0ad1e18a079d5e0102f972e2a8c4501403d5527519ff3d1b48c6"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelTileRenderSubsystem.update (cognitive 23): ModelTileRenderSubsystem.update has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 5, loops 3 (4 pts), 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":"Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileRenderSubsystem.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6769f53d9e7ca49cfcc06fc74ce19e01c9656225e9e0da2395177f190fff0db"}},{"ruleId":"D2","level":"warning","message":{"text":"PreparedTileDiskCodec.validate (cognitive 23): PreparedTileDiskCodec.validate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 5, 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":"Sources/ImmersiveMap/Tile/Loading/PreparedTileDiskCodec.swift"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"0789426f7de3e6588a611383bae3fa61975ce689780b261183042519541d0f42"}},{"ruleId":"D2","level":"warning","message":{"text":"MetalTileFactory.makeTile (cognitive 23): MetalTileFactory.makeTile has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (20 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Store/MetalTileFactory.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"771606a250fc84f78ebcbb38c9b5d3725b8bef1816a91dc67e187ca0d1aa2766"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLabelPrepareSubsystem.buildRoadLabelState (cognitive 22): BaseLabelPrepareSubsystem.buildRoadLabelState has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, loops 4 (5 pts), ternaries 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":"Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"1845597919d4c4251cfadc11dbfb2fe81dc973c45237f985ba3a3704f30de409"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLabelPrepareSubsystem.makeBaseLabelTraceLabels (cognitive 22): BaseLabelPrepareSubsystem.makeBaseLabelTraceLabels has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8 (16 pts), boolean chains 4, if/else 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":"Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77fe8a3ff4485c75492812fa86a0581415ed0799ee25cbac75cc1a365efb069"}},{"ruleId":"D2","level":"warning","message":{"text":"GroundFlattening.flatten (cognitive 22): GroundFlattening.flatten has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 7 (10 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":"Sources/ImmersiveMap/Tile/Parse/GroundFlattening.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"336a4d4cb2c6b7bbd9c5b9f3491b577b6b5015d9674ab74e1d4968ac2ac57749"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseLine.parse (cognitive 22): ParseLine.parse has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, ternaries 2 (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":"Sources/ImmersiveMap/Tile/Parse/ParseLine.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f2c13445c89bea0c20e306cbf6c8495f7dce01a4499aa1f2e0e7119aa9b853"}},{"ruleId":"D2","level":"warning","message":{"text":"MapGestureController.handleTilt (cognitive 22): MapGestureController.handleTilt has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 3 (6 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fade24b5d74ead23172713113fea8878340409cdfb13ddc8304afbe87d9310"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildingExtrusionMeshBuilder.build (cognitive 22): BuildingExtrusionMeshBuilder.build has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3 (4 pts), boolean chains 3, ternaries 2 (nesting depth added 6). Of this number, 11 points are the body\u0027s own statements and 11 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":"Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionMeshBuilder.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b0801248229fa2feec98a0d443b6638e69fdc75821380a48255e1b558a43c5"}},{"ruleId":"D2","level":"warning","message":{"text":"RoadLayerPrecomputation.build (cognitive 22): RoadLayerPrecomputation.build has cognitive complexity 22 (threshold 15). Drivers by points: loops 6 (12 pts), if/else 3 (7 pts), boolean chains 3 (nesting depth added 10). 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":"Sources/ImmersiveMap/Tile/Parse/Roads/RoadLayerPrecomputation.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c48f15d45fcb8a5cb70eb2304d80f8999d8e70b6a6795f0243a98d443a51f47"}},{"ruleId":"D2","level":"warning","message":{"text":"GlobeVectorSurfaceDrawer.draw (cognitive 21): GlobeVectorSurfaceDrawer.draw has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 6, loops 3 (6 pts), if/else 4 (5 pts), ternaries 2 (4 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":"Sources/ImmersiveMap/Globe/Drawers/GlobeVectorSurfaceDrawer.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7133ed5cfcbca60358e547c91aca8fcdf20188a06ac0ec1529926ddeefde3de"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLabelVisibilityResolver.localSuppression (cognitive 21): BaseLabelVisibilityResolver.localSuppression has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (15 pts), boolean chains 3, 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":"Sources/ImmersiveMap/Labels/Base/BaseLabelVisibilityResolver.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a78d9769e71d05da4355f4b7e0a18c3770f796058206c90153b784d0521f29"}},{"ruleId":"D2","level":"warning","message":{"text":"PinCollisionLayoutSolver.dominantPinIDs (cognitive 21): PinCollisionLayoutSolver.dominantPinIDs has cognitive complexity 21 (threshold 15). Drivers by points: loops 8 (13 pts), if/else 5 (8 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":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"875ea058fe83d6ecde02d545b7f66a32e837322b216852ddd18ed3cae2e68bba"}},{"ruleId":"D2","level":"warning","message":{"text":"Sweep.buildBoundaries (cognitive 21): Sweep.buildBoundaries has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5, 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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e589a44112d15edf332e282fc5802fd1a9acf83cf97723aafac9fdc91a60e0"}},{"ruleId":"D2","level":"warning","message":{"text":"Sweep.classify (cognitive 21): Sweep.classify has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 8, 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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"151e29e35c40153819ece66865780c45162301f0f945562de867efd3dbc29cce"}},{"ruleId":"D2","level":"warning","message":{"text":"RoadLabelCache.cutAtGrid (cognitive 20): RoadLabelCache.cutAtGrid has cognitive complexity 20 (threshold 15). Drivers by points: loops 5 (10 pts), if/else 3 (8 pts), boolean chains 2 (nesting depth added 10). 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":"Sources/ImmersiveMap/Labels/Road/RoadLabelCache.swift"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d892ef7fc064f7214b928192ca3392d0b1cabf385308e07c95b98808b0bc2f1"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseLabelPrepareSubsystem.recordBaseLabelTraceFrame (cognitive 20): BaseLabelPrepareSubsystem.recordBaseLabelTraceFrame has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, loops 1, ternaries 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":"Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd84c1cdebd48409cf249b2482683351906bc682fca545b27c04960deb60d72"}},{"ruleId":"D2","level":"warning","message":{"text":"FlatMapSurfaceDrawer.visibleRunSpans (cognitive 20): FlatMapSurfaceDrawer.visibleRunSpans has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, ternaries 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":"Sources/ImmersiveMap/Tile/Drawers/FlatMapSurfaceDrawer.swift"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb974a945221ea4b3a74e28d17ba8d94198c4b1f13f19074158f84f953f0e1e"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseLine.clipToTile (cognitive 20): ParseLine.clipToTile has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 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":"Sources/ImmersiveMap/Tile/Parse/ParseLine.swift"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b88b8b760a5c4bd10d9b38a710a49c184212d59760d60d7cf717895280e1ab"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildingFootprintSignature.sanitizeRing (cognitive 20): BuildingFootprintSignature.sanitizeRing has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 9, 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":"Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingFootprintSignature.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2aee8d10a5f1e64431201f8ec6ed128358a93093322d4db06bf8ba60262cfc"}},{"ruleId":"D2","level":"warning","message":{"text":"HorizonFrameResolver.resolve (cognitive 19): HorizonFrameResolver.resolve has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 13, boolean chains 6. 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":"Sources/ImmersiveMap/Horizon/HorizonFrameResolver.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3e925e2d6c26a1bbdfac3de63592707e73f2c4bcc56c4918e15722e0394f85"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderFrameEngine.collectInput (cognitive 19): RenderFrameEngine.collectInput has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5, 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":"Sources/ImmersiveMap/Render/RenderFrameEngine.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb29b485226e8a20528ace260b8b7cabff8ebeffa1a025977b54d382a4c1b1e1"}},{"ruleId":"D2","level":"warning","message":{"text":"TileTextLabelsBuilder.makeTextLabels (cognitive 19): TileTextLabelsBuilder.makeTextLabels has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (6 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Builders/TileTextLabelsBuilder.swift"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"7599f808c19ba8f0532b2db4b8e2742caa7e81d9fe92745a3c813773085a5c75"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildingExtrusionResolver.isCovered (cognitive 19): BuildingExtrusionResolver.isCovered has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, 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":"Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionResolver.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99f98c8b9dbabc1440323f9d607736347c0adf89c582ed07a6abe76d9cf922e"}},{"ruleId":"D2","level":"warning","message":{"text":"ImmersiveMapSettings.pinSettings (cognitive 18): ImmersiveMapSettings.pinSettings has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18. 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":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift"},"region":{"startLine":3174}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ce1747ec3359e372acfc2ebf3c648b0cb0b0181c933a1bf9247445f9483f28"}},{"ruleId":"D2","level":"warning","message":{"text":"TileRoadLabelsBuilder.buildAnchors (cognitive 18): TileRoadLabelsBuilder.buildAnchors has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 5 (7 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":"Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0913946fecbfdbcf1a021bb6a11d25488869cf3a2b495174a9f214b9c1325b"}},{"ruleId":"D2","level":"warning","message":{"text":"TileDownloader.downloadFailure (cognitive 18): TileDownloader.downloadFailure has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 2 (3 pts), ternaries 1 (3 pts) (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":"Sources/ImmersiveMap/Tile/Loading/TileDownloader.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"3657c57d9b6ecc80042814fa75833dd6533497027b57ff8062951e3a6493df52"}},{"ruleId":"D2","level":"warning","message":{"text":"TileUnificationStage.unifyPolygonLayer (cognitive 18): TileUnificationStage.unifyPolygonLayer has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 5 (8 pts), 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":"Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3407f17e76c2cf090712f45bedc64acd7a9d2d514aed07bb36e9c0f263399ebb"}},{"ruleId":"D2","level":"warning","message":{"text":"TileWorkingSetStore.collectReleasableLocked (cognitive 18): TileWorkingSetStore.collectReleasableLocked has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (4 pts), boolean chains 3, 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":"Sources/ImmersiveMap/Tile/Store/TileWorkingSetStore.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dac82959a298aac7bcd41efdd656bbbf952d03f848ddb921a1dfd4b2a43b962"}},{"ruleId":"D2","level":"warning","message":{"text":"ImmersiveMapCameraTourController.start (cognitive 18): ImmersiveMapCameraTourController.start has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 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":"Sources/ImmersiveMap/UI/Camera/ImmersiveMapCameraTourController.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d826597fd77f38fd376b1acd3f5d6b91e75356ff0b5dd5d7b693ad19b010e6f9"}},{"ruleId":"D2","level":"warning","message":{"text":"ImmersiveMapStillRuntime.renderSettledFrame (cognitive 18): ImmersiveMapStillRuntime.renderSettledFrame has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (8 pts), loops 1 (nesting depth added 4). 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":"Sources/ImmersiveMap/UI/Export/ImmersiveMapStillRecorder.swift"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d163679e1d6d5be0c1831926a91cb6985d3a3b4b77068288e87e57edf20d578"}},{"ruleId":"D2","level":"warning","message":{"text":"ImmersiveMapAnnotationRuntime.update (cognitive 18): ImmersiveMapAnnotationRuntime.update has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 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":"Sources/ImmersiveMap/UI/Runtime/ImmersiveMapAnnotationRuntime.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc49c76c2f9b038671a7a5b11a8a6b772039938bca2e1c3223d18dcf9a76af7f"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildingExtrusionResolver.clampEnvelopes (cognitive 18): BuildingExtrusionResolver.clampEnvelopes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, loops 3 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionResolver.swift"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef061532e8499faa9e4e7f75fba03fd2fd1df97f402683c60d2d3326312e7f0"}},{"ruleId":"D2","level":"warning","message":{"text":"DebugOverlayTileCoverageView.draw (cognitive 18): DebugOverlayTileCoverageView.draw has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"635705d7ad94782eddc91668fcba0f45781e9b7120100c84be1a1b53549c1288"}},{"ruleId":"D2","level":"warning","message":{"text":"DebugOverlayReliefCoverageView.draw (cognitive 18): DebugOverlayReliefCoverageView.draw has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (2 pts), ternaries 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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"2254b2aa0abcf1ff43d269c1c63ea2a766194d112d896cf7c889525e2e5ea2ec"}},{"ruleId":"D2","level":"warning","message":{"text":"MvtGeometryDecoder.decodeLines (cognitive 18): MvtGeometryDecoder.decodeLines has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Mvt/MvtGeometryDecoder.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"37431f21ea5bf9d8fb116256694d2dbbddda16c4e83963d821e9a2342e143381"}},{"ruleId":"D2","level":"warning","message":{"text":"MvtTileDecoder.skipField (cognitive 18): MvtTileDecoder.skipField has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), 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":"Sources/Mvt/MvtTileDecoder.swift"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af3016f6e83361d869f25e16b8de7e32139bf1737d4a2fe9f0d39795c2c3507"}},{"ruleId":"D2","level":"warning","message":{"text":"PMTilesArchiveClient.fetch (cognitive 18): PMTilesArchiveClient.fetch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 6, ternaries 1 (2 pts), match/switch 1 (nesting depth added 5). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PMTiles/PMTilesArchiveClient.swift"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"229c979c498210ef2895d54d62053edb8f693c41acaf8c6a9eca5859b81e93aa"}},{"ruleId":"D2","level":"warning","message":{"text":"PMTilesDirectory.init (cognitive 18): PMTilesDirectory.init has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4, 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":"Sources/PMTiles/PMTilesDirectory.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"089aa744545b967f8836f8810eedcfdc9764c2f65dc3b5c616e41835439ad8c3"}},{"ruleId":"D2","level":"warning","message":{"text":"EarcutCore.intersects (cognitive 17): EarcutCore.intersects has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 11, if/else 6. 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":"Sources/Earcut/EarcutGeometry.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6941aa71fe9fc7d289a88b71563c8763e4eec9e3a04053fda51e81e1a591f9fa"}},{"ruleId":"D2","level":"warning","message":{"text":"SceneModelRenderSubsystem.update (cognitive 17): SceneModelRenderSubsystem.update has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/SceneModels/SceneModelRenderSubsystem.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fbd0c81309a7435dc132ecf7e839388a799ce444e80b5a6d2ad1ccb315bf83"}},{"ruleId":"D2","level":"warning","message":{"text":"ShadowFrameStateResolver.resolveInputs (cognitive 17): ShadowFrameStateResolver.resolveInputs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 7, 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":"Sources/ImmersiveMap/Shadows/ShadowFrameStateResolver.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8c834ed4f99e11bd7e8acdc5ee882ab8315bd586282c95513ee749c6999802"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerPickMath.place (cognitive 17): LayerPickMath.place has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Layers/Selection/LayerPickMath.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94fab3864acaa8b4cf4d90bfe1e6158da0cac9b6f1d44984c006ad2fe3add9b"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtomapsBasemapSchema.names (cognitive 17): ProtomapsBasemapSchema.names has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, 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":"Sources/ImmersiveMap/Schema/Default/ProtomapsBasemapSchema\u002BReadings.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ccc7d18ed9d1329ff542749bfc41b9e0de88e7da3ae8216ce1bbe6e4522884"}},{"ruleId":"D2","level":"warning","message":{"text":"ImmersiveMapNeedsTile.reapStalledLoadsLocked (cognitive 17): ImmersiveMapNeedsTile.reapStalledLoadsLocked has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2, match/switch 1 (2 pts), ternaries 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":"Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a78b2b16d73298474f30bd1c68adcda30bb36717962d96a17ee205ef9dccff"}},{"ruleId":"D2","level":"warning","message":{"text":"LineClipper.clipSegment (cognitive 17): LineClipper.clipSegment 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":"Sources/ImmersiveMap/Tile/Parse/ParseLine.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9d3bbcc7e94168f856277981342084ed6fc890d36f890c63cbad4c69917762"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseLine.precompute (cognitive 17): ParseLine.precompute has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 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":"Sources/ImmersiveMap/Tile/Parse/ParseLine.swift"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f703d122d491ceeb8aa4a177cce4433166afd44cbc94ff525a71f0e11dc3ce"}},{"ruleId":"D2","level":"warning","message":{"text":"TileBuildingRange.indexRuns (cognitive 17): TileBuildingRange.indexRuns has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4 (6 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":"Sources/ImmersiveMap/Tile/Parse/Contract/TileBuildingRange.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5726591fd15f353fbf494a60aa363ab0229fdb6ceb849d603523678a199d18e2"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildingReliefLifts.update (cognitive 17): BuildingReliefLifts.update has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (7 pts), loops 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":"Sources/ImmersiveMap/Tile/Relief/Lifts/BuildingReliefLifts.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca76b5d0496aa492fc9ba8111b09f695bbe9882e0b58c3ed23c4ffcea6dea7e"}},{"ruleId":"D2","level":"warning","message":{"text":"DebugOverlayTileCoverageView.draw (cognitive 17): DebugOverlayTileCoverageView.draw has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift"},"region":{"startLine":3248}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3a17dd1102254cadccc79fb1f128f10d97e040629b7a714729a445a804c212"}},{"ruleId":"D2","level":"warning","message":{"text":"DebugOverlayReliefCoverageView.draw (cognitive 17): DebugOverlayReliefCoverageView.draw has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (3 pts), match/switch 1 (2 pts), ternaries 1 (2 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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift"},"region":{"startLine":3338}}}],"partialFingerprints":{"codehealthFindingId/v1":"015a55b8170bbc38abd71425d3a9e1f3e953df92e99b5e2fbc0204b2b7041a5f"}},{"ruleId":"D2","level":"warning","message":{"text":"EarcutCore.earcutLinked (cognitive 16): EarcutCore.earcutLinked has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 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":"Sources/Earcut/EarcutEarClipping.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b678ba29a37a1b3f9379e2a2e49f32dd93d2201f3418e55bae0d02f41c13825d"}},{"ruleId":"D2","level":"warning","message":{"text":"EarcutCore.intersectsPolygon (cognitive 16): EarcutCore.intersectsPolygon has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 2 (4 pts), loops 1 (nesting depth added 2). 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":"Sources/Earcut/EarcutGeometry.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c6879d8157f073371d5290c595e33ed85ca429e8878ba40741ca537e746e68"}},{"ruleId":"D2","level":"warning","message":{"text":"PinsRenderer.rebuildFrameBuffers (cognitive 16): PinsRenderer.rebuildFrameBuffers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Pins/PinsRenderer.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea86cd0f90b26afcc8520cec42b417fd6d5c00b7614b29d23af49f7134f25afb"}},{"ruleId":"D2","level":"warning","message":{"text":"GlobeVectorSurfaceDrawer.drawRuns (cognitive 16): GlobeVectorSurfaceDrawer.drawRuns has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 4). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Globe/Drawers/GlobeVectorSurfaceDrawer.swift"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cd5eeedc3d87aaad832c5bc955056aa37ead3a541c9843846f9c5bab6e0844"}},{"ruleId":"D2","level":"warning","message":{"text":"PinScreenHashGrid.init (cognitive 16): PinScreenHashGrid.init has cognitive complexity 16 (threshold 15). Drivers by points: loops 6 (9 pts), if/else 3 (7 pts) (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":"Sources/ImmersiveMap/Pins/Clustering/PinScreenHashGrid.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c16da121b6cc98aea27eacc3bb80bb1380f5310508e03ffb8d49c6f8bf992a"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderPassGraph.plan (cognitive 16): RenderPassGraph.plan has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 4, ternaries 2 (3 pts), loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Render/Core/RenderPassGraph.swift"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d118dd02c9c7e30e3260ab6cd00e8f205a729729755034b0a4386a7ab292c665"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildingExtrusionDrawer.drawExtrudedSources (cognitive 16): BuildingExtrusionDrawer.drawExtrudedSources has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (4 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. This shape REPEATS in the file: one other method here (BuildingExtrusionDrawer.drawClippedCasterGeometry) 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":"Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc05743195332fd3decbbc68086ec2d6547cbdd058aef5ace14b952caf7d24d3"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildingExtrusionDrawer.drawClippedCasterGeometry (cognitive 16): BuildingExtrusionDrawer.drawClippedCasterGeometry has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (4 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. This shape REPEATS in the file: one other method here (BuildingExtrusionDrawer.drawExtrudedSources) 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":"Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c92fbd8e677d5242f6ca9b65792603b80576d41c637bd5a664f831e391ede0"}},{"ruleId":"D2","level":"warning","message":{"text":"FlatMapSurfaceDrawer.draw::selectPipeline (cognitive 16): FlatMapSurfaceDrawer.draw::selectPipeline has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), boolean chains 5, ternaries 2 (4 pts), match/switch 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. This shape REPEATS in the file: one other method here (FlatMapSurfaceDrawer.draw) 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":"Sources/ImmersiveMap/Tile/Drawers/FlatMapSurfaceDrawer.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b03af551a2d01d2bea0908a6d9981301d86f5ab0187c06c7036a2d6f3778354"}},{"ruleId":"D2","level":"warning","message":{"text":"PreparedTileDiskEnvelope.decode (cognitive 16): PreparedTileDiskEnvelope.decode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, match/switch 1, ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Loading/PreparedTileDiskCodec.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"751bb49bb017b1c21d1a73c4eeb79e547b24b0bf8170e04fbda0eb6c459b0ee7"}},{"ruleId":"D2","level":"warning","message":{"text":"RasterTileRenderSubsystem.encodeFills (cognitive 16): RasterTileRenderSubsystem.encodeFills has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 5 (7 pts), loops 1, ternaries 1 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Raster/RasterTileRenderSubsystem.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21c143c1d0b69914a9d6b1286c0e63658c6f4e6a88ded812200e7f0c088af4d"}},{"ruleId":"D2","level":"warning","message":{"text":"CoveragePolygonBuilder.make (cognitive 16): CoveragePolygonBuilder.make has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5, loops 3 (5 pts), boolean chains 3, ternaries 2 (3 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":"Sources/ImmersiveMap/Tile/Visibility/CoveragePolygon.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b6b82ab11a696be41ed652bf09513967325f119f7f39fb1e118f6614d502a1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DebugOverlayHUDView: TooManyMethods \u2014 183 methods. The bar is 30 methods; this is 153 over it, 6.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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1f1b6290edfe6d4374518c78a9651bce9b417a40f79dfa48b29d096422c7d8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DebugOverlayHUDView: ClassTooLong \u2014 2251 significant lines (blank, comment-only and punctuation-only lines excluded), 183 methods. The bar is 400 significant lines; this is 1851 over it, 5.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"12274486d0e68ac29e4e82f32a5617ab2fbd03f20d0f45c25d88e9223197c881"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Panel/DebugOverlayHUDViewMac.swift: FileTooLong \u2014 2484 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: DebugOverlayHUDView (26-3104). The bar is 500 significant lines; this is 1984 over it, 4.97\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cded86eeb50110c0a7628f02271d2e2a5272888dd004dbeaec1e87a13292715b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DebugOverlayHUDView.init: MethodTooLong \u2014 init runs 356 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 256 over it, 3.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"339ae271591590f6d75d4220fa96af353e23603a8f2fe01530b6e95baa6e9133"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PinCollisionLayoutSolver.solve: MethodTooLong \u2014 solve runs 338 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 238 over it, 3.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":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c44e4f1c9fb8c1bf9f42cb72a32acaa553d10ac2c3cb710f3f22638f167846"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Configuration/ImmersiveMapSettings.swift: FileTooLong \u2014 1637 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1137 over it, 3.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39709849de8c71ce5a723376c020aa9aa83499627ee92a03b9f21980bcae9553"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImmersiveMapView: TooManyMethods \u2014 86 methods. The bar is 30 methods; this is 56 over it, 2.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":"Sources/ImmersiveMap/UI/ImmersiveMapView.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a4683cf2dd8c3ec3dda533ebee3c6cb6ccdbc0a68cc291fb62189415194025"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PinCollisionLayoutSolver: ClassTooLong \u2014 1126 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 726 over it, 2.82\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":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b904be3cdddceff22eec4df9b7ed9def9ddfd6cd0e3082f92787d40ad94c7044"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DebugOverlayHUDView.layoutSubviews: MethodTooLong \u2014 layoutSubviews runs 249 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 149 over it, 2.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c990204246b1312f7a7bf3b9f4a6b429abe569f340f8eb470c0c20e5ae8ee3a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DebugOverlayRenderer: ClassTooLong \u2014 970 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 570 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":"Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"564a98a79c55397b8a09eae1ce38b74e30a2a5b4e6584297e0821a8bee4fb8f4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FlatMapSurfaceDrawer.draw: MethodTooLong \u2014 draw runs 242 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 142 over it, 2.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":"Sources/ImmersiveMap/Tile/Drawers/FlatMapSurfaceDrawer.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed38a648bd647781dccba1b0178a6dd2066db29c3d3c3e39158b3cff6a2409c1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImmersiveMapSettings: TooManyMethods \u2014 72 methods. The bar is 30 methods; this is 42 over it, 2.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":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d71d1532784ce2a3b96be98e5480817578d8e7298da775406b2ff87ccda6a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Clustering/PinCollisionLayoutSolver.swift: FileTooLong \u2014 1187 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: PinCollisionLayoutSolver (122-1748). The bar is 500 significant lines; this is 687 over it, 2.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":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de8ef0787908baf8e382777585c0f9ff3e48fe93e12c7ecac5a29609b948994"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TilePipeline.init: MethodTooLong \u2014 init runs 209 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 109 over it, 2.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":"Sources/ImmersiveMap/Tile/Pipelines/TilePipeline.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99c1f516ed442443a12a14aecd1756e5385c1ed2785f7641cdf28b06b54f961"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProtomapsBasemapDefaultMapStyle: TooManyMethods \u2014 62 methods, declared across 5 files: Default/ProtomapsBasemapDefaultMapStyle\u002BRoads.swift (18), Default/ProtomapsBasemapDefaultMapStyle\u002BLabels.swift (17), Default/ProtomapsBasemapDefaultMapStyle\u002BGround.swift (13), Default/ProtomapsBasemapDefaultMapStyle.swift (13), \u002B1 more file(s). 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":"Sources/ImmersiveMap/Style/Default/ProtomapsBasemapDefaultMapStyle.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb77144cc1e1c88be0309a4849852a0f334943dcf1b7394b255aa68632dad5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Panel/DebugOverlayHUDView.swift: FileTooLong \u2014 986 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: DebugOverlayHUDView (9-888). The bar is 500 significant lines; this is 486 over it, 1.97\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"537d02953ae0c3247ca9dbea2bc4a5726293977f8ab0b3bf6084a8670f94cd68"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Debug/DebugOverlayRenderer.swift: FileTooLong \u2014 985 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: DebugOverlayRenderer (30-1320). The bar is 500 significant lines; this is 485 over it, 1.97\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7b4fb300a90a3b962baa147200d0e15f2c19031f77b75aab0576b32efd6498"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Sweep: ClassTooLong \u2014 746 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 346 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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa4678efdd2dbefa5d0ccfa2726855820c4684d6ff88af1d58c6a20ad861105"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DebugOverlayHUDView: ClassTooLong \u2014 737 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 337 over it, 1.84\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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"63756065bc5ae3691a7c2031480ee2272e2e87c5b645d66b970ede61753a5fe9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ImmersiveMapNeedsTile: ClassTooLong \u2014 736 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 336 over it, 1.84\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":"Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"597994abfe29f01c13efd4c9b72482f1188cf0ed8492c5331fab4e5c27b8f660"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BaseLabelPrepareSubsystem: ClassTooLong \u2014 731 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 331 over it, 1.83\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":"Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b28fffa025016c9c96b4365c3abd973d7d7c0a217dbe9a086572397c6522279"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LineFeatureReader.read: MethodTooLong \u2014 read 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":"Sources/ImmersiveMap/Tile/Parse/Roads/LineFeatureReader.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"295d6a23f3c1601721d1fe7cf5b0f4c4e6743e6fe1fea9b92b9bcbdbe0ee6299"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RenderGraphFactory.makeDefaultGraph: MethodTooLong \u2014 makeDefaultGraph runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"Sources/ImmersiveMap/Render/Core/RenderGraphFactory.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c6e3040cfc33a965c4511f5b028cd369bafefb615b69322bee363055465f17"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: TileFlattening/Sweep.swift: FileTooLong \u2014 822 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: Sweep (149-1218). The bar is 500 significant lines; this is 322 over it, 1.64\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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8de238040a68e687a3221387bc1a4a79464d2a35631498b63244a70f064d15"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProtomapsBasemapTheme: ClassTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 227 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":"Sources/ImmersiveMap/Style/Default/ProtomapsBasemapTheme.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba3900ea12a87f4dbb76170b1439966e407acf95cb47e906d341605d8639a97"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImmersiveMapDebugOverlayRuntime.init: MethodTooLong \u2014 init runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMapDebug/Panel/ImmersiveMapDebugOverlayRuntime.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b61ddfe972f51f3bfabc68abc0b0fbd608273b93ae8c07299af4c344992733f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TextRenderer: ClassTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 400 significant lines; this is 202 over it, 1.51\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Text/TextRenderer.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8443e745f1e501048a1fd342e0dcff50703691cd16555a994d827cc2208539b2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DebugOverlayRenderer: 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":"Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a3cd89218f946ae89f71c8c72787ce7b50a2732cc0b7ed89816508c0ed2055"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Subsystems/BaseLabelPrepareSubsystem.swift: FileTooLong \u2014 741 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: BaseLabelPrepareSubsystem (31-1040). The bar is 500 significant lines; this is 241 over it, 1.48\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":"Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bdd8167cb1d98cea0dcacbeffc87c3ee045c6923a803d24b5964c203d56e3dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UI/ImmersiveMapView.swift: FileTooLong \u2014 739 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 239 over it, 1.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/ImmersiveMapView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f0e83599590db6eae5d429d08f38b9c944708ba490e6663ba4f3f8e62444cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Loading/ImmersiveMapNeedsTile.swift: FileTooLong \u2014 738 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: ImmersiveMapNeedsTile (29-1219). The bar is 500 significant lines; this is 238 over it, 1.48\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":"Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbde537a97d57bf3d5747c3be5c598b68b1ce716e05c6e707498fec7200aa2c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Loading/PreparedTileDiskCodec.swift: FileTooLong \u2014 738 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: PreparedTileDiskCodec (297-1041). The bar is 500 significant lines; this is 238 over it, 1.48\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":"Sources/ImmersiveMap/Tile/Loading/PreparedTileDiskCodec.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ca757dfd8577f692cc9d8bb3a0b9b715b14b30524a52e81992e281f44cbddb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TileLoadingStatusReporter: 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":"Sources/ImmersiveMap/Tile/Loading/TileLoadingStatusReporter.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0b1a26c2bf72da6cc606a92362427c819b85b9a4e92edc38d4f11f1fe44041"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TileUnificationStage.unify: MethodTooLong \u2014 unify runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a90de08d76c5941d21a3d333d9e36d2925e89e35ca54b33461f4ae74e4206f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImmersiveMapNeedsTile: 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":"Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"58230985edd1a465d9f5418bd72e33c8dacab745cd28bbed2dcd47b3f2a5568b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GlobeVectorSurfaceDrawer.draw: MethodTooLong \u2014 draw runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"Sources/ImmersiveMap/Globe/Drawers/GlobeVectorSurfaceDrawer.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"20dd51ee52ed1e9c7947c019d6158db397145b3ac196642fe741c58a4b2df23f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Text/TextRenderer.swift: FileTooLong \u2014 699 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: TextRenderer (149-965). The bar is 500 significant lines; this is 199 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":"Sources/ImmersiveMap/Text/TextRenderer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccebe03e3b684268f33a0cab142edc49219643722f6bb166f10558a36f2e1d2f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ParseLine: ClassTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 156 over it, 1.39\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":"Sources/ImmersiveMap/Tile/Parse/ParseLine.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd80ade22965792d1b59d32d41d163eddb4032acb2cc500f5bb4f048dd76ba1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Default/ProtomapsBasemapTheme.swift: FileTooLong \u2014 689 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: ProtomapsBasemapTheme (22-1135). The bar is 500 significant lines; this is 189 over it, 1.38\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":"Sources/ImmersiveMap/Style/Default/ProtomapsBasemapTheme.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"316b30da8299964ba8461f15a1df10e81b1eff3d6abf2e62035926cec9d0e0ba"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SharedRenderResources: ClassTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. 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":"Sources/ImmersiveMap/Render/Bootstrap/SharedRenderResources.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fefcccb704f58980fe296619cc74e9ef2f5e586805c8d5af1637b3e283b2b4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PreparedTileDiskCodec: ClassTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 143 over it, 1.36\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Loading/PreparedTileDiskCodec.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a422e00c8bc5cb07774a724a112ce5b983ec75a551be1be35756130a859590"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Parse/ParseLine.swift: FileTooLong \u2014 675 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: ParseLine (180-1057). The bar is 500 significant lines; this is 175 over it, 1.35\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Parse/ParseLine.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4aa5c70b128e97f07dadfd2c72135b63d542f885b552a53660b4b59a36f43a0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImmersiveMapCameraRuntime: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/Camera/ImmersiveMapCameraRuntime.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7f98536010694c4f7ab64cc83376224162112b1029f4f9db7003cef3141ab0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RoadLabelPlacer.place: MethodTooLong \u2014 place runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"Sources/ImmersiveMap/Labels/Road/RoadLabelPlacer.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c180f6e4a10af5b0ec47f7e760bb8b2b5a683c5e3dd4add91ff51e23b33fe7d7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MonotoneTriangulator.triangulate: MethodTooLong \u2014 triangulate runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"Sources/TileFlattening/MonotoneTriangulator.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a2a0385ba580152283209ea5875b05d598712afa458d4c216f791234c4b0c6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PinCollisionLayoutSolver.resolveDisplayedOverlaps: MethodTooLong \u2014 resolveDisplayedOverlaps runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3efed1cdacc6bba480bf1621b6ce418efa699ce1e30d478a839d5208ee87ab9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ImmersiveMapPinsController: 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":"Sources/ImmersiveMap/Pins/ImmersiveMapPinsController.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3fdd045282d59a44cc181752e88a7190c9188b1a41174533d4625eeefd2533"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModelTileContents.init: MethodTooLong \u2014 init runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"Sources/ModelTileFormat/ModelTileContents.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6aec4dde8857c830c28fe4521252910598050db66364a3c97edc4d7b04eefd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EarcutCore: TooManyMethods \u2014 37 methods, declared across 8 files: Earcut/EarcutGeometry.swift (9), Earcut/EarcutHoles.swift (6), Earcut/EarcutEarClipping.swift (5), Earcut/EarcutHoleBridgeIndex.swift (5), \u002B4 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":"Sources/Earcut/EarcutCore.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bee866a5a05c31de1cf90f98f033caeacb8bf2028f81016d2c05c089dfc155b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DebugOverlayHUDView: 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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae257783a4cbe4cf8aa3d5116df2fae130bc54cf2e24aacedb5284abf91916a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CameraStateController: 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":"Sources/ImmersiveMap/Camera/CameraStateController.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f009ad9e668f3273d07f6b13d1204c011c985ad260ecba2cf44ac8e588453bee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TileLoadingStatusReporter: ClassTooLong \u2014 476 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 400 significant lines; this is 76 over it, 1.19\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":"Sources/ImmersiveMap/Tile/Loading/TileLoadingStatusReporter.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b78f0cced9000a13f2481478e80615e99ef463625f204bcb54c7d00d8972a20"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Loading/TileLoadingStatusReporter.swift: FileTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: TileLoadingStatusReporter (157-809). The bar is 500 significant lines; this is 85 over it, 1.17\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":"Sources/ImmersiveMap/Tile/Loading/TileLoadingStatusReporter.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65789b45dc8e7fa64bca2ae31085cb936dcc649ed188a6378e2bf37309e10118"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SharedRenderResources.makeConcurrentlyCompiledResources: MethodTooLong \u2014 makeConcurrentlyCompiledResources 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":"Sources/ImmersiveMap/Render/Bootstrap/SharedRenderResources.swift"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c31ea2abcadec924ffdaa2417f15b35e50ae485fae09580ca880f12bdf90ae7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SharedRenderResources: 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":"Sources/ImmersiveMap/Render/Bootstrap/SharedRenderResources.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c725cfbb39721aeaca7c2ff81dc7422e1c629351b3b766ecd395822f2925eb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RoadLabelCache.makeTileRecord: MethodTooLong \u2014 makeTileRecord 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":"Sources/ImmersiveMap/Labels/Road/RoadLabelCache.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39d5c171fc978c2797cef3e233204f26a67953a024eb1a4c9a2d4ae7e7fe20e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RenderFrameEngine.collectInput: MethodTooLong \u2014 collectInput runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"Sources/ImmersiveMap/Render/RenderFrameEngine.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"050d48c3534af29acde3fab264dfeb914e55f56adff9de3b64de99654b4acdab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TileWorkingSetSubsystem.update: MethodTooLong \u2014 update 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":"Sources/ImmersiveMap/Tile/Subsystems/TileWorkingSetSubsystem.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61ec2f800ca2efadc9aff6e4af5234ce34f391a59980207ca12a3b8f56b5650"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Bootstrap/SharedRenderResources.swift: FileTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: SharedRenderResources (35-899). The bar is 500 significant lines; this is 52 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":"Sources/ImmersiveMap/Render/Bootstrap/SharedRenderResources.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83818405d521edfe48ae79bb27f481f424315126523aab9bd38ccb48ba912f1d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TileTraceEvent: 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":"Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df6c0cf4931e0a5f3bbad54f8aec8ddca6d75ac8b4834eee8c0d965df2bff78"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextRenderer: 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":"Sources/ImmersiveMap/Text/TextRenderer.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e400e4fdc46e1029c831fcb9ab2850f9f27f77b30e8273fc360479f893093ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BaseLabelPrepareSubsystem.update: MethodTooLong \u2014 update runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df953c4f87b93295525f5da4d117b3227c858d4a812133963113ff93a84834e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BuildingExtrusionMeshBuilder.buildRounded: MethodTooLong \u2014 buildRounded runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingRoundedExtrusion.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f893b48b96b2133f44ab685d3e9613ce68e8920e9d6b373395e08185485c45c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TileMvtParser.readingStage: MethodTooLong \u2014 readingStage runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"Sources/ImmersiveMap/Tile/Parse/TileMvtParser.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d511452159234841f0ede843f6f1d57b8bdc66f1c6184d83942c0274c0227b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (54 shared lines): Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift:127-193 | Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift:248-305 \u2014 These two members are variants of one another: 54 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":"Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfa2936a3c1333fb904aac54e3ec9a7992a2a690efdea95f71e28e47714c1cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (26 shared lines): Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift:213-241 | Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift:243-271 \u2014 These two members are variants of one another: 26 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":"Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c7083eee8ee7c43584ef86b67c9056183ee0772427081621a287d99f64896a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/Mvt/MvtGeometryDecoder.swift:99-152 | Sources/Mvt/MvtGeometryDecoder.swift:154-185 \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":"Sources/Mvt/MvtGeometryDecoder.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"543e3738aeb0f6e96f44f00d9296af9aca69c13778f166acfebe7fec97f401f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:275-302 | Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift:217-244 \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":"Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cae0c49cca2eef6bccaa6c99cedbe809c77705977cbd3bc04caaa3b9321abb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift:3174-3248 | Sources/ImmersiveMap/UI/ImmersiveMapView.swift:1538-1576 \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":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift"},"region":{"startLine":3174}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb9817a2bf5a5df58ef8d5e0d1698133c263a93c4cd390a0a4bed1d2f07ff74"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift:2995-3039 | Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift:3045-3091 | Sources/ImmersiveMap/UI/ImmersiveMapView.swift:1389-1413 | Sources/ImmersiveMap/UI/ImmersiveMapView.swift:1431-1455 \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":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift"},"region":{"startLine":2995}}}],"partialFingerprints":{"codehealthFindingId/v1":"60103dd297bcffdce5a3a1532c9935ccd1b1ee26510a1779b2748add8fcf0596"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/ImmersiveMap/Geo/GeoScreenProjectionMath.swift:69-82 | Sources/ImmersiveMap/Globe/GlobeFrameConstantsUniform.swift:63-75 | Sources/ImmersiveMap/Globe/GlobeVisibilityModel.swift:158-171 | Sources/ImmersiveMap/Tile/Projection/TilePointScreenProjector.swift:505-518 \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":"Sources/ImmersiveMap/Geo/GeoScreenProjectionMath.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b0789bd1cc0ec7fe6aa6672ce1232bdcf8919c780ccc34e3df914191f61220"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/ImmersiveMap/Labels/Surface/SurfaceLabelRenderSubsystem.swift:153-214 | Sources/ImmersiveMap/Tile/Drawers/FlatMapSurfaceDrawer.swift:459-550 | Sources/ImmersiveMap/Tile/Relief/Frame/GroundReliefShadowCasterSubsystem.swift:73-142 | Sources/ImmersiveMap/Tile/Subsystems/PlacementStencilRenderSubsystem.swift:291-303 \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":"Sources/ImmersiveMap/Labels/Surface/SurfaceLabelRenderSubsystem.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f34d21eb3a96eec84519c020a47485606c7d1b33a504c9d938986000d78506f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 64\u002B corresponding lines): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:1054-1117 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:1153-1222 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3248-3312 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3338-3408 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 64 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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91b805b0d133fa27e38d442c99aafa4f5347f4a5b0bdccabf4d49d3c258851a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:955-996 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3164-3205 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c758f4ef641561addf872a88182dc28a9e087b011b1e8134f4405db0180fe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): Sources/ImmersiveMap/Tile/Subsystems/PlacementStencilRenderSubsystem.swift:189-230 | Sources/ImmersiveMap/Tile/Subsystems/PlacementStencilRenderSubsystem.swift:237-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":"Sources/ImmersiveMap/Tile/Subsystems/PlacementStencilRenderSubsystem.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef39b709ebd16577fb5857f0adacf217c9f460b7270a091f54de167a4310217"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:1727-1750 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:1752-1783 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"044d8e6003c9ce2e9792abe6ee1fdaf42d733639296eb4d90544135381cca3fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): Sources/ImmersiveMap/Labels/Base/BaseLabelVisibilityResolver.swift:69-108 | Sources/ImmersiveMap/Labels/Base/BaseLabelVisibilityResolver.swift:117-155 \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":"Sources/ImmersiveMap/Labels/Base/BaseLabelVisibilityResolver.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ede9fd4db52bfe8b44c6ed4cce61c0cf7c8ccf26f3f035618ce23ce863ed3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:212-242 | Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift:154-184 \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":"Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85848061017ac7537418f9b9875fcfefc7bfe001e845f1f15251b68947c81ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): Sources/ImmersiveMap/UI/Camera/CameraBearingFollow.swift:69-106 | Sources/ImmersiveMap/UI/Camera/CameraPitchFollow.swift:68-102 \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":"Sources/ImmersiveMap/UI/Camera/CameraBearingFollow.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e46c9e1b82a36d72782c289ff9fe7983bd12ae111fcb9739f7822188b45f939"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:616-639 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:641-660 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:662-681 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"baff9a34146295c3ae6a8d126ca45bb8987ed40520396509551b6514521c4d41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift:9-42 | Sources/ImmersiveMap/Pins/Pipelines/PinPipeline.swift:15-38 | Sources/ImmersiveMap/Pins/Pipelines/PinPipeline.swift:49-72 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"30dbf071002c51e1ffc2b7bb48da61567947df8198b1884302c5c94517076929"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): Sources/ImmersiveMap/UI/ControlZone/ZoomControlZone.swift:69-98 | Sources/ImmersiveMap/UI/Gestures/ScrollZoomGesture.swift:32-61 \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":"Sources/ImmersiveMap/UI/ControlZone/ZoomControlZone.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fd7f0eeb434411c8c6fb754219677bec2de711a6da1347fe023db455bbcccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileRenderSubsystem.swift:238-270 | Sources/ImmersiveMap/SceneModels/SceneModelRenderSubsystem.swift:161-189 \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":"Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileRenderSubsystem.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d70183a3997a632d6a715abfce1a0580efeb6d7c9b4c03d886ea8642f9aead"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift:175-203 | Sources/ImmersiveMap/UI/Gestures/MapGestureControllerMac.swift:184-208 \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":"Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"69aef12eb33da3655c8ae4671671b11f4d71899af384ebb3c71f50870d223f63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:683-705 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:707-729 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc8d6adb7c11757bd46ebd866dfb665f2de3bc1c51742c79f6c95a4b6aec250"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/ImmersiveMap/Camera/CameraStateController.swift:202-220 | Sources/ImmersiveMap/Camera/CameraStateController.swift:234-256 \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":"Sources/ImmersiveMap/Camera/CameraStateController.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f78b26db619d3c49790f4a0f6a60fdad900ced697e91cc91d3b52f8d5e9b1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift:688-709 | Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift:713-734 \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":"Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"911f141d96772aa034f478b6d88dafec412bd350aa2bf382eb6451b29a3fc961"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingFootprintSignature.swift:45-81 | Sources/ImmersiveMap/Tile/Parse/ParsePolygon.swift:256-281 \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":"Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingFootprintSignature.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6d408f226eb6cf31a4babd25930ee8b809e357a72bd4d8144c757139d2ce56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): Sources/ImmersiveMap/Pins/Pipelines/PinBeamPipeline.swift:28-55 | Sources/ImmersiveMap/Text/TextRenderer.swift:943-964 \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":"Sources/ImmersiveMap/Pins/Pipelines/PinBeamPipeline.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"950b8c520030dc7851f2ed22cc4317876792907e8b9201fb3016f3a4271d8f24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/ImmersiveMap/Pins/PinShape.swift:108-121 | Sources/ImmersiveMap/Pins/PinShape.swift:136-148 \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":"Sources/ImmersiveMap/Pins/PinShape.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43963c1d19f3840114bef3599450cec3e15a51a721411b8a4dbd6cf9a6de7c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/ImmersiveMap/Render/Debug/DebugOverlayReliefCoverage.swift:41-49 | Sources/ImmersiveMap/Render/Debug/DebugOverlayTileCoverage.swift:107-115 \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":"Sources/ImmersiveMap/Render/Debug/DebugOverlayReliefCoverage.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3444c7531c894b6e463cd56346615792bb829b7f835eed99a83eabb1fac5e0db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/ImmersiveMap/Tile/Projection/TilePointScreenProjector.swift:196-215 | Sources/ImmersiveMap/Tile/Projection/TilePointScreenProjector.swift:331-347 \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":"Sources/ImmersiveMap/Tile/Projection/TilePointScreenProjector.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"558b3702b2653bf440979964779a9c3e322a25b78d98af15e76dd9c156e41553"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/ImmersiveMap/Render/Math/Matrix.swift:14-25 | Sources/ImmersiveMap/Render/Math/Matrix.swift:27-38 \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":"Sources/ImmersiveMap/Render/Math/Matrix.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8981ddee13148d6fea6424f8581ff06d1e700bf8f5c808988dfcb20747c2322f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/ImmersiveMap/Tile/Parse/Contract/ParsedPolygon.swift:144-164 | Sources/ImmersiveMap/Tile/Parse/ParsePolygon.swift:169-189 \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":"Sources/ImmersiveMap/Tile/Parse/Contract/ParsedPolygon.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ed9e076ecdfcc9852806b19ce26e7a7bda063abe9fbe72c827aab834b6cf09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Sources/ImmersiveMap/UI/Export/ImmersiveMapStillRecorder.swift:352-380 | Sources/ImmersiveMap/UI/Export/ImmersiveMapVideoExportRuntime.swift:278-310 \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":"Sources/ImmersiveMap/UI/Export/ImmersiveMapStillRecorder.swift"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef37f5f6d984c1f602d5b416cb60f3a89710a2cb99bf3a164f07e200d40b98de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/ImmersiveMap/Labels/Base/LabelDistanceRules.swift:47-60 | Sources/ImmersiveMap/Tile/Visibility/RingRuleSets.swift:48-61 \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":"Sources/ImmersiveMap/Labels/Base/LabelDistanceRules.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf5eac1068eb9a3f4d375e9fb79589b66289dfb2e65ec42a5a9d1d587c851a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/ImmersiveMap/Render/Bootstrap/SharedRenderResources.swift:569-593 | Sources/ImmersiveMap/Render/Bootstrap/SharedRenderResources.swift:598-615 \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":"Sources/ImmersiveMap/Render/Bootstrap/SharedRenderResources.swift"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6f9bf2d597a10b9483adedbfc3a78bb4e2d2682f2b936861d09f93d4f95811"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Sources/ImmersiveMap/Tile/Parse/Contract/ParsedTextLabel.swift:47-78 | Sources/ImmersiveMap/Tile/Parse/Contract/ParsedTextLabel.swift: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":"Sources/ImmersiveMap/Tile/Parse/Contract/ParsedTextLabel.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d46b86efc6aeecd6c1c41192a555f4549616127536e9e1c7c3796630162e60c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/ImmersiveMap/UI/AttributionBadgeView.swift:138-152 | Sources/ImmersiveMap/UI/AttributionBadgeViewMac.swift:149-163 \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":"Sources/ImmersiveMap/UI/AttributionBadgeView.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41897bd5a5ab32ff9de7f7cf7101fabe03d15ddb5f772c6adec70fa45097090"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift:470-485 | Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift:652-669 \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":"Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"961e9ccf7073aa2b927c0d5d7f0f41f1a37886b9a62cba96842653c63c0ec2b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionResolver.swift:403-427 | Sources/ImmersiveMap/Tile/Parse/Trees/TreeScatter.swift:266-280 \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":"Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionResolver.swift"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b26212295c2f611bd3ed3b8b77c11d69329353bbecf5ac88ae43296b5508c27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 22\u002B corresponding lines): Sources/ImmersiveMap/Render/Core/FrameAttachmentStore.swift:66-94 | Sources/ImmersiveMap/Render/Core/FrameAttachmentStore.swift:96-119 | Sources/ImmersiveMap/Render/Core/FrameAttachmentStore.swift:160-181 | Sources/ImmersiveMap/Render/Core/FrameAttachmentStore.swift:183-204 | Sources/ImmersiveMap/Render/Core/FrameAttachmentStore.swift:241-263 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Render/Core/FrameAttachmentStore.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"baec45268e826f4daccb78e1b45bc79d1b2d87b90db054609e42ca7ac07d96f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/ImmersiveMap/UI/ImmersiveMapView.swift:1047-1073 | Sources/ImmersiveMap/UI/ImmersiveMapView.swift:1595-1615 \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":"Sources/ImmersiveMap/UI/ImmersiveMapView.swift"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06d7b90bdeb14629a2cc30cdf90543a2f2f0b2c89a306054d7c381ad63ad951"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/TileFlattening/Sweep.swift:1113-1120 | Sources/TileFlattening/Sweep.swift:1122-1129 \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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb08c4c5e5a015efdf29f78ddc8143740cc6efe4bed5b5468b6b806249220fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/ImmersiveMap/Geo/GeoScreenProjectionMath.swift:166-182 | Sources/ImmersiveMap/Tile/Projection/TilePointScreenProjector.swift:396-406 \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":"Sources/ImmersiveMap/Geo/GeoScreenProjectionMath.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74e009a022cfbe8c3e6c676fc385640cf83e1db6b5798730765dc5b4861305f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/ImmersiveMap/Style/Default/ProtomapsBasemapDefaultMapStyle\u002BLabels.swift:424-448 | Sources/ImmersiveMap/Style/FeatureStyle.swift:760-780 \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":"Sources/ImmersiveMap/Style/Default/ProtomapsBasemapDefaultMapStyle\u002BLabels.swift"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43cea82cb93bc644fc0864ceaa02e8c53a7a4bf99071eb6f62887ff68243957"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/ImmersiveMap/UI/AttributionBadgeView.swift:162-180 | Sources/ImmersiveMap/UI/AttributionBadgeViewMac.swift:173-191 \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":"Sources/ImmersiveMap/UI/AttributionBadgeView.swift"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"635563248bad089b29a0a3db0f7ad23a4c5ae863587cf4bb2cadf07daa376382"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:1787-1797 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:1990-1999 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift"},"region":{"startLine":1787}}}],"partialFingerprints":{"codehealthFindingId/v1":"445a67150aee109ff72935168248e699ca1e0065fa70db1763f3fca81cadf5a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/ImmersiveMap/Labels/Base/BaseLabelCache.swift:167-181 | Sources/ImmersiveMap/Labels/Base/BaseLabelCache.swift:187-201 \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":"Sources/ImmersiveMap/Labels/Base/BaseLabelCache.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3285ceb2d7fb010f89b00f2a39436e1baa92c6e892000dc83836ce65c067c217"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Sources/ImmersiveMap/Pins/ImmersiveMapPin.swift:41-60 | Sources/ImmersiveMap/Pins/ImmersiveMapPin.swift:62-81 \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":"Sources/ImmersiveMap/Pins/ImmersiveMapPin.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"603ec4f0d2856849c1edef63df759df7163ce182ff0f6feb95922e305c440a4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift:161-185 | Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift:378-401 \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":"Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d63cbc2669af7d6a5b9bbf1dcbf20be424b5a00143bcd5f0857103fca8dfa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/TileFlattening/Sweep.swift:1131-1141 | Sources/TileFlattening/Sweep.swift:1144-1154 \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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2047d08d38b4fd5ea1c428c2753473cc655ecf327833e909b3b098149a8c0f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Sources/ImmersiveMap/Tile/Placement/TilePlacementPlanner.swift:247-253 | Sources/ImmersiveMap/Tile/Visibility/FlatTileCoverage.swift:59-67 | Sources/ImmersiveMap/Tile/Visibility/GlobeTileCoverage.swift:234-240 \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":"Sources/ImmersiveMap/Tile/Placement/TilePlacementPlanner.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9b54ed78b52e13c69b6b5d2020ec1b1953b3173e091f082a5fa02cf9122175"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift:267-282 | Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift:291-306 \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":"Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0d5c34bf6801d421b23d8e642a3ddc96b25cce2bcc3e4d7e04d15da7c5a2d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): Sources/Mvt/MvtGeometryDecoder.swift:43-55 | Sources/Mvt/MvtGeometryDecoder.swift:63-75 | Sources/Mvt/MvtGeometryDecoder.swift:83-95 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Mvt/MvtGeometryDecoder.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab68e8e3c6bb846e0e1b3cd8f65dcb76e4127813591812491b52ffc883f44674"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift:2835-2857 | Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift:3130-3142 \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":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift"},"region":{"startLine":2835}}}],"partialFingerprints":{"codehealthFindingId/v1":"26446a2d9920e73a97ed71daebf7d276122a4967f679be085f69942cbb386529"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift:338-356 | Sources/ImmersiveMap/SceneModels/Presentation/SceneModelPresentationStateStore.swift:390-408 \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":"Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b725aedbfcdc2cc6eaa7502f9df7a41d23b4a30f47c4692ef6be8842ca9c41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/ImmersiveMap/Schema/ImmersiveMapTileSchema.swift:24-39 | Sources/ImmersiveMap/Style/ImmersiveMapVectorTileStyle.swift:25-39 \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":"Sources/ImmersiveMap/Schema/ImmersiveMapTileSchema.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"07449aa98009f2aaaa4eb47182913d36f8ab2222fb17c7feeef584cb03c92997"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/ImmersiveMap/Style/FeatureStyle.swift:717-732 | Sources/ImmersiveMap/Style/PointLockedLineStyle.swift:20-37 \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":"Sources/ImmersiveMap/Style/FeatureStyle.swift"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb95de28d4caec77a8345aa82e320af0f78c99e330cab0b4babc6d704a88386"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): Sources/ImmersiveMap/Layers/Selection/LayerSelection.swift:67-81 | Sources/ImmersiveMap/Pins/Selection/PinSelection.swift:52-65 | Sources/ImmersiveMap/SceneModels/Selection/SceneModelSelection.swift:52-67 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"Sources/ImmersiveMap/Layers/Selection/LayerSelection.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55dd85778fcce218f396950758f90c492a1a6ef5c9dd1b6f042b5c154b5fc85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift:510-523 | Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift:545-561 \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":"Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9d0e0e8afcc8ee49752c1bdb1dd00224229a0562aa5a15529df44d0f6ea6fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): Sources/ImmersiveMap/Schema/ImmersiveMapFeatureProperties.swift:53-71 | Sources/ImmersiveMap/Style/Default/ProtomapsBasemapDefaultMapStyle.swift:246-261 | Sources/Mvt/MvtValue.swift:63-79 \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":"Sources/ImmersiveMap/Schema/ImmersiveMapFeatureProperties.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02c244bb9ac0b82db43c071c06c992aeaa58a4e92fa056f214fdd5251738c09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/TileFlattening/Sweep.swift:1095-1101 | Sources/TileFlattening/Sweep.swift:1105-1111 \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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a54672fa6a2027e5fb1bdf8a381a9584bd1eb4b7c116ae188f5735cdfd4379"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/ImmersiveMap/Layers/GeoJSON/GeoJSONGeometryReaders.swift:55-65 | Sources/ImmersiveMap/Layers/GeoJSON/GeoJSONGeometryReaders.swift:86-94 \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":"Sources/ImmersiveMap/Layers/GeoJSON/GeoJSONGeometryReaders.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5ef93a6cfb6852aeff28a3b65332169d864fff495ba40f1b151acbc4624978"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/ImmersiveMap/UI/ImmersiveMapView.swift:1334-1348 | Sources/ImmersiveMap/UI/ImmersiveMapView.swift:1508-1528 \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":"Sources/ImmersiveMap/UI/ImmersiveMapView.swift"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"986b7a29eef01a22c50e6ec3ef9c5797b94e4c0d3bd5e77cafb20e686738a4c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): Sources/ImmersiveMap/Pins/ImmersiveMapPin.swift:111-128 | Sources/ImmersiveMap/Pins/ImmersiveMapPin.swift:131-150 | Sources/ImmersiveMap/Pins/ImmersiveMapPin.swift:152-171 \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":"Sources/ImmersiveMap/Pins/ImmersiveMapPin.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9740a8ab59110b58fc0bcb464b38ea2f496afcef7c151c11978e8aadef90c21b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/Mvt/MvtTileDecoder.swift:215-230 | Sources/Mvt/MvtTileDecoder.swift:232-247 \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":"Sources/Mvt/MvtTileDecoder.swift"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf325c2eb282cc2f1c38cd257899afe95123e35805f597b12a44167ee682421"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/ImmersiveMapDebug/Panel/DebugOverlayZoomCurveViewMac.swift:207-224 | Sources/ImmersiveMapDebug/Panel/DebugOverlayZoomCurveViewMac.swift:226-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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayZoomCurveViewMac.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"478512375109d84e00742b748a5cd6e095d3b97f603c8d90339a5ccb6dd2cc98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/ImmersiveMap/Geo/GeoGreatCircleMath.swift:90-97 | Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift:89-96 \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":"Sources/ImmersiveMap/Geo/GeoGreatCircleMath.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71bad79fed214c87d80e2a4f372514286b781824a4fe0a933c1a58481bd9796"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/ImmersiveMap/UI/Camera/ImmersiveMapCameraAnimationRuntime.swift:78-94 | Sources/ImmersiveMap/UI/Camera/ImmersiveMapCameraAnimationRuntime.swift:98-112 \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":"Sources/ImmersiveMap/UI/Camera/ImmersiveMapCameraAnimationRuntime.swift"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0b2061b2ea44d285957006788eacfffe2a51f621f3d10d93836780a81bc5ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/ImmersiveMap/Style/Default/ProtomapsBasemapTheme.swift:735-747 | Sources/ImmersiveMap/Style/ImmersiveMapHillshade.swift:48-58 \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":"Sources/ImmersiveMap/Style/Default/ProtomapsBasemapTheme.swift"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"720fceb0c595177e35fab243a17d7504a9d4736139dd84cee4545f23af5aa549"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift:51-64 | Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift:24-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":"Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2103712a4d7774e163df279c5c22763b66b46c8a7cc34fbc90f61e1567a815c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:1288-1302 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:1353-1368 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"30adbcbd65de9202ee6daeba6fe628ddb40309fab901f0d5631b0f6442f12ad5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/ImmersiveMap/Geo/GeoGreatCircleMath.swift:111-118 | Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift:98-105 \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":"Sources/ImmersiveMap/Geo/GeoGreatCircleMath.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"918749ed90a0e4727d94440bae66890ee9a88b03c3cf807d0306c50ba3f1fc70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift:453-465 | Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift:602-618 \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":"Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2068665848ad5a5ebd86e52c552531a29a54cf798219ba5cb1b2f9c1e38d71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/ImmersiveMap/UI/Camera/ImmersiveMapCameraFlightController.swift:125-139 | Sources/ImmersiveMap/UI/Export/TourVideoTimelineDriver.swift:147-161 \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":"Sources/ImmersiveMap/UI/Camera/ImmersiveMapCameraFlightController.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"755e863b42b4c439f845803551683c8b4f7aaf822499d835da135b18de62f8cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:843-855 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3059-3071 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c713a8b507f98c2307a475eb0e63ee9e2e19ace92ddb6fc8e10069ea69b0bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:2235-2247 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:2351-2363 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift"},"region":{"startLine":2235}}}],"partialFingerprints":{"codehealthFindingId/v1":"267b0412193003099488ab93e23b7e73e29f99d37dd0d871f8e78f4973eabdf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift:214-233 | Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift:420-435 \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":"Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"759ad8ed1f33c7e2c5acc289d0ab50d344e76be382591176b41f0999c20e4935"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift:419-431 | Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift:557-575 \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":"Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e04a1eb1604ed681bc9d2498ecb2d7ec7caf0512f3314707631526d5a5051d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift:161-173 | Sources/ImmersiveMap/UI/Gestures/MapGestureControllerMac.swift:243-257 \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":"Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66fa2e1b5eda540c5dc2cbd1f958a5e525661c1c4baafcbecd81aff70f4bf7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/ImmersiveMap/Globe/GlobeCapRenderer.swift:124-133 | Sources/ImmersiveMap/Globe/GlobeCapRenderer.swift:135-144 \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":"Sources/ImmersiveMap/Globe/GlobeCapRenderer.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb1f7410bcbc79cd5b58fc7e42070ef2df68cb18865e65718d35c1702eaac65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/ImmersiveMap/Render/Debug/DebugOverlayReliefCoverage.swift:53-60 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDContent.swift:135-141 \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":"Sources/ImmersiveMap/Render/Debug/DebugOverlayReliefCoverage.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6443ec0724a5aa1e18d47cdbaeb54e77e1ee7bc892f2d303fc4340712f89f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift:2494-2504 | Sources/ImmersiveMap/UI/ImmersiveMapView.swift:451-461 \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":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift"},"region":{"startLine":2494}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f13ebc623352134a7262018e5189b97abb2594e837f7b81eb31e81c0586fea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileRenderSubsystem.swift:64-82 | Sources/ImmersiveMap/Tile/Subsystems/BuildingExtrusionRenderSubsystem.swift:61-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":"Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileRenderSubsystem.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c9938d9938c9750b49192f26fbf24044ab51ac63f20320e341cdd69ea68b9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift:436-449 | Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift:579-598 \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":"Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"142b82b0d1fe548ec4d6409402d0a4da437a052956e2a211b6f6aec8e715dad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:155-170 | Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift:134-149 \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":"Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"da60c4f472f4614c60f10529a337b351730006f97ddf69d1bba7b9f9a84192da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:533-544 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:2093-2103 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccca1cf966c2ac89390c8de1aaa1aa8d85b2bda591b648d35eac1e647c923c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/ImmersiveMap/Tile/Parse/Trees/TreeScatter.swift:217-221 | Sources/ImmersiveMap/Tile/Parse/Trees/TreeScatter.swift:346-351 \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":"Sources/ImmersiveMap/Tile/Parse/Trees/TreeScatter.swift"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b906c4e3579799b0ce173f45e7f23aa713ee46f1076fad1d5318ed87f5965d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:1241-1245 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:1306-1310 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2580afdca48f80e08a3b4dbd58d88eee924a7e4ccc3475eaec2025f983bd69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:2557-2566 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:2568-2577 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift"},"region":{"startLine":2557}}}],"partialFingerprints":{"codehealthFindingId/v1":"0031dccea46cbb0d372ec15b2c0ba79a349cf99b5f31a87e406b9fb133b2d4c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): Sources/ImmersiveMap/Labels/Road/RoadLabelNearCameraFilter.swift:118-130 | Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionMeshBuilder.swift:150-158 | Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionResolver.swift:383-391 | Sources/ImmersiveMap/Tile/Parse/ParsePolygon.swift:309-318 | Sources/ImmersiveMap/Tile/Visibility/CoveragePolygon.swift:174-185 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Labels/Road/RoadLabelNearCameraFilter.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1c8690fe898ec8aeafc70090d935f49216f6acf985c8765ebce3ff5bcf429e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/ImmersiveMap/Layers/Selection/LayerPickMath.swift:107-113 | Sources/ImmersiveMap/Tile/Parse/Trees/TreeScatter.swift:388-395 \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":"Sources/ImmersiveMap/Layers/Selection/LayerPickMath.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7568191e11f49c7a9cda478ab259a89f7bb42c76d65fe31811a67ec96b45619"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Sources/ImmersiveMap/Tile/Loading/TileLoadingStatusReporter.swift:423-437 | Sources/ImmersiveMap/Tile/Loading/TileLoadingStatusReporter.swift:441-455 \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":"Sources/ImmersiveMap/Tile/Loading/TileLoadingStatusReporter.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a07ee0d9f7c22f571c779bcc78c172083add06dd2928bea75ac5e067d1f78c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/ImmersiveMap/Tile/Relief/Frame/GroundReliefFrame.swift:133-140 | Sources/ImmersiveMap/Tile/Relief/Frame/GroundReliefFrame.swift:150-156 \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":"Sources/ImmersiveMap/Tile/Relief/Frame/GroundReliefFrame.swift"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c2ce6b5238ad04ba6a24bfd9724d91b660493d5ff9b96c0d54773e1f0dde99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/ImmersiveMap/UI/ImmersiveMapView.swift:1171-1183 | Sources/ImmersiveMap/UI/ImmersiveMapView.swift:1256-1268 \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":"Sources/ImmersiveMap/UI/ImmersiveMapView.swift"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cfcbee0d493bb59c10ae8a086d63e91edc57608690922dfe465a0d524e6186"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/ImmersiveMap/Globe/GlobeVisibilityModel.swift:77-86 | Sources/ImmersiveMap/Globe/GlobeVisibilityModel.swift:88-97 \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":"Sources/ImmersiveMap/Globe/GlobeVisibilityModel.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b787dd4123bf09bfa4c9356a4c99eb58251a1a6b05a1804d919cf331d5e4ab7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift:1330-1346 | Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift:1349-1365 | Sources/ImmersiveMap/Pins/Presentation/PinVisibilityFadeStateStore.swift:117-131 \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":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b109b2e6aa5f30b680d60b148f2dce4aeec47066b83103009900c12eef42e78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/ImmersiveMap/Tile/Placement/PlaceTilesContext.swift:17-27 | Sources/ImmersiveMap/Tile/Placement/PlacementGroundSquares.swift:31-41 \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":"Sources/ImmersiveMap/Tile/Placement/PlaceTilesContext.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a308b2a0284d7a55d64158b5e8d32812336400429b8229def5294222098fb39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift:18-28 | Sources/ImmersiveMap/SceneModels/Presentation/SceneModelAnimationMath.swift:19-29 \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":"Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f0955836c28482599c3d5f5e465d002b8a3defc9ba3562b053ad6731ec5bf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/ImmersiveMap/UI/AttributionBadgeView.swift:95-103 | Sources/ImmersiveMap/UI/AttributionBadgeViewMac.swift:106-114 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/AttributionBadgeView.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9a7705c7591f60c62fc30677a889e5fb83a75fdb6498544e0593bbc415c2c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/ImmersiveMap/Camera/Frustum.swift:69-78 | Sources/ImmersiveMap/Camera/Frustum.swift: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":"Sources/ImmersiveMap/Camera/Frustum.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d7e554f87d36ff1091df0be70a872ba0553957010df4b09de1ccda5cc45be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift:307-322 | Sources/ImmersiveMap/UI/Gestures/MapGestureControllerMac.swift:335-350 \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":"Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f9e66e23322c722e9d4c83e1a1bbbfb30f48617eef4712d270b788b57ae0a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/ImmersiveMap/Geo/GeoGreatCircleMath.swift:73-80 | Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift:80-87 \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":"Sources/ImmersiveMap/Geo/GeoGreatCircleMath.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bd2bdc67634fc09e4f51cca8c46d1141352a8e9afa3df70d319643160614ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/ImmersiveMap/Tile/Loading/TileLoadingStatusReporter.swift:485-498 | Sources/ImmersiveMap/Tile/Loading/TileLoadingStatusReporter.swift:529-542 \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":"Sources/ImmersiveMap/Tile/Loading/TileLoadingStatusReporter.swift"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04e34b4a08fd80526b4e7be53b3110fb6d464fd6f83b84c1c4dda8a1b3112e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift:1310-1326 | Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift:1945-1961 \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":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"608798f82b79e6fbe87d9cc59ce0bb69be5ec6d1b3345897b002c20bda92526e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/ImmersiveMap/Render/PostProcessing/FXAAPipeline.swift:15-23 | Sources/ImmersiveMap/Shadows/GroundShadowMaskPipeline.swift:30-37 \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":"Sources/ImmersiveMap/Render/PostProcessing/FXAAPipeline.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bfbc5d0d905b21fa72cdd5e00107cbc3799024d261d5a4ecf0afb778f9205d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift:1541-1551 | Sources/ImmersiveMap/Text/TextRenderer.swift:99-111 \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":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e7581fb3f5bc344f85308e6525797e8042d918e8c840a251b9a0c25fb1e061"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/ImmersiveMap/Layers/GeoJSON/GeoJSONGeometryReaders.swift:10-17 | Sources/ImmersiveMap/Layers/GeoJSON/GeoJSONGeometryReaders.swift:41-48 \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":"Sources/ImmersiveMap/Layers/GeoJSON/GeoJSONGeometryReaders.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c62df86d42533c4e98939665fdd20285f7809cefdb87c5ea164b6dac1ba4f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Sources/ImmersiveMap/Render/Math/Matrix.swift:73-80 | Sources/ImmersiveMap/Render/Math/Matrix.swift:83-90 | Sources/ImmersiveMap/Render/Math/Matrix.swift:93-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 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":"Sources/ImmersiveMap/Render/Math/Matrix.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c27f85b691a48ab5b3ec50c9ea45f6ac6fad9c087e5b2bac9e4ba76cffe9969"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift:205-217 | Sources/ImmersiveMap/UI/Gestures/MapGestureControllerMac.swift:261-278 \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":"Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"06458d04a71ea2371b78769a2a5af772b6a9c5c5e21bc05fcc2491c22ea7fba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:2249-2261 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:2276-2288 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift"},"region":{"startLine":2249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a4e660009a60ac39194374210aa5a4a44365d6d2cef755029407c27b2d5e9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/ImmersiveMap/Labels/Road/RoadLabelCache.swift:132-140 | Sources/ImmersiveMap/Labels/Road/RoadLabelCache.swift:143-151 \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":"Sources/ImmersiveMap/Labels/Road/RoadLabelCache.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5180c2638cd6856b78afd726ce2bc0a0805a41c2eed194a3812fee93493f8446"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/TileFlattening/Sweep.swift:820-827 | Sources/TileFlattening/Sweep.swift:830-837 \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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c459ea8ddcd4dd6c49cf01c634ec3fb7ff70cf2cd6b9146ea18c058b01bfbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): Sources/ImmersiveMap/Labels/POI/PoiIconRendering.swift:20-26 | Sources/ImmersiveMap/Layers/ImmersiveMapLayer.swift:185-191 | Sources/ImmersiveMap/Layers/ImmersiveMapLayer.swift:219-227 \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":"Sources/ImmersiveMap/Labels/POI/PoiIconRendering.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c269b5f5c3747ca16ea5d087434f250ab7aca3745922469708a600b011c9f29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/ImmersiveMap/Pins/ImmersiveMapPinsController.swift:246-257 | Sources/ImmersiveMap/Pins/ImmersiveMapPinsController.swift:259-270 \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":"Sources/ImmersiveMap/Pins/ImmersiveMapPinsController.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ecd5690161fc65ca8672a02ab7db563378e8f88bb32099b272e5dfc82bafd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/ImmersiveMap/Utils/Math/CameraBearingFollowMath.swift:65-76 | Sources/ImmersiveMap/Utils/Math/CameraPitchFollowMath.swift:29-36 \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":"Sources/ImmersiveMap/Utils/Math/CameraBearingFollowMath.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2bc7fd1cb9ebc3de3a518aeb63cff93f8d01423e0519f634ef0b7583d4c639"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/ImmersiveMap/Tile/Parse/Contract/ParsedLabelKey.swift:11-22 | Sources/ImmersiveMap/Tile/Parse/Contract/ParsedLabelKey.swift:24-35 \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":"Sources/ImmersiveMap/Tile/Parse/Contract/ParsedLabelKey.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f57f8941ca950bbc3c1e5c91bd9fa51f7e3ee962fdf4d169e316ac6cf0c87e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/ImmersiveMap/Globe/GlobeLightUniform.swift:31-35 | Sources/ImmersiveMapDebug/Panel/DebugOverlaySunAngles.swift:17-23 \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":"Sources/ImmersiveMap/Globe/GlobeLightUniform.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd6b16134c17db93e36915576f88492138f97c9e240d433c77472981d7f0bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/ImmersiveMap/Layers/Selection/LayerSelection.swift:88-100 | Sources/ImmersiveMap/SceneModels/Selection/SceneModelSelection.swift:73-83 \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":"Sources/ImmersiveMap/Layers/Selection/LayerSelection.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e058bb2883fc0ee54a7e6589e3a1f0ca4508386b987f6d9f3ecd701424c407"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/ImmersiveMap/Style/Default/ProtomapsBasemapDefaultMapStyle.swift:193-201 | Sources/ImmersiveMap/Style/FeatureStyle.swift:740-752 \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":"Sources/ImmersiveMap/Style/Default/ProtomapsBasemapDefaultMapStyle.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"931cf960c7ba1b11379d9e91966d1a4cdd183b37aa216312648b6119ad5d5f43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/ImmersiveMap/Style/FeatureStyle.swift:697-705 | Sources/ImmersiveMap/Style/FeatureStyle.swift:784-792 \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":"Sources/ImmersiveMap/Style/FeatureStyle.swift"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c608feafc3a9b1ee5d3ce02ee389716bc3ba4c73609acf85782aa5e587a7f56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/ImmersiveMap/Tile/Loading/TileLoadingStatusReporter.swift:637-645 | Sources/ImmersiveMap/Tile/Loading/TileLoadingStatusReporter.swift:663-673 \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":"Sources/ImmersiveMap/Tile/Loading/TileLoadingStatusReporter.swift"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"3589d40542a18bf91b2b24d29a79105fce198c7587f468716633511057ef8534"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/ImmersiveMap/UI/ImmersiveMapView.swift:891-901 | Sources/ImmersiveMap/UI/ImmersiveMapView.swift:1106-1116 \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":"Sources/ImmersiveMap/UI/ImmersiveMapView.swift"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4cf49cf4f389368529c635872eaab9aebfa2d7b3a1799166a350d3ddd58134"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Sources/Mvt/MvtTileDecoder.swift:300-309 | Sources/Mvt/MvtTileDecoder.swift:311-320 \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":"Sources/Mvt/MvtTileDecoder.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5d86f698ef40550241a1873d9a16e99abf30afd7103b399ec53cd618df5c15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): Sources/ImmersiveMap/Labels/Road/RoadLabelCache.swift:522-531 | Sources/ImmersiveMap/Tile/Parse/Roads/LineFeatureReader.swift:404-413 | Sources/ImmersiveMap/Tile/Parse/Roads/RoadDirectionArrowGeometryBuilder.swift:186-196 \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":"Sources/ImmersiveMap/Labels/Road/RoadLabelCache.swift"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"762b942d92bc7c0128168587416be3b273dfc5e83a93e9fc80913e17e0466361"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift:1574-1580 | Sources/ImmersiveMap/Style/ImmersiveMapTreePalette.swift:21-27 \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":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"3436d9afadbb119afbd5a1b7f28fe2487d721840cfe02c3b636fddcee295192f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/ImmersiveMap/UI/AttributionBadgeView.swift:68-79 | Sources/ImmersiveMap/UI/AttributionBadgeViewMac.swift: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":"Sources/ImmersiveMap/UI/AttributionBadgeView.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"18180068a3767e9ab628e7703ca1e5588ad957a4df6fce8a3100233b387093f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:66-77 | Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift:68-79 \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":"Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5fb3bea2d4f6f2a6b955ca892ac2cd9f816a3d6b2ef4994727dff41df6572e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/ImmersiveMap/Tile/Relief/Frame/GroundReliefFrame.swift:180-188 | Sources/ImmersiveMap/Tile/Relief/Frame/GroundReliefFrame.swift:208-216 \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":"Sources/ImmersiveMap/Tile/Relief/Frame/GroundReliefFrame.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c5fbd3c1aeea8302e1f67bfd4f6baf87d444ca19f22cbfa9b3ee709f6d4011"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/Earcut/EarcutHoleBridgeIndex.swift:91-98 | Sources/Earcut/EarcutHoleBridgeIndex.swift:106-113 \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":"Sources/Earcut/EarcutHoleBridgeIndex.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fa99e826d3f06e64029a03a95d7ab3da0e922cc2f65b280602cc5b35cd8758"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift:178-185 | Sources/ImmersiveMap/SceneModels/Presentation/SceneModelPresentationStateStore.swift:31-38 \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":"Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df503804097bed3a67311d65646f851ed786d9e7170dd0bdf33b158c77d1fb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift:341-354 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDContent.swift:183-196 \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":"Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"5706a93dcbb8cc1e916d4d81a5a7fbb3ac7b0e56b80f4d01c0cbf82dc5d5fda3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift:151-159 | Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift:370-376 \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":"Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26764acc063f3f7feb5a5d791d93973e698e2ff4fd21b64f67c4781df6a5597"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:1169-1174 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:1178-1183 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:1200-1205 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:1221-1226 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2be04431d65545d1c952d1284c8795bd4594acc332066d75b1fd0026a62eb17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift:815-825 | Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift:827-838 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Loading/ImmersiveMapNeedsTile.swift"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"908c356937ccfe2b850573101e877950e122cec9699560cbf13a21cf3a346de0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Sources/ImmersiveMap/Geo/GeoScreenProjectionMath.swift:184-187 | Sources/ImmersiveMap/Pins/Clustering/PinCollisionMath.swift:155-158 | Sources/ImmersiveMap/Tile/Projection/TilePointScreenProjector.swift:520-523 \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":"Sources/ImmersiveMap/Geo/GeoScreenProjectionMath.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98dfa167e7cddccb7b933a3fdccc87650d9df94ab76648183e2f32628329234"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Sources/ImmersiveMap/Tile/Loading/TileLoadingStatusReporter.swift:32-44 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDContent.swift:92-106 \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":"Sources/ImmersiveMap/Tile/Loading/TileLoadingStatusReporter.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c21fa44004cf9bc00bdcee42204cc0e2d161269a624c9ca6f1d0c5560c21bff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/ImmersiveMap/UI/ControlZone/ZoomControlZone.swift:51-58 | Sources/ImmersiveMap/UI/ControlZone/PitchControlZone.swift:50-57 \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":"Sources/ImmersiveMap/UI/ControlZone/ZoomControlZone.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1621b0794284330e128363b961fafa5f65a7c485a726651f946241c77f236531"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:2021-2028 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:2030-2038 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift"},"region":{"startLine":2021}}}],"partialFingerprints":{"codehealthFindingId/v1":"87df3f7b616aa5c0e014744d1d3cda84ea9a102d59174f2d150dbbfaad4dfd8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/ImmersiveMap/Camera/CameraConstraintResolver.swift:88-95 | Sources/ImmersiveMap/UI/Camera/ImmersiveMapCameraSnapshot.swift:72-79 \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":"Sources/ImmersiveMap/Camera/CameraConstraintResolver.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f311291b200ac24d5961f0aba5b2bc96466a12fa7682fb525e86e48902aa26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/ImmersiveMap/Starfield/StarfieldModel.swift:115-121 | Sources/MvtTestSupport/MvtSplitMix64Generator.swift:17-23 \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":"Sources/ImmersiveMap/Starfield/StarfieldModel.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc1a64a27865e0ca8fbe6cad9bd4d0eb35609d55ae4f33e18650515bac21106"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:1119-1121 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3314-3316 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1953f9a29cbb6b4b07acd473504ffc009fb5b274c2a982df7664780dde1f7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:1224-1226 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3410-3412 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"14677bc74fa3d70376d0c936940df64587ae30e2e7f4021ad0988dbb4ffbd807"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/PMTiles/PMTilesVarint.swift:45-52 | Sources/PMTilesTestSupport/PMTilesArchiveWriter.swift:174-181 \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":"Sources/PMTiles/PMTilesVarint.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d4156bf055d69e3ae20d690d92788b3c65a4cffaf74df69f85df1412a176b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift:324-335 | Sources/ImmersiveMap/UI/Gestures/MapGestureControllerMac.swift:352-363 \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":"Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"739c76c76d275498f576452b8e7d25226b4e00c0370b75fa8633a79a1abc0ac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/ModelTileFormat/ModelTile.swift:70-76 | Sources/ModelTileFormat/ModelTileContents.swift:186-192 \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":"Sources/ModelTileFormat/ModelTile.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f241c1579cf9023ccf91bac45a766f9dad7863dcc1b67690d96f08d07833a86f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/ImmersiveMap/Layers/Cache/LayerMeshDiskCache.swift:28-32 | Sources/ImmersiveMap/Tile/Loading/TileArchiveDepths.swift:34-38 \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":"Sources/ImmersiveMap/Layers/Cache/LayerMeshDiskCache.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"847cd35e64f1bdfc675e6025768071def2e2a0f75384806005a6e120abf23958"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Sources/ImmersiveMap/Camera/CameraBoundsConstraint.swift:161-169 | Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift:117-125 | Sources/ImmersiveMap/Utils/Math/CameraPathFollowMath.swift:42-50 \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":"Sources/ImmersiveMap/Camera/CameraBoundsConstraint.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b977cb9fa2427e67029535f9ab4d73de456bb24c7845e0f25974c0eab9c5d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/ImmersiveMap/SceneModels/Presentation/SceneModelAnimationMath.swift:91-96 | Sources/ImmersiveMap/Utils/Math/CameraPathFollowMath.swift:66-69 \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":"Sources/ImmersiveMap/SceneModels/Presentation/SceneModelAnimationMath.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c13e295060aac24d60c752b881eb7bf867d49d5129a61acfeddfa9a66307fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Sources/PMTiles/PMTilesWriter.swift:51-56 | Sources/PMTilesTestSupport/PMTilesArchiveWriter.swift:20-25 \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":"Sources/PMTiles/PMTilesWriter.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d28e08da1f46fe30db1ab79c97cb69e10416297f7bc2c988eda8ed2c8ffe36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift:2482-2485 | Sources/ImmersiveMap/UI/ImmersiveMapView.swift:417-421 \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":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift"},"region":{"startLine":2482}}}],"partialFingerprints":{"codehealthFindingId/v1":"716602e1241035ea8a44a38ffd5038073905d228a8fefdb2941f81319a2acf6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/ImmersiveMap/Globe/GlobeLightUniform.swift:102-105 | Sources/ImmersiveMap/GroundFog/GroundFogUniform.swift:243-246 \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":"Sources/ImmersiveMap/Globe/GlobeLightUniform.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee36f17ee11638ab31decdb94043a0517ee8f29570e6d9f12762e3816b5c9bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/ImmersiveMap/Pins/ImmersiveMapPinsController.swift:190-192 | Sources/ImmersiveMap/SceneModels/ImmersiveMapSceneModelsController.swift:86-88 \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":"Sources/ImmersiveMap/Pins/ImmersiveMapPinsController.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"9730702807a4162fdc25ade4635e6a88a502117b43294277f15d11e722443c75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/ImmersiveMap/Globe/GlobeCapRenderer.swift:120-122 | Sources/ImmersiveMap/Style/Default/ProtomapsBasemapDefaultMapStyle\u002BRoads.swift:251-253 \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":"Sources/ImmersiveMap/Globe/GlobeCapRenderer.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3729fb179b28cb3a8d335d1ab0f762d6793ff4f0e1d1eb84922f91c4f6ef614e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift:1160-1166 | Sources/ImmersiveMap/Style/Default/ProtomapsBasemapTheme.swift:223-231 \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":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"07832f7d53f74e016e8b126bc211fca137e0b067a78196b78742069fd81f5b2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): Sources/ImmersiveMap/Utils/Math/CameraBearingFollowMath.swift:15-21 | Sources/ImmersiveMap/Utils/Math/CameraPathFollowMath.swift:19-22 | Sources/ImmersiveMap/Utils/Math/CameraPitchFollowMath.swift:20-26 | Sources/ImmersiveMap/Utils/Math/GlobeCameraPanInertiaMath.swift:41-47 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Utils/Math/CameraBearingFollowMath.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9273cf3dfaedbc2c9ac05a330647827520e771f3f42a058929c252d361bc1f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/ImmersiveMap/UI/Camera/CameraBearingFollow.swift:15-18 | Sources/ImmersiveMap/UI/Camera/CameraPitchFollow.swift:14-17 \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":"Sources/ImmersiveMap/UI/Camera/CameraBearingFollow.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea0a8201833d264f4d5ca43ff442537a3e2968ad7015a8d3d13a94a16d8c31d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Sources/ImmersiveMap/Style/ImmersiveMapVectorTileStyle.swift:140-142 | Sources/ImmersiveMap/Style/MapStyleRuntime.swift:98-100 \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":"Sources/ImmersiveMap/Style/ImmersiveMapVectorTileStyle.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4564d83b1f0c7dd83ce71453c2e6051c37ed36d8739b8e1f40444d66f8ba79f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201331 lines \u00D7 2): Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTilePipeline.swift:45-72 | Sources/ImmersiveMap/SceneModels/Pipelines/SceneModelPipeline.swift:46-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTilePipeline.swift:43\u0060 calls \u0060makeFunction\u0060 and \u0060Sources/ImmersiveMap/SceneModels/Pipelines/SceneModelPipeline.swift:44\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":"Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTilePipeline.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb2f413ce0500d93f805dd0f4080009715a899337f1ca7cbe91329387ae6090"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:80-105 | Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift:82-107 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift\u0060 and \u0060Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:80\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060frame\u0060 to \u0060NSRect\u0060 in one and \u0060CGRect\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:107\u0060 calls \u0060makeBackingLayer\u0060, \u0060CAMetalLayer\u0060 and \u0060Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift:109\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cfa7a0145188f6ac2f8babd7c3e23a3e22a3af46e16e5842fcd349fc4a662c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift:148-172 | Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift:267-290 \u2014 both copies are in the same file, so extract the block 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, \u0060Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift:177\u0060 calls \u0060setStencilReferenceValue\u0060, \u0060reference\u0060 and \u0060Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift:292\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":"Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d530fb620f0a5deb86c24aefd76558da89d61804fc0d66a48341f3a700956382"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:275-299 | Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift:217-241 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift\u0060 and \u0060Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:275\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"8778d50de38e0a916083af4df21b4e57135e2f90d8fa065ca48445d2f213cdee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 2): Sources/Mvt/MvtGeometryDecoder.swift:107-129 | Sources/Mvt/MvtGeometryDecoder.swift:160-179 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Mvt/MvtGeometryDecoder.swift:107\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"Sources/Mvt/MvtGeometryDecoder.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcb95b6fb5fbcc69f8aa10a9dad416269d085537daedef69cee635181db9277"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:221-242 | Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift:163-184 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift\u0060 and \u0060Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:221\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it 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":"Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5b769b1fb5009adb56abcd9aebaf643801f69288248c144c5998ad6f08b97f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Sources/ImmersiveMap/UI/AttributionBadgeView.swift:109-129 | Sources/ImmersiveMap/UI/AttributionBadgeViewMac.swift:120-140 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/UI/AttributionBadgeView.swift\u0060 and \u0060Sources/ImmersiveMap/UI/AttributionBadgeViewMac.swift\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/AttributionBadgeView.swift"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67626998224217c684608e7c421a39d0b4df00e9cca658a44540151ee342262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:251-270 | Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift:193-212 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift\u0060 and \u0060Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6a4d328b18e1b1b55c3fd9cf1f06d570eb1c7737438e166b3be9c96abcaf74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift:184-203 | Sources/ImmersiveMap/UI/Gestures/MapGestureControllerMac.swift:189-208 \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 \u0060Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec49362389b618798504262601c2b45a8fded4db042af96a7450012d2fdea54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift:272-289 | Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift:450-467 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift\u0060 and \u0060Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060event\u0060 to \u0060BaseLabelTraceEvent\u0060 in one and \u0060TileTraceEvent\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":"Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e2ae953771f1fc49660dfbd8ffbc18e0e4f30e406e0c221fa364f9fbe7fd3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift:128-145 | Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift:249-264 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift:128\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d2164ba62b4194887b709ded0c2b1437e36ad9f08e7e6b28ab21ff539e11e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift:143-159 | Sources/ImmersiveMap/UI/Gestures/MapGestureControllerMac.swift:136-152 \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":"Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bd34f1b1ad150399879d884bbbaea5dcbb146848b299bb989148b915163426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTilePipeline.swift:69-84 | Sources/ImmersiveMap/SceneModels/Pipelines/SceneModelPipeline.swift:84-98 \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":"Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTilePipeline.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01d9fd73e1a2be3ae9b235d37045b8e93c04dc0fef527cb501ccd68013be723"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): Sources/ImmersiveMap/UI/ControlZone/PitchControlZone.swift:34-48 | Sources/ImmersiveMap/UI/ControlZone/ZoomControlZone.swift:34-49 \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 \u0060Sources/ImmersiveMap/UI/ControlZone/PitchControlZone.swift:34\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/ControlZone/PitchControlZone.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae2d66f62d573b6bca43a76fbf6538be9aa0fe8676a25e8b961877ee2a6bc7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/ImmersiveMap/UI/Runtime/ImmersiveMapPinRuntime.swift:21-36 | Sources/ImmersiveMap/UI/Runtime/ImmersiveMapSceneModelRuntime.swift:21-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 \u0060Sources/ImmersiveMap/UI/Runtime/ImmersiveMapPinRuntime.swift:21\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it 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":"Sources/ImmersiveMap/UI/Runtime/ImmersiveMapPinRuntime.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a9ef6d6051f40f0f4c8c8b243233fa7d90502188922f069e99b8b79e3ddfa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:212-226 | Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift:154-168 | Sources/ImmersiveMap/UI/Runtime/ImmersiveMapHostRuntime.swift:130-144 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift\u0060 and \u0060Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:212\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9aeb901fbe317b0c65c451ed224ad93611da5a1ab61505e5f921c74571755ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift:3176-3190 | Sources/ImmersiveMap/UI/ImmersiveMapView.swift:1540-1554 \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":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift"},"region":{"startLine":3176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5530fb56b5ab295004bf982ba1536c50a16b6a6fcb339835c87fff8bab68dcff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/ImmersiveMap/Pins/Pipelines/PinPipeline.swift:15-29 | Sources/ImmersiveMap/Pins/Pipelines/PinPipeline.swift:49-63 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Pins/Pipelines/PinPipeline.swift:15\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Pins/Pipelines/PinPipeline.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a26298071295f5cf0fa9ce32c209815dd262b307a85f2de958caa8809082e0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Sources/ImmersiveMap/Text/TextRenderer.swift:555-569 | Sources/ImmersiveMap/Text/TextRenderer.swift:836-850 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Text/TextRenderer.swift:555\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Text/TextRenderer.swift"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2f2153f87c4dd69c6cf1f37b7cc0a5d97e771b6f84bb615d8d3407b89e2604"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:228-241 | Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift:170-183 | Sources/ImmersiveMap/UI/ImmersiveMapView.swift:1560-1574 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift\u0060 and \u0060Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:228\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fd04df191539ba840c59b0ac36a77f44821780187f4c0e13c8fa2c5c9ff539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): Sources/ImmersiveMap/Render/Bootstrap/SharedRenderResources.swift:573-586 | Sources/ImmersiveMap/Render/Bootstrap/SharedRenderResources.swift:601-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. 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":"Sources/ImmersiveMap/Render/Bootstrap/SharedRenderResources.swift"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe346fcf40d82b6d494e0e79360a38733ada040432236adc345e2440ac1b4c48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/ImmersiveMap/Render/Core/FrameAttachmentStore.swift:161-174 | Sources/ImmersiveMap/Render/Core/FrameAttachmentStore.swift:184-197 \u2014 both copies are in the same file, so extract the block 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":"Sources/ImmersiveMap/Render/Core/FrameAttachmentStore.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4076b231807715dae1e637dfcde45abcc0553472f6120476120644841a5d0aea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift:161-174 | Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift:378-391 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift\u0060 and \u0060Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift:161\u0060 it does not close everything it opens, so those exact 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, \u0060Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift:175\u0060 calls \u0060resetQueueCounters\u0060 and \u0060Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift:392\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":"Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75e3137f9332ccf36ba1dec5bd6eeb3cf45ce3253b2633dcecd576af81ea823"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift:180-193 | Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift:292-305 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift:180\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift:177\u0060 calls \u0060setStencilReferenceValue\u0060, \u0060reference\u0060 and \u0060Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift:290\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":"Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"037f7962c5542a1ca2be7c71b4d4e4945745a7f9f238230d19d159d3cdaf3fa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201313 lines \u00D7 4): Sources/ImmersiveMap/Geo/GeoScreenProjectionMath.swift:70-82 | Sources/ImmersiveMap/Globe/GlobeFrameConstantsUniform.swift:64-75 | Sources/ImmersiveMap/Globe/GlobeVisibilityModel.swift:166-168 | Sources/ImmersiveMap/Tile/Projection/TilePointScreenProjector.swift:506-518 \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 \u0060Sources/ImmersiveMap/Geo/GeoScreenProjectionMath.swift:70\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it 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":"Sources/ImmersiveMap/Geo/GeoScreenProjectionMath.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a3c1d22239d7c2c4cd987de21a8ee389ff9a471e73519f6ff737bf1634a799"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift:66-78 | Sources/ImmersiveMap/SceneModels/Presentation/SceneModelAnimationMath.swift:98-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd026cd5ba4c06e94a5af06124244bc4110a5a0f3ee790c9c7f810f64f272e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift:229-241 | Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift:259-271 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift:229\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca243679a5650b405c1b5553bea13954f62115bc9c5ece8af8929571c6594d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:158-170 | Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift:137-149 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift\u0060 and \u0060Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:158\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e53da9632fea3452016c56351d339a26bce7e1dd3d2aa3357df1fee61636d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift:23-32 | Sources/ImmersiveMap/Starfield/StarfieldPipeline.swift:47-56 | Sources/ImmersiveMap/Tile/Pipelines/TilePipeline.swift:207-218 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift\u0060 and \u0060Sources/ImmersiveMap/Starfield/StarfieldPipeline.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcec8caf1065504cc99abc8e74e1652972a356a191ec5dd01e77c714c228837a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/ImmersiveMap/Globe/Drawers/GlobeVectorSurfaceDrawer.swift:138-149 | Sources/ImmersiveMap/Globe/Drawers/GlobeVectorSurfaceDrawer.swift:163-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/ImmersiveMap/Globe/Drawers/GlobeVectorSurfaceDrawer.swift:152\u0060 calls \u0060pushDebugGroup\u0060, \u0060setDepthStencilState\u0060, \u0060selectSphereClassPipeline\u0060 and \u0060Sources/ImmersiveMap/Globe/Drawers/GlobeVectorSurfaceDrawer.swift:186\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":"Sources/ImmersiveMap/Globe/Drawers/GlobeVectorSurfaceDrawer.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23d3e45aa9ff66c0b185fac5ed6c4b7403b24f42fc046dcbd159f25fe5362b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Sources/ImmersiveMap/Labels/POI/PoiSpriteAtlas.swift:227-238 | Sources/ImmersiveMap/Pins/Textures/PinTextureAtlas.swift: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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Labels/POI/PoiSpriteAtlas.swift:227\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Labels/POI/PoiSpriteAtlas.swift"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c139e4391e4377b3b9fe3734c898b06aa4b2888948e36c384fc84218adbd8c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift:51-62 | Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift:24-35 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift\u0060 and \u0060Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift:51\u0060 it does not close everything it opens, so those exact 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":"Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"662eb4cf2e119de686247418688436111b527b8c2fa7359487990601c2935777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:1087-1117 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:1192-1222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:1087\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd82b65495bb87fe2e1a7b20b6055b7759d4e9b5380378766a6d20004611f83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3282-3312 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3378-3408 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3282\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift"},"region":{"startLine":3282}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac74404f268b36daea50ce109d2a664e63f6f39ad0380158124af062a7a6d33f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift:2667-2677 | Sources/ImmersiveMap/UI/ImmersiveMapView.swift:1047-1057 \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 \u0060Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift:2667\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift"},"region":{"startLine":2667}}}],"partialFingerprints":{"codehealthFindingId/v1":"329114cd3ac9d0e1b2f73cf62537d3f1999af176ec7586dcd890502050d0631b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/ImmersiveMap/Globe/Drawers/GlobeVectorSurfaceDrawer.swift:356-366 | Sources/ImmersiveMap/Tile/Raster/RasterTileRenderSubsystem.swift:402-412 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Globe/Drawers/GlobeVectorSurfaceDrawer.swift"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3949cc8c9b1254d135582b82f3a209c840ae730a1b8b4fec521b45fd4c5439f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/ImmersiveMap/Layers/GeoJSON/GeoJSONContainerReaders.swift:10-20 | Sources/ImmersiveMap/Layers/GeoJSON/GeoJSONContainerReaders.swift:49-59 \u2014 both copies are in the same file, so extract the block 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":"Sources/ImmersiveMap/Layers/GeoJSON/GeoJSONContainerReaders.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25cc87ab9e712e46b98efe40e112aed8cc09e5c6d2429ac215016594f489ac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): Sources/ImmersiveMap/Layers/Selection/LayerSelection.swift:67-75 | Sources/ImmersiveMap/SceneModels/Selection/SceneModelSelection.swift:52-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Layers/Selection/LayerSelection.swift: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. 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":"Sources/ImmersiveMap/Layers/Selection/LayerSelection.swift"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2e2b20f6d189cc653488f9f5b214e3b8d17e20c985a6a2d2adf882bdfa05b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/ImmersiveMap/Pins/Textures/PinShapeDistanceField.swift:28-38 | Sources/ImmersiveMap/Pins/Textures/PinShapeDistanceField.swift:57-67 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Pins/Textures/PinShapeDistanceField.swift:28\u0060 it does not close everything it opens, so those exact 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":"Sources/ImmersiveMap/Pins/Textures/PinShapeDistanceField.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4124727be5b368c2be6de61c47f3bb881ff0c84b155c271e42574f80c947082e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift:105-115 | Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift:118-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 \u0060Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift:105\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it 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":"Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc61c683e07579f3ee20e4e48e1bb5ea4b5ec7b744b32db1612930d6a5db022"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift:90-99 | Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift:223-233 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift: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":"Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b7fbbfe2da99dcf03cf9ebdbee6c38ca00c0ce9f62658f94ce63ca18f51419"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/ImmersiveMap/UI/AttributionBadgeView.swift:183-193 | Sources/ImmersiveMap/UI/AttributionBadgeViewMac.swift:194-204 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/UI/AttributionBadgeView.swift\u0060 and \u0060Sources/ImmersiveMap/UI/AttributionBadgeViewMac.swift\u0060 as WHOLE FILES: this scan already matched 5 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. 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":"Sources/ImmersiveMap/UI/AttributionBadgeView.swift"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25dda28e1f36f163b0ee3325847eb78010d5ed951af8addfa46318d042f49a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/Mvt/MvtTileDecoder.swift:94-104 | Sources/Mvt/MvtTileDecoder.swift:175-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/Mvt/MvtTileDecoder.swift:94\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Mvt/MvtTileDecoder.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4444bd1b23bb16ab12dc9b427a845bf3c4629a1d6da7d705e402f5a0f9f7ab68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift:21-30 | Sources/ImmersiveMap/Starfield/StarfieldPipeline.swift:45-54 | Sources/ImmersiveMap/Tile/Pipelines/ExtrudedTilePipeline.swift:54-63 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift\u0060 and \u0060Sources/ImmersiveMap/Starfield/StarfieldPipeline.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb25ece845265f3c0ffc370ca371209f72096d7a755a5d7f3365e4d3f8b8f75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): Sources/ImmersiveMap/Geo/GeoScreenProjectionMath.swift:167-176 | Sources/ImmersiveMap/Tile/Projection/TilePointScreenProjector.swift:397-403 \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 \u0060Sources/ImmersiveMap/Geo/GeoScreenProjectionMath.swift:167\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it 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":"Sources/ImmersiveMap/Geo/GeoScreenProjectionMath.swift"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3be1a459858d15f5bd4e136833785c284f97537152eda0b8c6b2e9930eb78e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift:288-297 | Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift:343-352 \u2014 both copies are in the same file, so extract the block 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":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40180d9eae06eb15f9cc6e16e992097d911fbb4525e6a5edb7f27572850c142"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift:765-774 | Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift:842-848 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift:765\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb7d116402b28571427186b442e767d2a79a01d61913361add7291b4038a923"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/ImmersiveMap/Schema/ImmersiveMapFeatureProperties.swift:57-66 | Sources/ImmersiveMap/Style/Default/ProtomapsBasemapDefaultMapStyle.swift:247-256 \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 \u0060Sources/ImmersiveMap/Schema/ImmersiveMapFeatureProperties.swift:57\u0060 it does not close everything it opens, so those exact 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":"Sources/ImmersiveMap/Schema/ImmersiveMapFeatureProperties.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4748c8d4c245dd44d37683b047f5e7d21aacdba2fcc74d6e2940ae97d64e501"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift:76-85 | Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift:393-402 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift:404\u0060 calls \u0060reserveCapacity\u0060 and \u0060Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift:87\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbf957b0c041beebdaeebc00332b7a5e3c6d793a4593a10e9b7d48742e36bcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:846-855 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3062-3071 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060color\u0060 to \u0060UIColor\u0060 in one and \u0060NSColor\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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"f668a5819ff2be554c93f81e81ba066af7a7c1e4969e5cfc262ea3406c00c0d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 9): Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift:29-37 | Sources/ImmersiveMap/Labels/Surface/SurfaceLabelPipeline.swift:39-45 | Sources/ImmersiveMap/Layers/LayerPipeline.swift:44-50 | Sources/ImmersiveMap/Pins/Pipelines/PinBeamPipeline.swift:42-50 | Sources/ImmersiveMap/Pins/Pipelines/PinPipeline.swift:27-33 | Sources/ImmersiveMap/Pins/Pipelines/PinPipeline.swift:61-67 | Sources/ImmersiveMap/Starfield/StarfieldPipeline.swift:53-61 | Sources/ImmersiveMap/Text/TextRenderer.swift:952-960 | Sources/ImmersiveMap/Tile/Pipelines/TilePipeline.swift:215-223 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift\u0060 and \u0060Sources/ImmersiveMap/Labels/Surface/SurfaceLabelPipeline.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"367ec976775e226c10c96681dac6e8e7f7f3671005bf134b15d4855ddf7b20d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift:2996-3004 | Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift:3046-3054 | Sources/ImmersiveMap/UI/ImmersiveMapView.swift:1390-1398 | Sources/ImmersiveMap/UI/ImmersiveMapView.swift:1432-1440 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift"},"region":{"startLine":2996}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe541a6084e7144f666a45939901a0b80171b453a837f3a9adc3f6dd8b59ea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/ImmersiveMap/Geo/GeoGreatCircleMath.swift:26-34 | Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift:30-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Geo/GeoGreatCircleMath.swift:26\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Geo/GeoGreatCircleMath.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f359603717cfc2eb7d4eb0a4544ac65bee12b3539e9ccd41854bcfdfe4a7d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/ImmersiveMap/Labels/Base/BaseLabelVisibilityResolver.swift:84-92 | Sources/ImmersiveMap/Labels/Base/BaseLabelVisibilityResolver.swift:129-137 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Labels/Base/BaseLabelVisibilityResolver.swift:84\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Labels/Base/BaseLabelVisibilityResolver.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab75ada795b7cd0101d9ba22caae046e806b5141038ff61435b06dd86ea0da0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift:309-317 | Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift:358-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 \u0060Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift:309\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1299840fccdee51e7146dae6a0779ce982dfe045103cccdb16132a544c55ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/ImmersiveMap/Render/Bootstrap/SharedRenderResources.swift:340-348 | Sources/ImmersiveMap/Render/Core/RenderPersistentContext.swift:143-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. Note what the matched lines are: every one of them assigns one field to another, so the block is a hand-written mapper between two data shapes rather than behaviour with a helper inside it. Extracting one shared function only works if both sites map the SAME pair of types in the same direction \u2014 check that first, because inverse or differently-typed mappers have no single function they can both call. Where they do not, the moves that exist are a generated or reflective mapper, a common embedded/base type the fields live on once, or accepting the run and covering it with a test that fails when a field is added to one side only."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Render/Bootstrap/SharedRenderResources.swift"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ff8b2223d991271ab3fcef8fc6d9de43f535c8fa6f210e92c83abf942ad8cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift:843-851 | Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift:949-957 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift:843\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"da864f78d610aff0135a93cb11b44e6bdfe0b76885bb3758d6fe69efbfbcdbe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:420-428 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:484-492 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d9d2bd2423ae1e291bbea05b0915af7d2008f6a03a35a4461e080a78226f35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 10): Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift:32-39 | Sources/ImmersiveMap/Labels/Surface/SurfaceLabelPipeline.swift:42-47 | Sources/ImmersiveMap/Layers/LayerPipeline.swift:47-52 | Sources/ImmersiveMap/Pins/Pipelines/PinBeamPipeline.swift:45-52 | Sources/ImmersiveMap/Pins/Pipelines/PinPipeline.swift:30-35 | Sources/ImmersiveMap/Pins/Pipelines/PinPipeline.swift:64-69 | Sources/ImmersiveMap/Render/Debug/Pipelines/PolygonsPipeline.swift:36-41 | Sources/ImmersiveMap/Text/TextRenderer.swift:955-962 | Sources/ImmersiveMap/Tile/Pipelines/TilePipeline.swift:218-225 | Sources/ImmersiveMap/Tile/Raster/RasterTilePipeline.swift:43-48 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift\u0060 and \u0060Sources/ImmersiveMap/Labels/Surface/SurfaceLabelPipeline.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/ImmersiveMap/Labels/Surface/SurfaceLabelPipeline.swift:49\u0060 calls \u0060makeState\u0060, \u0060makeFunction\u0060 and \u0060Sources/ImmersiveMap/Pins/Pipelines/PinBeamPipeline.swift:54\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":"Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"48294142d73d394f2933a79f48b94ebbd1237fab885b46a9549d194d26c2f543"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift:3146-3153 | Sources/ImmersiveMap/UI/ImmersiveMapView.swift:1508-1515 \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 \u0060Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift:3146\u0060 it does not close everything it opens, so those exact 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 \u0060isEnabled\u0060 to \u0060Bool? = nil\u0060 in one and \u0060Bool = true\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":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift"},"region":{"startLine":3146}}}],"partialFingerprints":{"codehealthFindingId/v1":"104740206bfca42d87af9c44c75cea47d7a7e65e6c75c33358d36c49a92452de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift:9-16 | Sources/ImmersiveMap/Starfield/StarfieldPipeline.swift:18-25 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift\u0060 and \u0060Sources/ImmersiveMap/Starfield/StarfieldPipeline.swift\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift:9\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81610df88f06a54642d761ef521d307467a51dc5803948d806c282f7ffc8831"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/ImmersiveMap/Labels/Base/BaseLabelVisibilityResolver.swift:74-81 | Sources/ImmersiveMap/Labels/Base/BaseLabelVisibilityResolver.swift:121-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 \u0060Sources/ImmersiveMap/Labels/Base/BaseLabelVisibilityResolver.swift:74\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it 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, \u0060Sources/ImmersiveMap/Labels/Base/BaseLabelVisibilityResolver.swift:82\u0060 calls \u0060min\u0060 and \u0060Sources/ImmersiveMap/Labels/Base/BaseLabelVisibilityResolver.swift:129\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":"Sources/ImmersiveMap/Labels/Base/BaseLabelVisibilityResolver.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c3ab0e2e3a9237624ec7a0317c8f0a25e8a436453cb9c29e79188bef25a946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift:1226-1233 | Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift:1277-1284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift:1226\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"3693fec77f6c46410cbade0b0903cd6d2b3eb4da273f509f0d1dfc450056a8a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift:19-26 | Sources/ImmersiveMap/SceneModels/Presentation/SceneModelAnimationMath.swift:20-27 \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 \u0060Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift:19\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it 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":"Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f34bf0cbcc9f95cf80421bee3c06b49090f572c968d2aa04a1f0af6002ca6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift:291-298 | Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift:469-476 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift\u0060 and \u0060Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"4033fc94630dc21a4a7c56baa9dc05d7cdd3152c1f911bca865f593566924ba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift:830-837 | Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift:934-941 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift:830\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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, \u0060Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift:828\u0060 calls \u0060makeGridSegments\u0060 and \u0060Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift:933\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":"Sources/ImmersiveMap/Render/Debug/DebugOverlayRenderer.swift"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"4387306468b6e126d337d47a4b49d71a8c176d855b202e415d0a39adca69c2ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/ImmersiveMap/Render/Math/Matrix.swift:15-22 | Sources/ImmersiveMap/Render/Math/Matrix.swift:28-35 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Render/Math/Matrix.swift:15\u0060 it does not close everything it opens, so those exact 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":"Sources/ImmersiveMap/Render/Math/Matrix.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"156d205ef484e42407d01131164b9a8c4a9039b4c1204433114842e9b412667c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileRenderSubsystem.swift:238-245 | Sources/ImmersiveMap/SceneModels/SceneModelRenderSubsystem.swift:161-168 \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 \u0060Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileRenderSubsystem.swift:238\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileRenderSubsystem.swift:249\u0060 calls \u0060depthBias\u0060 and \u0060Sources/ImmersiveMap/SceneModels/SceneModelRenderSubsystem.swift:169\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":"Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileRenderSubsystem.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"47333c43085c68b4535020a9e549c0a8e902add42110d9f4af6f521c2a42f00e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/ImmersiveMap/Style/Default/ProtomapsBasemapTheme.swift:360-367 | Sources/ImmersiveMap/Style/Default/ProtomapsBasemapTheme.swift:821-828 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Style/Default/ProtomapsBasemapTheme.swift:360\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Style/Default/ProtomapsBasemapTheme.swift"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ea5ab5d7c3041501cd094c136071def73261acd67847a258584bf73b0f9169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift:220-227 | Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift:250-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdeaebd5c428189de27fd978af57077d848c8bd2924e695b1b0a87981b479423"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift:225-233 | Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift:412-419 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift: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":"Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d5bbdc4f23b1f2899d310ea027566ad5c6bc8ffaf8f556331a5c9cc1e11b9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/ImmersiveMap/Tile/Raster/RasterTileRenderSubsystem.swift:610-617 | Sources/ImmersiveMap/Tile/Subsystems/PlacementStencilRenderSubsystem.swift:326-333 \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":"Sources/ImmersiveMap/Tile/Raster/RasterTileRenderSubsystem.swift"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ae0f429adda648b65241bbbee744d659923dabbb427e55e37150f5feceb9ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/ImmersiveMap/Tile/Subsystems/PlacementStencilRenderSubsystem.swift:211-218 | Sources/ImmersiveMap/Tile/Subsystems/PlacementStencilRenderSubsystem.swift:262-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. 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":"Sources/ImmersiveMap/Tile/Subsystems/PlacementStencilRenderSubsystem.swift"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbab1cb54181d731e5f0e63044a73866c12612af20e6e2de82d07ffc82f0c51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 9): Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift:27-33 | Sources/ImmersiveMap/Horizon/HorizonPipeline.swift:45-56 | Sources/ImmersiveMap/Labels/Surface/SurfaceLabelPipeline.swift:37-43 | Sources/ImmersiveMap/Layers/LayerPipeline.swift:42-48 | Sources/ImmersiveMap/Pins/Pipelines/PinBeamPipeline.swift:40-46 | Sources/ImmersiveMap/Pins/Pipelines/PinPipeline.swift:25-31 | Sources/ImmersiveMap/Pins/Pipelines/PinPipeline.swift:59-65 | Sources/ImmersiveMap/Starfield/StarfieldPipeline.swift:51-57 | Sources/ImmersiveMap/Tile/Pipelines/TilePipeline.swift:211-219 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift\u0060 and \u0060Sources/ImmersiveMap/Labels/Surface/SurfaceLabelPipeline.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060sampleCount\u0060 to \u0060Int = 1\u0060 in one and \u0060Int\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":"Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83d41c691ed9cf258d70e1d6705ae3358d5f7cd4b2afdaca3c74c796480fe54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Sources/ImmersiveMap/Tile/Parse/Labels/LowZoomWaterLabels.swift:48-54 | Sources/ImmersiveMap/Tile/Parse/Labels/LowZoomWaterLabels.swift:58-64 | Sources/ImmersiveMap/Tile/Parse/Labels/LowZoomWaterLabels.swift:68-74 | Sources/ImmersiveMap/Tile/Parse/Labels/LowZoomWaterLabels.swift:78-84 \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 \u0060Sources/ImmersiveMap/Tile/Parse/Labels/LowZoomWaterLabels.swift:48\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Parse/Labels/LowZoomWaterLabels.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"661264a6ca5c9135f4b50a0ea85241aafe3f41537ee87fb36c45c78525b5fc39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): Sources/ImmersiveMap/Tile/Parse/Labels/LowZoomWaterLabels.swift:91-97 | Sources/ImmersiveMap/Tile/Parse/Labels/LowZoomWaterLabels.swift:101-107 | Sources/ImmersiveMap/Tile/Parse/Labels/LowZoomWaterLabels.swift:111-117 | Sources/ImmersiveMap/Tile/Parse/Labels/LowZoomWaterLabels.swift:121-127 \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 \u0060Sources/ImmersiveMap/Tile/Parse/Labels/LowZoomWaterLabels.swift:91\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Parse/Labels/LowZoomWaterLabels.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"27997f06d2c260453f8379a50979206c88359c490f8afbbffcbe761f3783dd08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/ImmersiveMap/Geo/GeoGreatCircleMath.swift:112-118 | Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift:99-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 \u0060Sources/ImmersiveMap/Geo/GeoGreatCircleMath.swift:112\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it 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":"Sources/ImmersiveMap/Geo/GeoGreatCircleMath.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7d80b42a4404f26325e42bebeaf90f26a269e06a73f42af2ae720f6ceb6bf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/ImmersiveMap/Labels/Base/BaseLabelCache.swift:168-174 | Sources/ImmersiveMap/Labels/Base/BaseLabelCache.swift:188-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Labels/Base/BaseLabelCache.swift:168\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Labels/Base/BaseLabelCache.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d129cf0b09ff7a912d672623ba66468a20c277efbd211a1821755e3e002554c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/ImmersiveMap/Render/Math/Matrix.swift:74-80 | Sources/ImmersiveMap/Render/Math/Matrix.swift:94-100 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"Sources/ImmersiveMap/Render/Math/Matrix.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b362b6e77435347d940852c5376a883fdf2132b42ed6cb875a75612c6c81a421"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionMeshBuilder.swift:152-158 | Sources/ImmersiveMap/Tile/Parse/ParsePolygon.swift:312-318 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionMeshBuilder.swift:152\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact 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":"Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionMeshBuilder.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1006335715e26a14af151b204fbed83bb31b2ecc41927900bca58a0ebe4adc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:132-138 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:571-577 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"281720a15091aa67b680b5976ecd8bd368c5de607ab922079909c4fd02bd1602"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:646-652 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:667-673 \u2014 both copies are in the same file, so extract the block 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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca69285c049aa6a8cb06f95250a2e671c19d04df6e5af4ac0517385a6d379b2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:1054-1060 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:1153-1159 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:1054\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"d386da33c3116863991a484eed13afd271d433629f4de66a146f00f179b65d73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3248-3254 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3338-3344 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3248\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift"},"region":{"startLine":3248}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e281ca44943acd4e80c40548389baf604b2c558580435fa4d22d6ecbfe0288b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:84-90 | Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:216-222 | Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift:279-285 | Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift:86-92 | Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift:158-164 | Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift:221-227 | Sources/ImmersiveMap/UI/Runtime/ImmersiveMapHostRuntime.swift:134-140 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift\u0060 and \u0060Sources/ImmersiveMap/UI/ImmersiveMapUIView.swift\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"47358afec18b6af557adef5a977a9a4f2159cedee9be9ae6e83c4e2ef3846a11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/ImmersiveMap/Globe/Drawers/GlobeVectorSurfaceDrawer.swift:282-288 | Sources/ImmersiveMap/Tile/Drawers/FlatMapSurfaceDrawer.swift:505-511 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/ImmersiveMap/Globe/Drawers/GlobeVectorSurfaceDrawer.swift:280\u0060 calls \u0060setStencilReferenceValue\u0060, \u0060reference\u0060 and \u0060Sources/ImmersiveMap/Tile/Drawers/FlatMapSurfaceDrawer.swift:502\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":"Sources/ImmersiveMap/Globe/Drawers/GlobeVectorSurfaceDrawer.swift"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfa0ffd6d58f8124c4a45050c5785c542825b58a4874186398a781e83d3612d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift:635-640 | Sources/ImmersiveMap/Render/RenderFrameVisibilityResolver.swift:84-89 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a05142dab91b38b6cf16c7eb7e153325fd6fa68cf2485b648064a28165112ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/ImmersiveMap/SceneModels/Pipelines/SceneModelPipeline.swift:30-36 | Sources/ImmersiveMap/Starfield/StarfieldPipeline.swift:23-28 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/ImmersiveMap/Starfield/StarfieldPipeline.swift:22\u0060 calls \u0060makeFunction\u0060 and \u0060Sources/ImmersiveMap/SceneModels/Pipelines/SceneModelPipeline.swift:29\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/SceneModels/Pipelines/SceneModelPipeline.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f5b70061b00bc67c768cba576172e7f25fff25fbb8eff54759cc75fdfb22d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/ImmersiveMap/Tile/Builders/TileTextLabelsBuilder.swift:366-371 | Sources/ImmersiveMap/Tile/Builders/TileTextLabelsBuilder.swift:374-379 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Tile/Builders/TileTextLabelsBuilder.swift:366\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it 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":"Sources/ImmersiveMap/Tile/Builders/TileTextLabelsBuilder.swift"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c48ecd290a6d8a55665a45b170480b59e0935df2625f97dbb5cda28b5beb9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/ImmersiveMap/Tile/Parse/Labels/LowZoomWaterLabels.swift:42-47 | Sources/ImmersiveMap/Tile/Parse/Labels/LowZoomWaterLabels.swift:52-57 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Tile/Parse/Labels/LowZoomWaterLabels.swift:42\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Parse/Labels/LowZoomWaterLabels.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa69359de992e12a036da9c1518e2bf2ed545434fb1f11fa2e2eb5acaa2efcc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift:69-74 | Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift:200-205 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift:69\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it 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":"Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2927c6c59ce10ae377fa91723c717c1c725fe1bd610c373cf7b92dc575bf7a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/ImmersiveMap/Tile/Pipelines/PlacementStencilPipeline.swift:29-34 | Sources/ImmersiveMap/Tile/Raster/RasterTilePipeline.swift:54-59 \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":"Sources/ImmersiveMap/Tile/Pipelines/PlacementStencilPipeline.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d79d71fdf40b6197ab9c006a88fce41124d14ed1a0c4fdade6c7a0f1a275cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/ImmersiveMap/UI/AttributionBadgeView.swift:140-145 | Sources/ImmersiveMap/UI/AttributionBadgeViewMac.swift:151-156 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/UI/AttributionBadgeView.swift\u0060 and \u0060Sources/ImmersiveMap/UI/AttributionBadgeViewMac.swift\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060Sources/ImmersiveMap/UI/AttributionBadgeView.swift:140\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/AttributionBadgeView.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"62777478fc8123e56598f2536a08bdd41d508abd7a144372a2acb8ca6aa77832"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 11): Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift:31-37 | Sources/ImmersiveMap/Labels/Surface/SurfaceLabelPipeline.swift:41-45 | Sources/ImmersiveMap/Layers/LayerPipeline.swift:46-50 | Sources/ImmersiveMap/Pins/Pipelines/PinBeamPipeline.swift:44-50 | Sources/ImmersiveMap/Pins/Pipelines/PinPipeline.swift:29-33 | Sources/ImmersiveMap/Pins/Pipelines/PinPipeline.swift:63-67 | Sources/ImmersiveMap/Render/Debug/Pipelines/PolygonsPipeline.swift:35-39 | Sources/ImmersiveMap/Starfield/StarfieldPipeline.swift:55-61 | Sources/ImmersiveMap/Text/TextRenderer.swift:954-960 | Sources/ImmersiveMap/Tile/Pipelines/TilePipeline.swift:217-223 | Sources/ImmersiveMap/Tile/Raster/RasterTilePipeline.swift:42-46 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift\u0060 and \u0060Sources/ImmersiveMap/Labels/Surface/SurfaceLabelPipeline.swift\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Globe/GlobeCapPipeline.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a578cb270b772b32bc5164dbc2e1d64f54abc0069dc7940056bc3cfc773b8187"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/Earcut/EarcutEarClipping.swift:90-94 | Sources/Earcut/EarcutEarClipping.swift:124-128 | Sources/Earcut/EarcutEarClipping.swift:137-141 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Earcut/EarcutEarClipping.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc643a76bf96007d8567a4c2f287fe9c47cefb2baf548bd9f624ae2faac97987"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Sources/ImmersiveMap/Labels/Surface/SurfaceLabelRenderSubsystem.swift:176-180 | Sources/ImmersiveMap/Tile/Drawers/FlatMapSurfaceDrawer.swift:530-535 | Sources/ImmersiveMap/Tile/Relief/Frame/GroundReliefShadowCasterSubsystem.swift:126-130 | Sources/ImmersiveMap/Tile/Subsystems/PlacementStencilRenderSubsystem.swift:296-301 \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 \u0060Sources/ImmersiveMap/Labels/Surface/SurfaceLabelRenderSubsystem.swift:176\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"Sources/ImmersiveMap/Labels/Surface/SurfaceLabelRenderSubsystem.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bb7eda5f5345c759f08f4b7901a29522985da7bcb59b04558de11491d31b5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionMeshBuilder.swift:152-156 | Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionResolver.swift:385-389 | Sources/ImmersiveMap/Tile/Parse/ParsePolygon.swift:312-316 \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":"Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionMeshBuilder.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"622f46e3eeed20eab15b2e87b7faf4f727e207d105f3ee39a976062bc5ba07b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/ImmersiveMap/Camera/Frustum.swift:40-45 | Sources/ImmersiveMap/Camera/Frustum.swift:48-53 \u2014 both copies are in the same file, so extract the block 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":"Sources/ImmersiveMap/Camera/Frustum.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2b301ba4f1e2a25ded68dc40814350185bda4e0ae73aeb9c2d274bd364a555"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/ImmersiveMap/Labels/Base/LabelDistanceRules.swift:54-58 | Sources/ImmersiveMap/Tile/Visibility/RingRuleSets.swift:55-59 \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":"Sources/ImmersiveMap/Labels/Base/LabelDistanceRules.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8a75287904a9bfd20202eb0899c59413fe5c620a33772aab5a4035e7c04f8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift:300-305 | Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift:478-483 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift\u0060 and \u0060Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"d071233679b969b71ebd8888d3dce61eb4ab6a3885144144d1d5f8ea0ea9b049"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileStore.swift:286-290 | Sources/ImmersiveMap/Tile/Relief/Store/GroundReliefLoadStates.swift:109-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":"Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileStore.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d703f32200ca61c284d864ed2ac41c2aca0d5b9aebb76a9984b0000a13ce74ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift:214-218 | Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift:244-248 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift:214\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it 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":"Sources/ImmersiveMap/Tile/Builders/TileRoadLabelsBuilder.swift"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddce2277df45998533abef5291a5922ef0850fe74e8be024b8775d193b0c060c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/ImmersiveMap/Tile/Builders/TileTextLabelsBuilder.swift:370-374 | Sources/ImmersiveMap/Tile/Builders/TileTextLabelsBuilder.swift:382-386 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/ImmersiveMap/Tile/Builders/TileTextLabelsBuilder.swift:370\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it 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":"Sources/ImmersiveMap/Tile/Builders/TileTextLabelsBuilder.swift"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"841e6fee4f71c11bae7f6f4a476880e8f703bb58e7d88b767d2cf3e38d7d62a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/TileFlattening/Sweep.swift:1199-1204 | Sources/TileFlattening/Sweep.swift:1206-1211 \u2014 both copies are in the same file, so extract the block 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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe717c8135c847bcb2dc4754fb483962c091a4c56496a3c9cf121bcac321ada6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/ImmersiveMap/Geo/GeoGreatCircleMath.swift:120-128 | Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift:107-115 \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":"Sources/ImmersiveMap/Geo/GeoGreatCircleMath.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"342503c2223f0666e0131b2daace25f75076f0d15838db3080c3514c4cad9473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/ImmersiveMap/Labels/Base/BaseLabelCache.swift:88-95 | Sources/ImmersiveMap/Labels/Road/RoadLabelCache.swift:201-208 \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":"Sources/ImmersiveMap/Labels/Base/BaseLabelCache.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e303cb459589e838f6460787b576e7fca17823df84031a34c94f28dcb0eee0ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/ImmersiveMap/Layers/ImmersiveMapLayersController.swift:202-207 | Sources/ImmersiveMap/Pins/ImmersiveMapPinsController.swift:460-465 | Sources/ImmersiveMap/SceneModels/ImmersiveMapSceneModelsController.swift:285-290 \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":"Sources/ImmersiveMap/Layers/ImmersiveMapLayersController.swift"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b2a5d9da344584eb25e7a9024c9c0745f2ea96378e8589fc0eea92c0e8ac14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Sources/ImmersiveMap/Layers/ImmersiveMapLayersController.swift:212-219 | Sources/ImmersiveMap/Pins/ImmersiveMapPinsController.swift:470-477 | Sources/ImmersiveMap/SceneModels/ImmersiveMapSceneModelsController.swift:295-302 \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":"Sources/ImmersiveMap/Layers/ImmersiveMapLayersController.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f29969ec7d7e0d264ea9fc0a2304b01e9ccf3ccab3401bbcfa1801edd7340d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift:60-64 | Sources/ImmersiveMap/SceneModels/Presentation/SceneModelAnimationMath.swift:31-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92cd88aa592b3a2871b180244342ca77165f14ed6f876e7dbb169ff8b2d39c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift:209-216 | Sources/ImmersiveMap/SceneModels/Presentation/SceneModelPresentationStateStore.swift:134-141 \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":"Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d35dd2222dc1b834640ccb6307b025c3618828020bc1201fb2c9d8d92d978d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift:187-195 | Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift:403-411 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift\u0060 and \u0060Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a79dc47a19eed35c50cfb258fb64d038598413e68db5f780f49186b13cff0e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileStore.swift:317-325 | Sources/ImmersiveMap/Tile/Loading/TileDownloader.swift:30-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileStore.swift"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"129e6a59c5cdeef773a28ca0600755402f89a0ef2edbc01b5457f0066edf53d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/ImmersiveMap/UI/AttributionBadgeView.swift:41-45 | Sources/ImmersiveMap/UI/AttributionBadgeViewMac.swift:43-47 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/UI/AttributionBadgeView.swift\u0060 and \u0060Sources/ImmersiveMap/UI/AttributionBadgeViewMac.swift\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/AttributionBadgeView.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"305a144fc9bf438b5b98213079084ed696abd852396994d791fcdfeaf0d7e3e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/ImmersiveMap/UI/AttributionBadgeView.swift:84-93 | Sources/ImmersiveMap/UI/AttributionBadgeViewMac.swift:95-104 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/UI/AttributionBadgeView.swift\u0060 and \u0060Sources/ImmersiveMap/UI/AttributionBadgeViewMac.swift\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/AttributionBadgeView.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff25d08f5e19fc56e0366de5cade5c6714b000b68df3af833e498a9e7150aee0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Sources/ImmersiveMap/UI/Camera/CameraBearingFollow.swift:40-48 | Sources/ImmersiveMap/UI/Camera/CameraPitchFollow.swift:39-47 | Sources/ImmersiveMap/UI/Pan/GlobeCameraPanInertia.swift:49-57 \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":"Sources/ImmersiveMap/UI/Camera/CameraBearingFollow.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3206742887a0b9dae48ddfc0ae5eaf1def415413201faf7218a4cc29535463b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/ImmersiveMap/UI/Camera/ImmersiveMapCameraFlightController.swift:19-27 | Sources/ImmersiveMap/UI/Camera/ImmersiveMapCameraPathFollowController.swift:33-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":"Sources/ImmersiveMap/UI/Camera/ImmersiveMapCameraFlightController.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"896564934b68eff7702692a83e305f1cc8b3704e4cad751ed5286c6a436d1a33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:923-928 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3136-3141 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a77633b3110f9c353342951774cbf90fb90ee92f5d9c8d363390dbc4489fe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:930-934 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3143-3147 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b2c82850bd85b666fa9f6ea85a6a933ced79adfa02062ecf4fb5a0f6c3ae8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/ImmersiveMap/Geo/GeoGreatCircleMath.swift:99-107 | Sources/ImmersiveMap/UI/Camera/ImmersiveMapCameraControlPanel.swift:420-428 \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":"Sources/ImmersiveMap/Geo/GeoGreatCircleMath.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"66459fcf6badf5d078c5b1d2d1c38c348571f932654371f51446c4b863a05c23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/ImmersiveMap/Labels/Subsystems/BaseLabelDrawSubsystem.swift:41-45 | Sources/ImmersiveMap/Labels/Subsystems/RoadLabelDrawSubsystem.swift:76-80 \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":"Sources/ImmersiveMap/Labels/Subsystems/BaseLabelDrawSubsystem.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f391f4e53c44abaa5d53d800dc4b0ba70650514e75a58c2392a4d0ef0f13030"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): Sources/ImmersiveMap/Layers/Selection/LayerSelection.swift:55-61 | Sources/ImmersiveMap/Pins/Selection/PinSelection.swift:40-46 | Sources/ImmersiveMap/SceneModels/Selection/SceneModelSelection.swift:40-46 \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":"Sources/ImmersiveMap/Layers/Selection/LayerSelection.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e13c3124162baee0d1e7b6f13cc30c69b556d6f0e1bbc710453f2270af98350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/ImmersiveMap/Pins/ImmersiveMapPinsController.swift:177-188 | Sources/ImmersiveMap/SceneModels/ImmersiveMapSceneModelsController.swift:73-84 \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":"Sources/ImmersiveMap/Pins/ImmersiveMapPinsController.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bc581786b5353a975031b15bfb29f407d62c8798db75494d2b6bec8f5e0f54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift:72-78 | Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift:47-53 \u2014 before extracting anything, compare \u0060Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift\u0060 and \u0060Sources/ImmersiveMap/Render/Debug/TileTrace/TileTraceRecorder.swift\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 74 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060fields\u0060 to \u0060[String: BaseLabelTraceValue] = [:]\u0060 in one and \u0060[String: TileTraceValue] = [:]\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":"Sources/ImmersiveMap/Render/Debug/BaseLabelTrace/BaseLabelTraceRecorder.swift"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c685da02d9861794f08614359e4302e1458467c8593411c2b006943d17158c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/ImmersiveMap/UI/Camera/CameraBearingFollow.swift:52-67 | Sources/ImmersiveMap/UI/Camera/CameraPitchFollow.swift:51-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/Camera/CameraBearingFollow.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"93390624d4aeffb8772656b51a6b88df6b6fb6cb98137ca5f010856c0cce6d84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/ImmersiveMap/UI/ControlZone/PitchControlZone.swift:117-128 | Sources/ImmersiveMap/UI/ControlZone/ZoomControlZone.swift:100-111 \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":"Sources/ImmersiveMap/UI/ControlZone/PitchControlZone.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c05837b41a6cdd1c718091049d244389a08a13562694a625bc6d70f5973987"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift:134-138 | Sources/ImmersiveMap/UI/Gestures/MapGestureControllerMac.swift:127-131 \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":"Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4370cdc2b5f2d16dff2ee8ac009ca4eb5aef5bca0f7686dbf91056275f2e525"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:831-841 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3047-3057 \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 \u0060color\u0060 to \u0060UIColor\u0060 in one and \u0060NSColor\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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed60d7a38b92ecf9ed4650e68a789215cf68c5b2db668c1120d812301b68d53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:857-866 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3073-3082 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf9bbf5c6065a706a08ab259dc4bf7dbf5a700dd9c434223f7cc2f4f1d9d5a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:1007-1011 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3208-3212 \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 \u0060color\u0060 to \u0060UIColor\u0060 in one and \u0060NSColor\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3214\u0060 calls \u0060lineHeight\u0060 and \u0060Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:1013\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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa6abe8d48f760b99c955f877ceaea55355a89249651bb2659b2ac17e372fca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:1013-1022 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3218-3227 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec7eb555e478306833085a0a88086b4731a99d22f79c26180b788d3456c5d43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/Earcut/EarcutEarClipping.swift:74-83 | Sources/Earcut/EarcutEarClipping.swift:104-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Earcut/EarcutEarClipping.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b5d8e509bb938be26c78c1380500cbdb1f1a2546b9871b7fb9f0017a4dcf35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/ImmersiveMap/Pins/Textures/PinShapeDistanceField.swift:193-197 | Sources/ImmersiveMap/Pins/Textures/PinShapeDistanceField.swift:198-202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Pins/Textures/PinShapeDistanceField.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"477fc47803deaf575c9d55f09640bc7608ac7f5195a51848ca8060ba9cb7a9c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/ImmersiveMap/Tile/Placement/TilePlacementPlanner.swift:247-251 | Sources/ImmersiveMap/Tile/Visibility/GlobeTileCoverage.swift:234-238 \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 \u0060Sources/ImmersiveMap/Tile/Placement/TilePlacementPlanner.swift: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":"Sources/ImmersiveMap/Tile/Placement/TilePlacementPlanner.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e94b332eeeb8f1993ef7c546c039c9c7455301f4a80e2c8042e8a0a6605458"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/ImmersiveMap/Tile/Subsystems/BuildingExtrusionRenderSubsystem.swift:131-135 | Sources/ImmersiveMap/Tile/Subsystems/TreeRenderSubsystem.swift:101-105 \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":"Sources/ImmersiveMap/Tile/Subsystems/BuildingExtrusionRenderSubsystem.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c37bec76095c4e0d30ba1ab16cb102ae68cc9d23ca1942889248841ce7a82e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift:1071-1078 | Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift:3265-3272 \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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"339b502f9b51a8e52dd2b00c7534e61f573db503c756655147cecac389f55cb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/MvtTestSupport/MvtFixtureTileMessages.swift:429-450 | Sources/MvtTestSupport/MvtFixtureTileMessages.swift:452-472 \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":"Sources/MvtTestSupport/MvtFixtureTileMessages.swift"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"f836ced50cbacac1035b4fc20f736759c26efe04a08adf524e7a079ead951083"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Sources/MvtTestSupport/MvtFixtureTileMessages.swift:89-112 | Sources/MvtTestSupport/MvtFixtureTileMessages.swift:114-134 \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":"Sources/MvtTestSupport/MvtFixtureTileMessages.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf4cf94b321bb74fbfa816b44a14f2581004d3ba62a5bb60c11ba95f139cbbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/MvtTestSupport/MvtFixtureTileMessages.swift:305-315 | Sources/MvtTestSupport/MvtFixtureTileMessages.swift:342-352 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/MvtTestSupport/MvtFixtureTileMessages.swift:305\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/MvtTestSupport/MvtFixtureTileMessages.swift"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9ded4b98db2a482801c2ac8d5970bed403ce2a2ce75d4682a51bf5e0a2eee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/MvtTestSupport/MvtFixtureTileMessages.swift:430-446 | Sources/MvtTestSupport/MvtFixtureTileMessages.swift:453-469 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/MvtTestSupport/MvtFixtureTileMessages.swift:430\u0060 it does not close everything it opens, so those exact 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 after the matched lines, \u0060Sources/MvtTestSupport/MvtFixtureTileMessages.swift:447\u0060 calls \u0060command\u0060 and \u0060Sources/MvtTestSupport/MvtFixtureTileMessages.swift:470\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":"Sources/MvtTestSupport/MvtFixtureTileMessages.swift"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea234583dbbad340d8d6a494ceeef7002e7cafb3605ca7f86ea5081b55d1e968"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/MvtTestSupport/MvtFixtureTileMessages.swift:104-112 | Sources/MvtTestSupport/MvtFixtureTileMessages.swift:126-134 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/MvtTestSupport/MvtFixtureTileMessages.swift:104\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact 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":"Sources/MvtTestSupport/MvtFixtureTileMessages.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9a647bd097112417779badb4bfa933220b6640f2d478f0880611b9749f2d81"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Earcut: Earcut: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5f152885e7b44ba28c867e1782b3d6d0fbc0f5450baede3ead4d98d370cf4b17"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ModelTileFormat: ModelTileFormat: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"da2e365342936cd452f6200663e022e5e5a2831803451c86b1a0d55ad83a541d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: PMTiles: PMTiles: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f3d61fa10c6cc9ab211b0984eacbe1f464ffed2e5b493b21948a893f318f8e71"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: TileFlattening: TileFlattening: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4deca93d8d5aa785b37463a97da0fb6c4bcb357f6026cd57936de7ff77064f1a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Mvt: Mvt: abstractness 0.13, instability 0.00, distance 0.88 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a2eb6151e2b28ed416c1cad5ad8fdf0451717f0a917c97077ec49c91357ef99a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ImmersiveMapHostView (LCOM4 9): ImmersiveMapHostView\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/ImmersiveMapHostView\u002BTestSupport.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6853d3fdb388cad6f202606ec031caa45bbe998d7abd5877fadb188bbe84d163"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DebugOverlayHUDView (LCOM4 9): DebugOverlayHUDView\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"18665a0e085b9f8cb1ca4c62a00fd78491477ab515d942fd25410e98efd1507b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MapGestureController (LCOM4 6): MapGestureController\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":"Sources/ImmersiveMap/UI/Gestures/MapGestureControllerMac.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf8821f633c414b4859fb4c2f108eeea89d931a72debc38c6ae8bb6bcd32891"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RenderLoopPacing (LCOM4 5): RenderLoopPacing\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/RenderLoopPacing.swift"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c2415b94c1530f631e20a5e75891278b7c3dc4ae350431648b0a74544f6070"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MapGestureController (LCOM4 5): MapGestureController\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/Gestures/MapGestureController.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5be02dd40bf69cc95f8d89407d4135fc7cbaf7a88dfc3eaee774722aed1aba"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DebugOverlayHUDView (LCOM4 5): DebugOverlayHUDView\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b0240d26fd75079dc9c6bc3cf353a8dcdbf4384f81b2f9c596ab5016272e23"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ImmersiveMapNSView (LCOM4 4): ImmersiveMapNSView\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":"Sources/ImmersiveMap/UI/ImmersiveMapNSView.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d3d81cd4bf3c7c58ab7e277a2545a766cd237cf2ee27ccb4bd9b5cdbf68205"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RoadLabelTileRecord (LCOM4 4): RoadLabelTileRecord\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":"Sources/ImmersiveMap/Labels/Road/RoadLabelCache.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa8fb48152625a12a4e91273a368281441c2a6f3b695cacf6488fbddfa5521c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SceneModelPipeline (LCOM4 4): SceneModelPipeline\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":"Sources/ImmersiveMap/SceneModels/Pipelines/SceneModelPipeline.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f87a99b29391f43c2bc9fe359a9afb14320ecc57d16f176dabc97fb635a10d3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DefaultTileLoadPipeline (LCOM4 4): DefaultTileLoadPipeline\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":"Sources/ImmersiveMap/Tile/Loading/DefaultTileLoadPipeline.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ffc2c507c54884517c2798f2a6c043f44f8142a23790903b974c713461ad9b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GroundReliefFrameState (LCOM4 4): GroundReliefFrameState\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":"Sources/ImmersiveMap/Tile/Relief/Frame/GroundReliefFrameState.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9815ac5f13cba811a2a98657266393d1b695fabf305749f9eb302f7a607e0c0"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testBaseLabelCacheReadsTheTileLabelSet: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/BaseLabelSourceEntryTests.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2a36c51474fde0d22b13e56fb40fa1934044c706a4f2f6959570ba5ace3424"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testBaseLabelCacheWritesStableCollisionMetadata: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/BaseLabelSourceEntryTests.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"019e860e33155f835b86fb46b3d5e822d57fac246ce5d5a5bbaddb7bed70902d"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTheSetsRankOrderIsItsTilesOrdersMerged: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/BaseLabelSourceEntryTests.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1749f7545ddc2c49484e280703049d18c5d6f261303a371ad92165eb5338f70"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTheCacheKeepsOneCopyOfAFeatureFromThePreferredTile: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/BaseLabelSourceEntryTests.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ea98737ac935cf16a48d90e2180456d497771c771dcadb6c83f3f8e9763a2f"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTheCopyIsKeptOnceThePreferredTileLeaves: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/BaseLabelSourceEntryTests.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e1a1982f271127c3d53787cca4b9c446451a9fdcea917187b928a31483a73d"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTheSameFeatureInTwoWorldWrapsIsNotACopy: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/BaseLabelSourceEntryTests.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb65533e227804ff881849226b5f35e4ebbeba7b0d12b8820faa4f8154fe092"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTileWithBuildingsMaterializesFromParseAndFromArenaImage: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/ExtrudedArenaBuildTests.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"92005fcb10827e569bc9940da19f65343c008971c7819e30ce9afd2368b5dc5c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testNoTestBuildsARuntimeFromTheShippedDefaults: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/FixtureTileServiceTests.swift"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d777bf4b079e51f15670ef4866e598169674eb979b20283ff0cde60158b2720a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTheStoreComputesTheOcclusionOfEveryTileAndAgainOnAChange: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/GroundReliefOcclusionTests.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"031dc943676a338fd5d4eb2912cdf1301203d72663c64958670ef0181ea2c9d9"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testANarrowedReliefReadsTheSameHeights: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/GroundReliefShadowCasterTests.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c849b63a7ebe2970fdf5991698bc23a8387f67da4e50d5bbb6cbedf24be716"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testHostViewBuildsRuntimeAppliesLayoutAndAttachesCameraController: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/ImmersiveMapNSViewTests.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"19da6336dd67e5dbf98c66fc5ccf627f2aca834fbee64e6bcec3c44dfba7d78f"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testParseTimesOfLocalTiles: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/LocalArchiveParseBenchmarkTests.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"795ddf783572802ab95faf54faa475db2ba4a947615022f0e3efcba0d043491c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTheResolvedSampleCountNeverExceedsTheRequest: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/MultisampleRenderTests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe63bc430ba96d45147ec3dac33f11b0993879df76fc3f3745dc7bf9828c4b6"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSharedResourcesAreCachedPerSampleCount: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/MultisampleRenderTests.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"56123cb008fe3f8efb111583a97115710cc41272213450eb6cc94ee2f975e29d"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTheNightsGroundWearsTheDaysColoursOnTheGlobe: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/NightThemeTests.swift"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"761e4b89a6eb1847a6d028c0a0f40e6962fb7edb3363c243c3df94ae2cc6e0e5"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTheNightsNamesWearTheDaysLetteringOnTheGlobe: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/NightThemeTests.swift"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"735914672d8ea76690d7d7c92f5f98877bec4bc83484153c175b8fd826e775ec"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testABaseDirectoryUnderPrivateStillIndexes: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/PreparedTileDiskCachingAvailabilityTests.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"040c6f8e456c404d5bccf5a1ac5440d6d551b37af7d72b7152829a43b5830e92"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTheGridOnTheReliefIsAsFineAsTheFlattenings: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/RasterTileTests.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b0d4dd6d63046b5216a4cc951dc83a9b64e3a0ffecf87596978a6bb4b5b090"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTheReliefGridIsNoFinerThanItsTerrainAndRaster: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/RasterTileTests.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"774a577ca4246eef3126f12d7ced8943e49e68e4db3bbeff2545f4cdaa4c6170"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTheLiveArchiveAnswersTileRequests: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/RealArchiveClientDiagnosticTests.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"578b7aa8bba0dec9497129e92308f1c33550c3cd1133ae744d6c2efbdb320422"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTheLiveArchiveKindsArePrinted: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/RealArchiveClientDiagnosticTests.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9af55ce5f96ecd78c2c6c5b68d004c36d07114f7ed850efcde78370a2acd4c3"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testOffscreenRenderSchedulesCompletesAndWritesPixels: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/RenderFrameOffscreenTargetTests.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3762d89e415fe1d0e966f475e2f564481f1fa6241d077252c36c4d0351b31bb6"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testPresentsWithTransactionFollowsMarkerPresence: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/RenderFramePresentationSyncTests.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"378465a9d26a57bdc6242026317a4a03c47ef10c9563023f23d59833a62d78c3"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testALibraryMissingFromTheBundleIsAnErrorAndNotACrash: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/ShaderLibraryContentsTests.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe805f4d81a959bc50acfe1c634573f3c003a8804ba56cc9e65040fcac33612"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testSharedResourcesBuildWhereverTheTestsRun: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/ShadowMapAttachmentTests.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a646cd7c2a37b59744a644329f413815cd4fce3f4783403cd3193b836aaf58ba"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testFactoryArenaMatchesImagePlanBlobByteForByte: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/TileArenaImageMaterializeTests.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72c877ee97e4a15d25cc273458ff4a8e5b2b9f0d8783489f56f2fe0397ae31a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testInlineImageMaterializesIdenticalTile: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/TileArenaImageMaterializeTests.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14430ee1150143fe5e6556d262b7450ac2cffebf4a8db728adab01c13f3598c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testMTLIOContainerRoundTripsThroughFileBlobMaterialize: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/TileArenaImageMaterializeTests.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfafdf527fc353ff2deac5eda82cbeea445741f6629ef50da41726f3902a3363"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testMissingBlobFileFailsAsUnreadableImage: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/TileArenaImageMaterializeTests.swift"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfcda4cde298e4a304b19fc99c1bbf09d71a5240a510ffaa5c7276d70d69d6b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testRawContainerRoundTripsWhenCompressionDisabled: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/TileArenaImageMaterializeTests.swift"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a3077433bd3305fc937bfcbfa6d4653000444e48ed6192dd86c6300d7d8acb"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTornMetadataContainerPairFailsAsUnreadable: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/TileArenaImageMaterializeTests.swift"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f41b5534d7f59685aa3464705b1dc4a45e81a7fa35ee46297c6e321fdb692d0"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testBitFlippedContainerFailsAsUnreadable: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/TileArenaImageMaterializeTests.swift"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"2657596676b6a48cdce3822559a8bcfaec19ac78f876cbd1c17c4d6d7f85d122"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testTruncatedContainerFailsAsUnreadable: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/TileArenaImageMaterializeTests.swift"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4168842c9106b57138aa340604fcf164a3f251aee8b987d3731824ca557d9b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testWideIndexGeometryMaterializesIdenticallyFromImage: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/TileArenaImageMaterializeTests.swift"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a596cce9ed3a50316eaa81d813926ec8a9e9c09cf482ff0dfa594a454005586"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testExportsTinyTourToPlayableMovie: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/TourVideoExportEndToEndTests.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"726ea265fe861d612773e730db2eeb00f4061519c1daa206be19edf504c44be1"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testAnnotationsAndPinsAppearInExportedFrames: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/TourVideoExportEndToEndTests.swift"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"557ea3400fbedb9e45f6d267d47d576f0551d6c8cb244ed1f569dfc6b9cd3ea2"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testGPURunCanActuallyRenderWhenItSaysItMust: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/Support/MetalTestEnvironment.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef769aa2d3b3b45245079d074e58a82f6397785d85d69bfecde3cac8908f022"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDegenerateHoleTerminates: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/EarcutTests/EarcutFixtureTests.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf605305a1b0d5631bf74fc90f108d92592fe414fa7bd411b0da74d6df0f952"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGlobeBelowThePullRangeTurnsFreely: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/CameraBoundsConstraintTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"486c8149f4025866d4b3a5e1409657fb9a57aefe41f773cd443f00bb177cdb4b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCenterInsideTheRegionIsLeftAlone: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/CameraBoundsConstraintTests.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e45728dec39dc66ee7a070b67b119e74ca080f12ff87007545a012e879d2f6c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNorthPoleFollowsTheStyle: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/GlobeCapPaletteTests.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e188696cae5c5257857948d1089d4c953fa2d1821cacfcc90e9c58615fb7769"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSouthPoleFollowsTheStyle: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/GlobeCapPaletteTests.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edaa0990c303a5f1e6eae285e6f9a4ab13a0bf3020af3d9276b9bc185ee6207"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTheBuiltInStyleCapsAreTheThemesWaterAndIce: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/GlobeCapPaletteTests.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3508d472085c5c562b222859d7b1b3ba37276cb1a955fd96e4a04aa5c0176326"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAPoiCopyFromACoarserTileMatchesTheExactOne: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/LabelCopiesAcrossZoomsTests.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fdca70f8dae41ee47ea0d08d13f34f81e27dd6e466ca9cfc42dcd87ca9f5ba4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAShopCopyWaitingForItsCategoryZoomMatchesTheExactOne: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/LabelCopiesAcrossZoomsTests.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bec211e09c373ee4b028704a430795c3940f9fd582173343727b5620b5d2f48"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAPlaceCopyFromACoarserTileMatchesTheExactOne: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/LabelCopiesAcrossZoomsTests.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f963f12b2a3c51d83f77f90edabe5568616c1ee8decf20f5cb71dc21d3dcce7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTheBadgeAtlasIsRequestedOnlyAfterBadgePresenceCheck: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/LazyPinRenderResourceTests.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"315c4ffddbcff28d402091b502e92f8481fa168d6d93be73397ac62276143c79"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTransientFramesNeverShowBodyOverlaps: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/PinCollisionLayoutSolverTests.swift"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e8a8270ccdf96b53b07f60d0a800e1f9bf7a80d7ff4f1420067716a85302f0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSolverPile30k: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/PinPerformanceTests.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"815fb2fa7e5967ec0acf4f554a16dc0eab5bda801e08b163cdd8d44cfaa4bd6b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSolverSpread2k: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/PinPerformanceTests.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdda472a6f808302bc549923bbabbd604f1da6ae43eb5b2c1eb6a5e74dc9e3d3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSolverClusters10k: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/PinPerformanceTests.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0ca2e5696f786b61d3cbb28a6cf02f1767dc7cdcc3aa65bdfda9af7e116670"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRealTilesPaintTheGlobeDisc: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/RealTileEndpointDiagnosticTests.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e674689c501e67126b245c082cbec2205b80e1cb932fe5b44fc011816c5473a4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRealTilesPaintTheMidMorphSurface: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/RealTileEndpointDiagnosticTests.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee024d15ec737b77f5e13ea7a9552f5d3feb14e27c08139db8dfcf8f840693a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTwoGroundStreetsAreBlendedOnceWhereTheyCross: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/RoadTranslucentCrossingOffscreenRenderTests.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0901ad4c31141481113b162868800f11bb18cce3721ec482012603a44bd63a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testABridgeOverAStreetIsBlendedOnceWhereTheyCross: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/RoadTranslucentCrossingOffscreenRenderTests.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab27459d40f0799041ab7f0c91edc6461d1c4cd92bad11c22a603fb28804207"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testABridgeOverAStreetIsBlendedOnceWhereTheyCrossUnderMultisampling: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/RoadTranslucentCrossingOffscreenRenderTests.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0197df36274c29fd42adcce140f767b846b0ea8526939394b13787bd7e550a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testHeadingFollowsTheTrajectoryWhenEnabled: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/SceneModelPathAnimationTests.swift"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"067eb284f92cdb0b145f1d63a632636c844b64b8ee4d06ba3f1bf157155c8d5c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testHeadingIsLeftAloneWhenDisabled: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/SceneModelPathAnimationTests.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c5c6cb329c99b4f423c86609ad3ec6ee6b4f3c95dc1b1f43139476e5499da6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFlatAnchoredZoomKeepsPointUnderCursor: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/ZoomAnchorMathTests.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f8c53d19272b9f17c76aac157e7415caa7ffd6839d2739bd43ff025d3d288d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFlatAnchoredZoomAcrossIntegerZoomBoundary: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/ZoomAnchorMathTests.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"672b46747dc3d986a4bedc49e6395fd547a1a3bf871646a792c8e86883ca3a51"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFlatAnchoredZoomWithBearing: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/ZoomAnchorMathTests.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7720088e8272387476fafe113d58c08a721d99cfd07578993cee236f680b4af7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFlatAnchoredZoomOutKeepsPointUnderCursor: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/ImmersiveMapTests/ZoomAnchorMathTests.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0926a24f9ac6482dd8ead133c16a5ce9a8588f0db8cabdf3522e975d07007d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRoundTripsDenseCityTile: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/MvtTests/MvtTileDecoderTests.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c31d36561357820a7c30dc9ba0407b8e3d0ec30ae6c3a2286c4be21a49cffb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRoundTripsOceanOverviewTile: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/MvtTests/MvtTileDecoderTests.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c10f702402a5ba6f0a50cfa35d1b7e4a9e9304a641f4fb157887aba211a013"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRoundTripsRandomizedTiles: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/MvtTests/MvtTileDecoderTests.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5252f5af85d85a1ad0294155b5380a5bfaace5ab7bda9abed74b24832abbdf51"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testValueMessageFieldKinds: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/MvtTests/MvtTileDecoderTests.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc17fb6bfddfc3fdb62a14d09f8678ac5e7b3dd526695158af2bcd0245e0a73a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEmptyValueMessageDecodesAsAbsent: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/MvtTests/MvtTileDecoderTests.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ab14ca16cccecae5c142ccf9c6b1f95c6350e3101c801e9d2f69580c73142e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnpackedRepeatedFieldsDecodeLikePacked: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/MvtTests/MvtTileDecoderTests.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfc88c1d55e9a3d36d12c3d4d2b6422d33c0b36172291cf176da75c1fc9d6a2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSplitPackedRunsConcatenate: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/MvtTests/MvtTileDecoderTests.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da93eabed3821113cdf5d3650f5d57efd6ac7abcf0d6e424f7ad32b4212f0e8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnknownFieldsAreSkipped: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/MvtTests/MvtTileDecoderTests.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cc6d6ac25f9eeaa99b4098b84c1456551d82faf7515fdb42114de95b0ea37f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testUnknownGroupFieldIsSkipped: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/MvtTests/MvtTileDecoderTests.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92ec3dc32961f45cd2dd245577657dc232cf595695ecbc15770deeeb691597f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDuplicateScalarFieldsLastOneWins: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/MvtTests/MvtTileDecoderTests.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e0da024050bcde443524d9ffafcfdeb75779eebf304844df00829a9a5a506d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDuplicateValueFieldsKeepTheLastOne: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/MvtTests/MvtTileDecoderTests.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2df9ec4d5c65e3ce35327eb9e742db3121e60a2be4687dde20dec7524afb92a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testHoleAndSameColorMerge: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TileFlatteningTests/FlattenerTests.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f63a85a0ef487b823a3a117a513c31fedfdf1aa600442c26f707854871f5aa3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRandomPolygons: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TileFlatteningTests/FlattenerTests.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a05d87ba9937f54ce999742e836ad612166874a5fc5bf978954d9826e6ccb8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDegenerateGridPolygons: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/TileFlatteningTests/FlattenerTests.swift"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ef920e3dcc507b266883316f3aedeeed50fd94bbee09873ad4dbba5ff37c77"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Tile/Drawers/FlatMapSurfaceDrawer.swift: Sources/ImmersiveMap/Tile/Drawers/FlatMapSurfaceDrawer.swift changed 50 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in FlatMapSurfaceDrawer.draw at line 73. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Tile/Drawers/FlatMapSurfaceDrawer.swift\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":"Sources/ImmersiveMap/Tile/Drawers/FlatMapSurfaceDrawer.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"327a9719040290348f0270cebc9a3bdc4ec296dbdbc54a158cc16deb638b798d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Tile/Parse/TileMvtParser.swift: Sources/ImmersiveMap/Tile/Parse/TileMvtParser.swift changed 77 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in TileMvtParser.readPolygons at line 388. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Tile/Parse/TileMvtParser.swift\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":"Sources/ImmersiveMap/Tile/Parse/TileMvtParser.swift"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f0af3ffb31e89d7004e87254bdd893b06eeda22300f50f2dbbffe15c86cb09"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift: Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift changed 81 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ImmersiveMapSettings.pinSettings at line 3174. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift\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":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettings.swift"},"region":{"startLine":3174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01126f5f655e4935b9cadfd2cb77a570b027d0cd7bb701db75992145ca335ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Tile/Parse/Roads/LineFeatureReader.swift: Sources/ImmersiveMap/Tile/Parse/Roads/LineFeatureReader.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in LineFeatureReader.read at line 39. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Tile/Parse/Roads/LineFeatureReader.swift\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":"Sources/ImmersiveMap/Tile/Parse/Roads/LineFeatureReader.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f698f4a3dd1f3dda225dcec8fd287f9357cc173b3127b308af2e1aae7db05dd7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Tile/Subsystems/TileWorkingSetSubsystem.swift: Sources/ImmersiveMap/Tile/Subsystems/TileWorkingSetSubsystem.swift changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in TileWorkingSetSubsystem.update at line 164. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Tile/Subsystems/TileWorkingSetSubsystem.swift\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":"Sources/ImmersiveMap/Tile/Subsystems/TileWorkingSetSubsystem.swift"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"8032e9cba7aa55c40f650a8a679304d3d57e58da86e31072eae8e449762726f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Configuration/ImmersiveMapSettingsApplicationPlanner.swift: Sources/ImmersiveMap/Configuration/ImmersiveMapSettingsApplicationPlanner.swift changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in ImmersiveMapSettingsApplicationPlanner.makePlan at line 42. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Configuration/ImmersiveMapSettingsApplicationPlanner.swift\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":"Sources/ImmersiveMap/Configuration/ImmersiveMapSettingsApplicationPlanner.swift"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbf4fc06363046a23e13cb9718c06460d0a986db5ac6cf5f0212777de52cdff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMapDebug/Panel/ImmersiveMapDebugOverlayRuntime.swift: Sources/ImmersiveMapDebug/Panel/ImmersiveMapDebugOverlayRuntime.swift changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in ImmersiveMapDebugOverlayRuntime.init 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMapDebug/Panel/ImmersiveMapDebugOverlayRuntime.swift\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":"Sources/ImmersiveMapDebug/Panel/ImmersiveMapDebugOverlayRuntime.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b313d471190b85ff582945793de5cfad07e3f20c1b8ed0b0ab2d770a6250b79"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift: Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in BaseLabelPrepareSubsystem.update at line 142. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift\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":"Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23561935d66117995b121094a8a7573f9a9b8d5d3ddbf916eee2c008b5ee95e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Globe/Drawers/GlobeVectorSurfaceDrawer.swift: Sources/ImmersiveMap/Globe/Drawers/GlobeVectorSurfaceDrawer.swift changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in GlobeVectorSurfaceDrawer.draw at line 32. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Globe/Drawers/GlobeVectorSurfaceDrawer.swift\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":"Sources/ImmersiveMap/Globe/Drawers/GlobeVectorSurfaceDrawer.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e7e5898cce3125c7240fb15bf383e1fcefb271b78837f90b8c97e6c68172a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Style/Default/ProtomapsBasemapDefaultMapStyle\u002BRoads.swift: Sources/ImmersiveMap/Style/Default/ProtomapsBasemapDefaultMapStyle\u002BRoads.swift changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ProtomapsBasemapDefaultMapStyle.roadsStyle at line 45. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Style/Default/ProtomapsBasemapDefaultMapStyle\u002BRoads.swift\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":"Sources/ImmersiveMap/Style/Default/ProtomapsBasemapDefaultMapStyle\u002BRoads.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f552d788982f755d497bbcf6ac80c2f52f7bbd4ba6e8642d3f5bb128e340751f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Tile/Placement/TilePlacementPlanner.swift: Sources/ImmersiveMap/Tile/Placement/TilePlacementPlanner.swift changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in TilePlacementPlanner.buildPlacements at line 68. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Tile/Placement/TilePlacementPlanner.swift\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":"Sources/ImmersiveMap/Tile/Placement/TilePlacementPlanner.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"173dafba7f05e567dcb4f656294a499ab38b50d186ed628c9a023d981ed13523"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Tile/Parse/Roads/RoadStreetStitcher.swift: Sources/ImmersiveMap/Tile/Parse/Roads/RoadStreetStitcher.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in RoadStreetStitcher.stitch at line 38. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Tile/Parse/Roads/RoadStreetStitcher.swift\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":"Sources/ImmersiveMap/Tile/Parse/Roads/RoadStreetStitcher.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fa928b6c8fe580ef3337694cff5c1650996d3c1e7dcb7a72a2f044e9f007a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Tile/Loading/PreparedTileDiskCodec.swift: Sources/ImmersiveMap/Tile/Loading/PreparedTileDiskCodec.swift changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in PreparedTileDiskCodec.decode at line 832. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Tile/Loading/PreparedTileDiskCodec.swift\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":"Sources/ImmersiveMap/Tile/Loading/PreparedTileDiskCodec.swift"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"911378575de53d7b2ae3511197c324c9e3af99fefeacd64dbe09e3ae5b9124d9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift: Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in TileUnificationStage.unify at line 309. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift\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":"Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7481bda761bc973b28da2078a8b6b63654303125f616d39b970494aee6c998ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Tile/Visibility/GlobeTileCoverage.swift: Sources/ImmersiveMap/Tile/Visibility/GlobeTileCoverage.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in GlobeTileCoverage.visit at line 142. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Tile/Visibility/GlobeTileCoverage.swift\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":"Sources/ImmersiveMap/Tile/Visibility/GlobeTileCoverage.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"754e2b5df67673e090821053327c92454052f243a68351cc6a3646a09951cb54"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Tile/Parse/ParseLine.swift: Sources/ImmersiveMap/Tile/Parse/ParseLine.swift changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ParseLine.parse at line 292. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Tile/Parse/ParseLine.swift\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":"Sources/ImmersiveMap/Tile/Parse/ParseLine.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09f2ac3212495ea7cb4fd38ad87b6301132d33cd55b035a8b51901ee5d4a6d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Tile/Parse/GroundGeometrySubdivider.swift: Sources/ImmersiveMap/Tile/Parse/GroundGeometrySubdivider.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in GroundGeometrySubdivider.subdivide 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Tile/Parse/GroundGeometrySubdivider.swift\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":"Sources/ImmersiveMap/Tile/Parse/GroundGeometrySubdivider.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f73d5e779d401ebb41c5264cf6111e39dfd96282b5454a826861704466d9998"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Horizon/HorizonFrameResolver.swift: Sources/ImmersiveMap/Horizon/HorizonFrameResolver.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in HorizonFrameResolver.resolve at line 140. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Horizon/HorizonFrameResolver.swift\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":"Sources/ImmersiveMap/Horizon/HorizonFrameResolver.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9051451fa9f0d1e842f534e61dab3f2cd3f1f184a81cab3f1cde010febfe1fb6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Tile/Raster/RasterTileRenderSubsystem.swift: Sources/ImmersiveMap/Tile/Raster/RasterTileRenderSubsystem.swift changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in RasterTileRenderSubsystem.update at line 161. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Tile/Raster/RasterTileRenderSubsystem.swift\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":"Sources/ImmersiveMap/Tile/Raster/RasterTileRenderSubsystem.swift"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a6ced70f411a9beda7cb50d70d8296ed75c846cf24708dd96c1d8a6bd277d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ModelTileFormat/ModelTileContents.swift: Sources/ModelTileFormat/ModelTileContents.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in ModelTileContents.init at line 250. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ModelTileFormat/ModelTileContents.swift\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":"Sources/ModelTileFormat/ModelTileContents.swift"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bde18ef420e69adfc70c5d692528aac5623bab2f362dc2f020b27ca2aa4ed6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileRenderSubsystem.swift: Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileRenderSubsystem.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ModelTileRenderSubsystem.update at line 84. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileRenderSubsystem.swift\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":"Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileRenderSubsystem.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb69095342508d142c8ebb04960466b126a8f7c9554d1442804adac47bcdee40"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift: Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in PinCollisionLayoutSolver.solve at line 168. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift\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":"Sources/ImmersiveMap/Pins/Clustering/PinCollisionLayoutSolver.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"129f38c158e95cc3cf1421f52267d909e282d5a6bea92a3ee26c45316e8e9df9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Style/Default/ProtomapsBasemapDefaultMapStyle\u002BGround.swift: Sources/ImmersiveMap/Style/Default/ProtomapsBasemapDefaultMapStyle\u002BGround.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ProtomapsBasemapDefaultMapStyle.landuseStyle at line 259. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Style/Default/ProtomapsBasemapDefaultMapStyle\u002BGround.swift\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":"Sources/ImmersiveMap/Style/Default/ProtomapsBasemapDefaultMapStyle\u002BGround.swift"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da274b538f2e45cbc2e09ff3dd3140de119d9999d8c5a8eb21b393ac600464a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Shadows/ShadowFrameStateResolver.swift: Sources/ImmersiveMap/Shadows/ShadowFrameStateResolver.swift changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ShadowFrameStateResolver.resolveInputs 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Shadows/ShadowFrameStateResolver.swift\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":"Sources/ImmersiveMap/Shadows/ShadowFrameStateResolver.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f845d117a259f8bbfc1485f9c03ccf551010da58aac4b2d877f1a4490ab3f30"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Tile/Placement/BuildingCoveragePlanner.swift: Sources/ImmersiveMap/Tile/Placement/BuildingCoveragePlanner.swift changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in BuildingCoveragePlanner.plan at line 52. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Tile/Placement/BuildingCoveragePlanner.swift\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":"Sources/ImmersiveMap/Tile/Placement/BuildingCoveragePlanner.swift"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce91bae9cf01c2a9c5d709cf0a62f22b2078b79b7bd314bb268e65a24ef3e96"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Labels/Road/RoadLabelCache.swift: Sources/ImmersiveMap/Labels/Road/RoadLabelCache.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in RoadLabelCache.makeTileRecord 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Labels/Road/RoadLabelCache.swift\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":"Sources/ImmersiveMap/Labels/Road/RoadLabelCache.swift"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"434d08ddab08de0f1a929bdc610cfd674a8b97163a828d4612a5cc37d291beda"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Layers/LayerRenderSubsystem.swift: Sources/ImmersiveMap/Layers/LayerRenderSubsystem.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in LayerRenderSubsystem.encode at line 104. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Layers/LayerRenderSubsystem.swift\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":"Sources/ImmersiveMap/Layers/LayerRenderSubsystem.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d981b06833d885110e69999e5d64f4308fc683b35aae95f597bc30a4d2ed7ea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TileFlattening/MonotoneTriangulator.swift: Sources/TileFlattening/MonotoneTriangulator.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in MonotoneTriangulator.triangulate at line 40. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/TileFlattening/MonotoneTriangulator.swift\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":"Sources/TileFlattening/MonotoneTriangulator.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6654a92af36dbe94f850a075d5e95bce02dce96a19d0456648d91ebe4dfb3e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TileFlattening/Sweep.swift: Sources/TileFlattening/Sweep.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in Sweep.connectComponents at line 690. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/TileFlattening/Sweep.swift\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":"Sources/TileFlattening/Sweep.swift"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"57946e8da2f5026b59382474af4b8a5a2f3ef0d0e5c3d03fac90e4a7062457a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionResolver.swift: Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionResolver.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in BuildingExtrusionResolver.clampEnvelopes at line 270. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionResolver.swift\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":"Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionResolver.swift"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"953e7aa54d058ebb31345f16c4c19fa91edcb5c3a62f40250af2577ac0437e0a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Layers/LayerMeshBuilder.swift: Sources/ImmersiveMap/Layers/LayerMeshBuilder.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in LayerMeshBuilder.build at line 106. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Layers/LayerMeshBuilder.swift\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":"Sources/ImmersiveMap/Layers/LayerMeshBuilder.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdaeedd2c0eb52c29d5c283686182e8d30168e047012519fd0488771f2976833"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionMeshBuilder.swift: Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionMeshBuilder.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in BuildingExtrusionMeshBuilder.build at line 13. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionMeshBuilder.swift\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":"Sources/ImmersiveMap/Tile/Parse/Buildings/BuildingExtrusionMeshBuilder.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"451a03ea8fabfecd4fb995fdf4374605091c963dcd61489c1698f7d7b3a0f03b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/ImmersiveMap/Labels/Collisions/LabelCollisionSolver.swift: Sources/ImmersiveMap/Labels/Collisions/LabelCollisionSolver.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in LabelCollisionSolver.solve at line 112. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/ImmersiveMap/Labels/Collisions/LabelCollisionSolver.swift\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":"Sources/ImmersiveMap/Labels/Collisions/LabelCollisionSolver.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6305b79cc5e979e2c5004460263764ce5c3c79f28d6a88911e1bb276231f49"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Sources/TileFlattening/Flattener.swift: Sources/TileFlattening/Flattener.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Flattener.flatten at line 56. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 17:55:56 \u002B03:00\u0027 --until=\u00272026-11-16 17:55:56 \u002B03:00\u0027 --full-history --no-merges -- Sources/TileFlattening/Flattener.swift\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":"Sources/TileFlattening/Flattener.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9f0d5bf3fb5a65cb5209a675f185e81eae4e43ad0e40d858f9f08be8d6bd95"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. The recognised ADR directories in this tree were read \u2014 \u0060Sources/ImmersiveMap/VectorTileAdaptation/Labels/Decisions\u0060 \u2014 and none of their files is a decision record (a README, index or template page does not count). What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060Develop/ImmersiveMapDevMac/ImmersiveMapDevMac.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Develop/ImmersiveMapDevMac/ImmersiveMapDevMac.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a863ba680cca08f700d1c9fd4909c4fef87c0f3de490eb3dda5fa6ee0d48c790"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (94578 LoC, 1199 module-visible types across 116 directories) overshoots its size bounds. 1 of 4 build unit(s) (SwiftPM, Xcode) overshoot their size bounds, lowering Project Cohesion to 5.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Package.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef91926bd754eb6d4ee98140c4b33eb6f98f362cf24a02371c2db5e0aec4e519"}},{"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":"703b990f6d9a60db46de372b4bc3713bc769740b61be7dfed2b23b523664ac12"},"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":"bc26593caf509b487cb3dff9d1a587737a02c72fc5e13e59c1a151f7d6412ad4"},"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":"c8381cdd9539330ccdf5f2819fb2f0ec8e0d20d645b1467a3e5e48700a37b69b"},"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":"6bc3b539f953f180f304780b633bbb65e6d2911ce57503f2f0e4a05dfd504060"},"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":"ebac61d292e4757946ff83f15293e2fa751db1ae0044345ec1ca160a7804b230"},"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":"D35","level":"warning","message":{"text":"Change coupling: PreparedTileDiskCaching.swift \u2194 ParseLine.swift: \u0060Sources/ImmersiveMap/Tile/Loading/PreparedTileDiskCaching.swift\u0060 and \u0060Sources/ImmersiveMap/Tile/Parse/ParseLine.swift\u0060 change together 82% of the time (9 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these 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 \u0060409d9fe0\u0060 lines: a ribbon clipped at the tile\u0027s edge keeps its winding; \u0060bbe09b9e\u0060 roads: one sheet blended once, a width ramp continuous in camera zoom\u2026 (at that commit the files were still \u0060ImmersiveMap/Tile/Loading/PreparedTileDiskCaching.swift\u0060 and \u0060ImmersiveMap/Tile/Parse/ParseLine.swift\u0060); \u006060c01407\u0060 tiles: roads are extruded on the GPU to their width on screen, buildi\u2026 (at that commit the files were still \u0060ImmersiveMap/Tile/Loading/PreparedTileDiskCaching.swift\u0060 and \u0060ImmersiveMap/Tile/Parse/ParseLine.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Loading/PreparedTileDiskCaching.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40987d9f42029acfada5ad4aa03c60b22d7e2d80100af2f83cea57709c8eea11"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: RenderGraphFactory.swift \u2192 SharedRenderResources.swift, RenderPass.swift, FrameAttachmentStore.swift, RenderPassGraph.swift, BuildingExtrusionDrawer.swift, ImmersiveMapRuntimeGraph.swift: \u0060Sources/ImmersiveMap/Render/Core/RenderGraphFactory.swift\u0060 changes together with 6 other files \u2014 \u0060Sources/ImmersiveMap/Render/Bootstrap/SharedRenderResources.swift\u0060, \u0060Sources/ImmersiveMap/Render/Core/Contracts/RenderPass.swift\u0060, \u0060Sources/ImmersiveMap/Render/Core/FrameAttachmentStore.swift\u0060, \u0060Sources/ImmersiveMap/Render/Core/RenderPassGraph.swift\u0060, \u0060Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift\u0060, \u0060Sources/ImmersiveMap/UI/Runtime/ImmersiveMapRuntimeGraph.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 6 separate couplings, not 6 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 6."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Render/Core/RenderGraphFactory.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a31b896bf5236e78214b328d7e27e8e2a3b1109ea759ec4971a909991e1f09"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BuildingExtrusionDrawer.swift \u2194 FlatMapSurfaceDrawer.swift: \u0060Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift\u0060 and \u0060Sources/ImmersiveMap/Tile/Drawers/FlatMapSurfaceDrawer.swift\u0060 change together 77% of the time (10 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; 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 \u006060c01407\u0060 tiles: roads are extruded on the GPU to their width on screen, buildi\u2026 (at that commit the files were still \u0060ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift\u0060 and \u0060ImmersiveMap/Tile/Drawers/FlatMapSurfaceDrawer.swift\u0060); \u00605032cd8c\u0060 tiles: the copy of the world a tile stands in is worldWrap, not loop (at that commit the files were still \u0060ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift\u0060 and \u0060ImmersiveMap/Tile/Drawers/FlatMapSurfaceDrawer.swift\u0060); \u0060977144f3\u0060 render: the tile drawers cull back faces, and the globe geometry drop\u2026 (at that commit the files were still \u0060ImmersiveMap/Render/Tiles/Drawers/BuildingExtrusionDrawer.swift\u0060 and \u0060ImmersiveMap/Render/Tiles/Drawers/FlatMapSurfaceDrawer.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Drawers/BuildingExtrusionDrawer.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3812bbf1ed68b3de4bcb041c8d0053a9b3ab1f57c61c1d0b1a516ec8f0f7d499"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: ImmersiveMapRuntimeGraph.swift \u2192 RenderFrameEngine.swift, DebugOverlayHUDView.swift, ImmersiveMapDebugOverlayRuntime.swift: \u0060Sources/ImmersiveMap/UI/Runtime/ImmersiveMapRuntimeGraph.swift\u0060 changes together with 3 other files \u2014 \u0060Sources/ImmersiveMap/Render/RenderFrameEngine.swift\u0060, \u0060Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift\u0060, \u0060Sources/ImmersiveMapDebug/Panel/ImmersiveMapDebugOverlayRuntime.swift\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":"Sources/ImmersiveMap/UI/Runtime/ImmersiveMapRuntimeGraph.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d099729b6962de970576609058a210f7a8dd2d564f70b3c54f1458c0f891d485"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: FeatureStyle.swift \u2194 PreparedTileDiskCaching.swift: \u0060Sources/ImmersiveMap/Style/FeatureStyle.swift\u0060 and \u0060Sources/ImmersiveMap/Tile/Loading/PreparedTileDiskCaching.swift\u0060 change together 62% of the time (16 of the 26 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 16 shared commits counted here, the most recent 3 are \u006055dea774\u0060 The globe\u0027s names are the day\u0027s: a label wears globe colours through \u2026; \u00609054418d\u0060 labels: a POI inside a building stands on its roof; \u0060e0352ea9\u0060 labels: street names are small light capitals, under the places \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Style/FeatureStyle.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b9812c0f7e6dbe82370da78e3ce0a6a8c36266a4beb6dd28b67d0e0a94932b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: ImmersiveMapView.swift \u2192 ImmersiveMapSettingsApplicationPlanner.swift, BuildingExtrusionRenderSubsystem.swift, ImmersiveMapHostRuntime.swift: \u0060Sources/ImmersiveMap/UI/ImmersiveMapView.swift\u0060 changes together with 3 other files \u2014 \u0060Sources/ImmersiveMap/Configuration/ImmersiveMapSettingsApplicationPlanner.swift\u0060, \u0060Sources/ImmersiveMap/Tile/Subsystems/BuildingExtrusionRenderSubsystem.swift\u0060, \u0060Sources/ImmersiveMap/UI/Runtime/ImmersiveMapHostRuntime.swift\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":"Sources/ImmersiveMap/UI/ImmersiveMapView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e45f64b552b9a5c87105195d5034e81b6c0ec2a604503f0380fd44f4c55a93e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: RenderPersistentContext.swift \u2192 ImmersiveMapSettingsApplicationPlanner.swift, FrameAttachmentStore.swift, RenderPassGraph.swift: \u0060Sources/ImmersiveMap/Render/Core/RenderPersistentContext.swift\u0060 changes together with 3 other files \u2014 \u0060Sources/ImmersiveMap/Configuration/ImmersiveMapSettingsApplicationPlanner.swift\u0060, \u0060Sources/ImmersiveMap/Render/Core/FrameAttachmentStore.swift\u0060, \u0060Sources/ImmersiveMap/Render/Core/RenderPassGraph.swift\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":"Sources/ImmersiveMap/Render/Core/RenderPersistentContext.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"987c3b9f56ab4ef349ae6a9978b6c0373d458eb5c7fce6fe7349686e36290807"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ParseLine.swift \u2194 TileMvtParser.swift: \u0060Sources/ImmersiveMap/Tile/Parse/ParseLine.swift\u0060 and \u0060Sources/ImmersiveMap/Tile/Parse/TileMvtParser.swift\u0060 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 \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). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; 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 \u00605effed8b\u0060 tiles: every ground, bridge and road triangle is wound counter-clockw\u2026 (at that commit the files were still \u0060ImmersiveMap/Tile/Parse/ParseLine.swift\u0060 and \u0060ImmersiveMap/Tile/Parse/TileMvtParser.swift\u0060); \u00608f1ca715\u0060 roads: the source says which street a piece is, and paint counts on a\u2026 (at that commit the files were still \u0060ImmersiveMap/Tile/Parse/ParseLine.swift\u0060 and \u0060ImmersiveMap/Tile/Parse/TileMvtParser.swift\u0060); \u00603b3c09f4\u0060 feat: line dash patterns are point-locked and cut in the shader (at that commit the files were still \u0060ImmersiveMap/Tile/Parse/ParseLine.swift\u0060 and \u0060ImmersiveMap/Tile/Parse/TileMvtParser.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Parse/ParseLine.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9368f61a1ec190ab574328915200949dd196b5054dc492ae722468cb47baf9c9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RenderPassGraph.swift \u2194 BuildingExtrusionRenderSubsystem.swift: \u0060Sources/ImmersiveMap/Render/Core/RenderPassGraph.swift\u0060 and \u0060Sources/ImmersiveMap/Tile/Subsystems/BuildingExtrusionRenderSubsystem.swift\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060519cfec3\u0060 render: the buildings test the tile-ownership stencil prepass instead\u2026 (at that commit the files were still \u0060ImmersiveMap/Render/Core/RenderPassGraph.swift\u0060 and \u0060ImmersiveMap/Render/Core/Subsystems/World/BuildingExtrusionRenderSubsystem.swift\u0060); \u0060f60bb7c2\u0060 perf: in-pass building composite via framebuffer fetch on Apple GPUs \u2026 (at that commit the files were still \u0060ImmersiveMap/Render/Core/RenderPassGraph.swift\u0060 and \u0060ImmersiveMap/Render/Core/Subsystems/World/BuildingExtrusionRenderSubsystem.swift\u0060); \u006095a77274\u0060 feat: zoom-driven translucent-to-solid building transition (at that commit the files were still \u0060ImmersiveMap/Render/Core/RenderPassGraph.swift\u0060 and \u0060ImmersiveMap/Render/Core/Subsystems/World/BuildingExtrusionRenderSubsystem.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Render/Core/RenderPassGraph.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a217e97cd84618bec31f0c2ba4bdc868225f7978523beccf435602595307ebcd"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060Develop/ImmersiveMapDevIOS\u0060, \u0060Develop/ImmersiveMapDevMac\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060sleep\u0060 is async and calls sleep \u2014 a blocking call inside async code stalls the cooperative pool\u0027s thread \u2014 one per core \u2014 and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/UI/Export/ImmersiveMapStillRecorder.swift"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d009363a797302456d47e5e250887fa0a37be43c18d71a574aab54fdea1e54"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060builder.labelsEnabled || hasRenderableLabels\u0060 appears character-identically in 2 files \u2014 Sources/ImmersiveMap/Labels/Subsystems/BaseLabelDrawSubsystem.swift, Sources/ImmersiveMap/Labels/Subsystems/RoadLabelDrawSubsystem.swift. 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":"Sources/ImmersiveMap/Labels/Subsystems/BaseLabelDrawSubsystem.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5936f1eb84704491d4aae540cf194cedd78c6a70a9afbc1113967c1fe4b9144"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060controls.baseLabelBoundsEnabled || controls.roadLabelBoundsEnabled\u0060 appears character-identically in 2 files \u2014 Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift, Sources/ImmersiveMap/Render/Debug/RendererDebugOverlayDrawer.swift. 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":"Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb3ddc3728b465690b5ac4bf2c0f5d78a71653178177e36fd89c9deb21efde6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060coordinate.latitude != displayedCoordinate.latitude || coordinate.longitude != displayedCoordinate.longitude\u0060 appears character-identically in 2 files \u2014 Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift, Sources/ImmersiveMap/SceneModels/Presentation/SceneModelPresentationStateStore.swift. 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":"Sources/ImmersiveMap/Pins/Presentation/PinPresentationStateStore.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a0cae7f57925a7517b86fbef20fe8767708d77f964ff56dca8f7a97c77d054"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060frameContext.sharedState.baseLabelState.hasActiveFadeAnimations || frameContext.sharedState.roadLabelState.hasActiveFadeAnimations\u0060 appears character-identically in 2 files \u2014 Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift, Sources/ImmersiveMap/Render/RenderFrameEngine.swift. 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":"Sources/ImmersiveMap/Labels/Subsystems/BaseLabelPrepareSubsystem.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77c49ba556307e643c82f151df4f965a31b0caff35220a066c98a39e05acdec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060frameContext.sharedState.isExtrusionRising || rise.isAnimating\u0060 appears character-identically in 3 files \u2014 Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileRenderSubsystem.swift, Sources/ImmersiveMap/Tile/Subsystems/BuildingExtrusionRenderSubsystem.swift, Sources/ImmersiveMap/Tile/Subsystems/TreeRenderSubsystem.swift. 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":"Sources/ImmersiveMap/SceneModels/ModelTiles/ModelTileRenderSubsystem.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a930346b4c9d36e99a15ad20c1cf216d5da229efca941a36c712ef44f9ed2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isPanelEnabled == false || snapshot == nil\u0060 appears character-identically in 2 files \u2014 Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift, Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDViewMac.swift. 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":"Sources/ImmersiveMapDebug/Panel/DebugOverlayHUDView.swift"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b787ca52297d7434f5b543c80b1cfba19cb924234f74da1039559b1ccbf982c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized == \u0022true\u0022 || normalized == \u0022yes\u0022 || normalized == \u00221\u0022\u0060 appears character-identically in 2 files \u2014 Sources/ImmersiveMap/Schema/ImmersiveMapFeatureProperties.swift, Sources/ImmersiveMap/Style/Default/ProtomapsBasemapDefaultMapStyle.swift. 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":"Sources/ImmersiveMap/Schema/ImmersiveMapFeatureProperties.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9acff65aaf32aa18587df85ef5ee2d85e84b666f3c89d3142b68988c1c4bc0d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060polygon.lineDistances.count == polygon.vertices.count \u0026\u0026 polygon.lineParameters.count == polygon.vertices.count\u0060 appears character-identically in 2 files \u2014 Sources/ImmersiveMap/Tile/Parse/GroundGeometrySubdivider.swift, Sources/ImmersiveMap/Tile/Parse/UnificationStage.swift. 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":"Sources/ImmersiveMap/Tile/Parse/GroundGeometrySubdivider.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e3d341387b38d102087da196b0bd290bb7f21f668ab19263867108bfd534c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settings.isVisible == false || shownCredits.isEmpty\u0060 appears character-identically in 2 files \u2014 Sources/ImmersiveMap/UI/AttributionBadgeView.swift, Sources/ImmersiveMap/UI/AttributionBadgeViewMac.swift. 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":"Sources/ImmersiveMap/UI/AttributionBadgeView.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae557cca760ba43772483ba199c3c85840943a4e6cb77bf0ebee69270b4f49e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060style.color.w \u003E 0 || style.strokeColor.w \u003E 0\u0060 appears character-identically in 2 files \u2014 Sources/ImmersiveMap/Layers/LayerMeshBuilder.swift, Sources/ImmersiveMap/Layers/Selection/LayerSelectionSnapshot.swift. 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":"Sources/ImmersiveMap/Layers/LayerMeshBuilder.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8672f0b68c3381bc96d3ce788e9a61bd8eda354aec3abfa003c989a2876800fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMapDebug/Panel/ImmersiveMapDebugOverlayRuntime.swift"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e37cd1a448adc7f3725ef5765d315aeadfc5e76fda63c9ebe884a21ed73a10c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Tile/Loading/PreparedTileDiskCaching.swift"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0129c7fba8fff5d11c589dd38c9515cf849d35ba01b4c1c89f2b50c58af6076"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/ImmersiveMap/Layers/Cache/LayerMeshDiskCache.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe2dc172b9e2d5623583dcf80b8684f8c77c955daf8c89f71103ce91fa516e9"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":6,"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."]}]}