{"$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":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"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":"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":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"GameDetailLayoutPlan.init (cyclomatic 383): GameDetailLayoutPlan.init has cyclomatic complexity 383 (threshold 15). Of this number, 366 points are the body\u0027s own statements and 17 belong to 8 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":"Surround/Views/GameDetail/GameDetailLayout.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedc8179a63b7c5b87af88075951a615e8e1ede541caae3c26e464a47d411eca"}},{"ruleId":"D1","level":"warning","message":{"text":"validate-localizations.validate (cyclomatic 95): validate-localizations.validate has cyclomatic complexity 95 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/validate-localizations.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"4428c5514fa8ab83ced98bb9a6a086f798261e6536fa3ff3ab6407b6a6618401"}},{"ruleId":"D1","level":"warning","message":{"text":"SurroundTheme.identityRoleColor (cyclomatic 80): SurroundTheme.identityRoleColor has cyclomatic complexity 80 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":2058}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc01d35519d5c61c080b65b59a2d3c7866c716e6c1c013e6f63bc1cb6882877"}},{"ruleId":"D1","level":"warning","message":{"text":"OGSService.onWebsocketServerEvent (cyclomatic 75): OGSService.onWebsocketServerEvent has cyclomatic complexity 75 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf124dfb16e345ff7154f6473eb3dce9488f1b15a5fc5306e289e321d819d5f"}},{"ruleId":"D1","level":"warning","message":{"text":"OGSService.onWebsocketServerGameEvent (cyclomatic 70): OGSService.onWebsocketServerGameEvent has cyclomatic complexity 70 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":2035}}}],"partialFingerprints":{"codehealthFindingId/v1":"3865cbc8ea0eab8fcae550cd86277fd8f9dbef5e73eea79c13f8dea88799baa6"}},{"ruleId":"D1","level":"warning","message":{"text":"DuoAssetLibraryPlanBuilder.build (cyclomatic 68): DuoAssetLibraryPlanBuilder.build has cyclomatic complexity 68 (threshold 15). Of this number, 65 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoAssetLibraryAdapter.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5bd771b31fa33a3b5957661f20b2dcf16bc2e054ba152d4cf39ff3dd7f8506"}},{"ruleId":"D1","level":"warning","message":{"text":"DuoCompatibilityVerifier.prove (cyclomatic 57): DuoCompatibilityVerifier.prove has cyclomatic complexity 57 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoCompatibility.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2aea1eda893617cab299d7868989ccf2d84c310f44f7fca93b9d5f8e418a48e"}},{"ruleId":"D1","level":"warning","message":{"text":"SelectedReleaseHandoff.build (cyclomatic 55): SelectedReleaseHandoff.build has cyclomatic complexity 55 (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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SelectedReleaseHandoff.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87e939f0e419b9f0838c0782e6f3ed236a86727984c19ecbbfaf731b3077e2b"}},{"ruleId":"D1","level":"warning","message":{"text":"main.swift.top-level code (cyclomatic 55): main.swift.top-level code has cyclomatic complexity 55 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/AppStoreConnectTool/main.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"292d280723a9b62a3415fa48609e317630631c1989c50cc66844217e16438f26"}},{"ruleId":"D1","level":"warning","message":{"text":"SelectedReleaseHandoff.verifyEvidence (cyclomatic 51): SelectedReleaseHandoff.verifyEvidence has cyclomatic complexity 51 (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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SelectedReleaseHandoff.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"39089d9404603f3d2ab17fccc87d2e430f898fed676722895e626e247dcb6f48"}},{"ruleId":"D1","level":"warning","message":{"text":"DuoExecutionJournal.validateRetry (cyclomatic 49): DuoExecutionJournal.validateRetry has cyclomatic complexity 49 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoExecutionJournal.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1b678164ff8fad3298ee8ee4ec6c9a27ed1fad1fcc2a185e8a701f53b5e8d8"}},{"ruleId":"D1","level":"warning","message":{"text":"Stones.body (cyclomatic 49): Stones.body has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/BoardView.swift"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"038494e9e5099bc9ef0491c0627dac23d41dcc11343fdf1021a0039b8f0bc398"}},{"ruleId":"D1","level":"warning","message":{"text":"DuoPublishingExecutor.preflightStagedImage (cyclomatic 48): DuoPublishingExecutor.preflightStagedImage has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"be51c732477666e558f5db1253a4dd05de5034072a59a2ef56cceb50452bb896"}},{"ruleId":"D1","level":"warning","message":{"text":"Goban.body (cyclomatic 48): Goban.body has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/BoardView.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"207e9bcfa5c64e65d83bcd31c00eb8dfd46f53ec89e87ee5172f4d5295e32d8e"}},{"ruleId":"D1","level":"warning","message":{"text":"GameDetailClockCard.primaryContent (cyclomatic 48): GameDetailClockCard.primaryContent has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"308b447b963e5d75d88ed12a77b04fc3a127c9e40e202dda6054561a7e48a7c0"}},{"ruleId":"D1","level":"warning","message":{"text":"ASCDuoPublishingService.allowedMutation (cyclomatic 47): ASCDuoPublishingService.allowedMutation has cyclomatic complexity 47 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 5 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingService.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"a526c7ca3acf50b7a5a94f62ae7c1971de5121bcb8f9566aa8b1c2bbe5e54803"}},{"ruleId":"D1","level":"warning","message":{"text":"Publisher.publish (cyclomatic 43): Publisher.publish has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5afda37abd3fa1a74b4c6a51a785ffa5347352fb0aa7b98adc96d1dde77a47f"}},{"ruleId":"D1","level":"warning","message":{"text":"GameDetailPlayerIdentity.body (cyclomatic 43): GameDetailPlayerIdentity.body has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8ce7e5e9274495979d50ed22a6d669578894c73ec6f86996f1ad4e93f247b9"}},{"ruleId":"D1","level":"warning","message":{"text":"Game.status (cyclomatic 42): Game.status has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/Core/Game.swift"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"080f8925332e1192ffc85a2740f1c3a648db897a920fa2811a67d7f8ee7d61f9"}},{"ruleId":"D1","level":"warning","message":{"text":"BiographyHTML.serialize (cyclomatic 40): BiographyHTML.serialize 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":"Surround/Models/ProfileBiographyDocument.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"338ec769d69b68151b53047f73e2421e4a15bab3169e9b1a7b510dad41f084e7"}},{"ruleId":"D1","level":"warning","message":{"text":"PrivateMessageTranscript.body (cyclomatic 39): PrivateMessageTranscript.body has cyclomatic complexity 39 (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":"Surround/Components/PrivateMessageLog.swift"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"762590625741687eaaa50102e5f7f17ebde61e04ab9102af17f746aba5e17083"}},{"ruleId":"D1","level":"warning","message":{"text":"validate-localizations.shape (cyclomatic 39): validate-localizations.shape has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/validate-localizations.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecae8c3175391f047d01bedf51e5ecacd0dd83ebebb222d17be2cda3d450393a"}},{"ruleId":"D1","level":"warning","message":{"text":"DuoPublishingExecutor.retrySingleImage (cyclomatic 38): DuoPublishingExecutor.retrySingleImage has cyclomatic complexity 38 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6bc3ee12b49b4535d5074c848b33f111157400272cbbe5d060de4f6c8d6881"}},{"ruleId":"D1","level":"warning","message":{"text":"Publisher.reconcilePartialScreenshots (cyclomatic 37): Publisher.reconcilePartialScreenshots has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"d762fcdd8e471a8db0705918ca7dff91a60c0965864c44ee5de68ff1b0810753"}},{"ruleId":"D1","level":"warning","message":{"text":"BoardView.boardFace (cyclomatic 35): BoardView.boardFace 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":"Surround/Components/BoardView.swift"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db064c76195752b8261e62aca1740f40b5092a992ebe472a112de7f086cc058"}},{"ruleId":"D1","level":"warning","message":{"text":"DuoCompatibilityInspector.capture (cyclomatic 34): DuoCompatibilityInspector.capture has cyclomatic complexity 34 (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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoCompatibility.swift"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"565b7f36828bdc20a8b88daf601b391ed78625d103115288e64bf93e0f44e255"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataOnlyPublisher.publish (cyclomatic 33): MetadataOnlyPublisher.publish has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/MetadataOnlyRelease.swift"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4b44d12d98790c633e66c5debe9fc140b412fa08d28721c2cf4078929b281b"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatLog.body (cyclomatic 33): ChatLog.body has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/ChatLog.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3d5096a0e885ed5463d43c2558a736e2de3f79735e1cdebf577f2075145254"}},{"ruleId":"D1","level":"warning","message":{"text":"ChallengeCell.playerInfos (cyclomatic 32): ChallengeCell.playerInfos 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":"Surround/Components/ChallengeCell.swift"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"98322731761b910782dbe741cc692b8b0d36a7e104b40251349570a092ba2673"}},{"ruleId":"D1","level":"warning","message":{"text":"OGSService.performFriendshipAction (cyclomatic 32): OGSService.performFriendshipAction has cyclomatic complexity 32 (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":"Surround/Services/OGSService.swift"},"region":{"startLine":5346}}}],"partialFingerprints":{"codehealthFindingId/v1":"9026d2484cd16108bc51bac53ee62883a17f97375f1e19fbf1a1b06807ea198e"}},{"ruleId":"D1","level":"warning","message":{"text":"MoveTree.replaceConditionalVariations (cyclomatic 31): MoveTree.replaceConditionalVariations has cyclomatic complexity 31 (threshold 15). Of this number, 25 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":"Surround/Models/Core/MoveTree.swift"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f91fe1e4af4a1693b66817c489194cb447f884f76af3b5ea2f5b0b656c23019"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyzeTreeSlice.nodes (cyclomatic 31): AnalyzeTreeSlice.nodes has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/AnalyzeTreeView.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a20ea39bac00b59487b447a355a81ba3dd830cc5e2759d4d18f71a63e6a4396"}},{"ruleId":"D1","level":"warning","message":{"text":"GameDetailClockState.accessibilityValue (cyclomatic 31): GameDetailClockState.accessibilityValue 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":"Surround/Views/GameDetail/GameDetailClockState.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"8328ddad2410a812a22ded0909997ecb581545f0d895007fb9ceac929fba611d"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataOnlyManifestBuilder.verify (cyclomatic 30): MetadataOnlyManifestBuilder.verify has cyclomatic complexity 30 (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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/MetadataOnlyRelease.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea5234154cf09b2ca94377e06c07ad4dd12233d740d296a4c81e65be2c62af7"}},{"ruleId":"D1","level":"warning","message":{"text":"Publisher.reconcileVersionLocalizations (cyclomatic 30): Publisher.reconcileVersionLocalizations has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16b1a545a47f395b0c48ddf9a7904104fbc63595ecb7ccb9729a32facc2e6bb"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageStoneCanvas.body (cyclomatic 30): ImageStoneCanvas.body has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/BoardView.swift"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3b7a0eac2dafd08f981ca965a5a45fc192f1836b183c9ad64fabbdcfd59f8c"}},{"ruleId":"D1","level":"warning","message":{"text":"Coordinator.applyTabs (cyclomatic 30): Coordinator.applyTabs has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/IPadTabContainer.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"846651a850bbd20455ca1d485841b3dacc4f0aa1191f911684adbac47a7ca7c6"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionStatusModel.reduce (cyclomatic 29): ConnectionStatusModel.reduce has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/ConnectionStatusModel.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9df8280370733762ec6861a674ce6aefb4319b6bc4d9ac6df188bf6db9cd44"}},{"ruleId":"D1","level":"warning","message":{"text":"Coordinator.measureLayout (cyclomatic 29): Coordinator.measureLayout has cyclomatic complexity 29 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: 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":"Surround/Views/IPadTabContainer.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"508467d24b1c823a825595bf3d88a39897692283e19f70118684bd6224b50e21"}},{"ruleId":"D1","level":"warning","message":{"text":"OGSService.fetchPlayerProfile (cyclomatic 28): OGSService.fetchPlayerProfile has cyclomatic complexity 28 (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":"Surround/Services/OGSService.swift"},"region":{"startLine":2531}}}],"partialFingerprints":{"codehealthFindingId/v1":"9087ac2b57e07ea6208f79ab5f54fa8995adcc37c5dba06dd9b542bbc88ca346"}},{"ruleId":"D1","level":"warning","message":{"text":"OGSService.applyFriendshipLists (cyclomatic 28): OGSService.applyFriendshipLists 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":"Surround/Services/OGSService.swift"},"region":{"startLine":5507}}}],"partialFingerprints":{"codehealthFindingId/v1":"948cb1d31b752e53c04238de46d0f152d90aacb3c4a132e5122f2a3996a7130b"}},{"ruleId":"D1","level":"warning","message":{"text":"SingleGameView.gameContent (cyclomatic 28): SingleGameView.gameContent has cyclomatic complexity 28 (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":"Surround/Views/GameDetail/SingleGameView.swift"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1b1e49733b99cee3175e039a728455a10f1591a3f9b6af67c26fd273db770c"}},{"ruleId":"D1","level":"warning","message":{"text":"diagnose-ipad-animation-stalls.run (cyclomatic 28): diagnose-ipad-animation-stalls.run 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":".github/ci-tools/diagnose-ipad-animation-stalls.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3c6b26a768b8f1becf800798206ddf1da74bb0bc993a3c5a08f086ddd30fa2"}},{"ruleId":"D1","level":"warning","message":{"text":"ManifestBuilder.verifyWithHandoff (cyclomatic 27): ManifestBuilder.verifyWithHandoff 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ManifestBuilder.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0824483b69bac5d3556d3e9d8e4585a5213e273e51d29cd0f43c1a6529ffc0ca"}},{"ruleId":"D1","level":"warning","message":{"text":"PositioningView.requestGeometryUpdate (cyclomatic 27): PositioningView.requestGeometryUpdate has cyclomatic complexity 27 (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":"Surround/MainViewWrapper.swift"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"da65e119930ed2064d4b2522090d9d1c40e762edbca1e6d11994c43ee9e49e4a"}},{"ruleId":"D1","level":"warning","message":{"text":"Stone.body (cyclomatic 27): Stone.body 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":"Surround/Components/Stone.swift"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bea928c01b79465477b731951beedead6cb62cd88b408a5087d7c1feaf62413"}},{"ruleId":"D1","level":"warning","message":{"text":"DuoAssetLibraryRouting.resolve (cyclomatic 26): DuoAssetLibraryRouting.resolve has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoAssetLibrary.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc70fabfeaf518cfd2a08bdc9eacf81dc6ee6ceac7c6759cda64ea2a32aed043"}},{"ruleId":"D1","level":"warning","message":{"text":"Publisher.reconcileScreenshotSets (cyclomatic 25): Publisher.reconcileScreenshotSets has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47e3ea31ffd0e947de5f273b8b399c059cb7b9d6c778968ce44498f6ee62776"}},{"ruleId":"D1","level":"warning","message":{"text":"SelectedReleaseHandoff.load (cyclomatic 25): SelectedReleaseHandoff.load has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SelectedReleaseHandoff.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0118ebe202b49500c003e4a0aac5ebe49b62a42c14ab7c9ba02f8b0b2c08ed4f"}},{"ruleId":"D1","level":"warning","message":{"text":"SnapshotPreflight.validate (cyclomatic 25): SnapshotPreflight.validate has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SnapshotPreflight.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98af25633e4d7b323c3b97634b80c0064bee8cac526264c2bedf7f432488223"}},{"ruleId":"D1","level":"warning","message":{"text":"Provider.getTimeline (cyclomatic 25): Provider.getTimeline has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SurroundWidgets/SurroundWidgets.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40bc7c6959934147e74042c0ca5cea61828b61447dcb4b54efe535b8fcc0697"}},{"ruleId":"D1","level":"warning","message":{"text":"AutomatchEntryPresentation.init (cyclomatic 25): AutomatchEntryPresentation.init has cyclomatic complexity 25 (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":"Surround/Models/OGS/OGSAutomatchEntry.swift"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1224501e0006a72070c6710cccff447de08219886f482369a3d6ca99721f30ad"}},{"ruleId":"D1","level":"warning","message":{"text":"SnapshotService.loadAppInfo (cyclomatic 24): SnapshotService.loadAppInfo 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SnapshotService.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cae19396ac8a878a907cf6b946de5fcc175089ad2dd8dc8c8d5dae91fa66db0"}},{"ruleId":"D1","level":"warning","message":{"text":"CorrespondenceGamesWidgetView.screenshotReadinessIdentifier (cyclomatic 24): CorrespondenceGamesWidgetView.screenshotReadinessIdentifier has cyclomatic complexity 24 (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":"SurroundWidgets/SurroundWidgets.swift"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68e1e73c393e3b56d616fa2693fc08ef75ef843f89edcf202030ac0da411dcd"}},{"ruleId":"D1","level":"warning","message":{"text":"OGSService.fetchFinishedGames (cyclomatic 24): OGSService.fetchFinishedGames 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":"Surround/Services/OGSService.swift"},"region":{"startLine":2935}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7c7622e5199d6cc7003e3628594ad9c161968c12474c39ecc2bc3bab7c81c4"}},{"ruleId":"D1","level":"warning","message":{"text":"Coordinator.applyTabs (cyclomatic 24): Coordinator.applyTabs 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":"Surround/Views/DuoTabContainer.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"1500cc39e1f6bd198056999d23a2476e893997381c0800f434d777c79413ce57"}},{"ruleId":"D1","level":"warning","message":{"text":"OGSClock.calculateTimeLeft (cyclomatic 24): OGSClock.calculateTimeLeft 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":"Surround/Models/OGS/OGSClock.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d58a56120b7b6ef5cec0079681fd96c592600f3183a652cb4ef6606c74a1d2d"}},{"ruleId":"D1","level":"warning","message":{"text":"Publisher.reconcileLiveState (cyclomatic 23): Publisher.reconcileLiveState has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e18ff9af5ef9a26ab73db7c92546befd0ab16d245c5263cb41d0c4c2610a9d3"}},{"ruleId":"D1","level":"warning","message":{"text":"DuoReleaseCoordinator.publish (cyclomatic 23): DuoReleaseCoordinator.publish has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SelectedReleaseHandoff.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"e389b63291244b5433a31245e2bf3f50c329300b18f51800122ec85085a05de2"}},{"ruleId":"D1","level":"warning","message":{"text":"ChristmasOrnamentTexture.image (cyclomatic 23): ChristmasOrnamentTexture.image has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/ChristmasKeepsakeSurfaces.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2422949582f55afc696c513fe093f69a59e3e888c6b4c20729fccdb56d624618"}},{"ruleId":"D1","level":"warning","message":{"text":"GameControlRow.actionsMenu (cyclomatic 23): GameControlRow.actionsMenu has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/GameControlRow.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5de456add785e3efbea3d78cac109f65ee495a0e75594c923e6119a2b5ae5f9"}},{"ruleId":"D1","level":"warning","message":{"text":"PrivateMessageComposer.body (cyclomatic 23): PrivateMessageComposer.body has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/PrivateMessageLog.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe89c2e7b24614085a8fc5a6508732774f8c6481985fc14bfc55df2016809f6"}},{"ruleId":"D1","level":"warning","message":{"text":"OGSService.init (cyclomatic 23): OGSService.init has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":1610}}}],"partialFingerprints":{"codehealthFindingId/v1":"2565f47f2e95e5ccbe96702e23ad30b7bf09d4990c76ab443b68526afc9dfdda"}},{"ruleId":"D1","level":"warning","message":{"text":"OGSService.onSeekGraphEvent (cyclomatic 23): OGSService.onSeekGraphEvent has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":4978}}}],"partialFingerprints":{"codehealthFindingId/v1":"464e2dff36e4f7887b9c3787018769407d149dd8529780f5e0832b3c55921a9f"}},{"ruleId":"D1","level":"warning","message":{"text":"Game.gamePhase (cyclomatic 23): Game.gamePhase has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/Core/Game.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb923510731a1b3d2edd7a7abc2f2593ac9bf27f062a3d7ba268df3d085b8463"}},{"ruleId":"D1","level":"warning","message":{"text":"GameDetailClockCard.body (cyclomatic 23): GameDetailClockCard.body has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b598bcfcda8c6db00f92f0ed2ed39f581ef6f7c5797ca29e5ca36c5f3ea9678"}},{"ruleId":"D1","level":"warning","message":{"text":"GameDetailClockCard.detailRow (cyclomatic 23): GameDetailClockCard.detailRow has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8340509889cf511782c00921b674c6d206f8ea6ece65fb2cd5bdb21663d4e39"}},{"ruleId":"D1","level":"warning","message":{"text":"GameDetailView.content (cyclomatic 23): GameDetailView.content has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailView.swift"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d79f95faf33845006bfff7c516de87f3158f4566715f61d745df62f0369ffd"}},{"ruleId":"D1","level":"warning","message":{"text":"DuoPublishingExecutor.preflight (cyclomatic 22): DuoPublishingExecutor.preflight 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9494dcb48fe825d15f095e8cbe7a470b533fb8a2d482e75f790a9b9f3e106c"}},{"ruleId":"D1","level":"warning","message":{"text":"LocaleConfiguration.parseFamilies (cyclomatic 22): LocaleConfiguration.parseFamilies 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Models.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ddbae1318a2e82f8294796f173c2e836caf9337c1e3d9bc32d1eee037b67a7"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeGameFacts.note (cyclomatic 22): HomeGameFacts.note 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":"Surround/Components/HomeGameCard.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abea84765e041c7b867809505793d6cd6dda87c228d9bb63a7336f0283a7b50"}},{"ruleId":"D1","level":"warning","message":{"text":"BiographyMarkdown.html (cyclomatic 22): BiographyMarkdown.html 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":"Surround/Models/ProfileBiographyDocument.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d026a9e1ac4e74cfaeb2ab82e3d1a51ff0e0118aab676b655f9b7bc0c2c2c8d"}},{"ruleId":"D1","level":"warning","message":{"text":"OGSService.shareVariation (cyclomatic 22): OGSService.shareVariation has cyclomatic complexity 22 (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":"Surround/Services/OGSService.swift"},"region":{"startLine":4823}}}],"partialFingerprints":{"codehealthFindingId/v1":"d931c25255d506a81d093848cc8bf0f176eafda3a8dda34e7f7350d4c2a50714"}},{"ruleId":"D1","level":"warning","message":{"text":"OGSService.refreshFriendships (cyclomatic 22): OGSService.refreshFriendships 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":"Surround/Services/OGSService.swift"},"region":{"startLine":5247}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ac3eb77a479a061e985f272e2902ba4de0b7e277540f9857f0a3dbf2d3ba2f"}},{"ruleId":"D1","level":"warning","message":{"text":"AppNavigationStack.destination (cyclomatic 22): AppNavigationStack.destination has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/StackRouter.swift"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7fb1f095bd4f1a4038f6d1cfbfb6106efc732a59a00c43570ecb0d73add6b1"}},{"ruleId":"D1","level":"warning","message":{"text":"Coordinator.measureLayout (cyclomatic 22): Coordinator.measureLayout has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/DuoTabContainer.swift"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"3001d597eb94b0129ba420f7cacc3fd2df8e6ba57fbfada835abefc4ceade7e3"}},{"ruleId":"D1","level":"warning","message":{"text":"QuickMatchForm.body (cyclomatic 22): QuickMatchForm.body 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":"Surround/Views/QuickMatchView.swift"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"304d2b341e4f97b6f8e40b4eb1304d7f485ceef82b22f960eeb05455989fe671"}},{"ruleId":"D1","level":"warning","message":{"text":"Game.gameData (cyclomatic 22): Game.gameData 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":"Surround/Models/Core/Game.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0f29bf4cbbe716f9ccfcda4d0563fa6d36430fcf342fbf7bfddfe8025140da"}},{"ruleId":"D1","level":"warning","message":{"text":"SurroundTheme.clockSurfaceStops (cyclomatic 22): SurroundTheme.clockSurfaceStops 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1644}}}],"partialFingerprints":{"codehealthFindingId/v1":"2864e6a57bd17541fdd02f2abe09fa376fc163445c388f93d041b4e6b51e5960"}},{"ruleId":"D1","level":"warning","message":{"text":"SurroundTheme.clockForeground (cyclomatic 22): SurroundTheme.clockForeground 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8057ff74fbd69505443f0f613c8ae0ba43203a136914d8e4293cdf9aa930f0"}},{"ruleId":"D1","level":"warning","message":{"text":"ASCAPIClient.sendWithRetry (cyclomatic 21): ASCAPIClient.sendWithRetry 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/APIClient.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b262095681039a4c94322050dd46b639afdc5582a1e4cc6a34f531f2b26912"}},{"ruleId":"D1","level":"warning","message":{"text":"DuoPublishingExecutor.submit (cyclomatic 21): DuoPublishingExecutor.submit 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"a863fe6b7aca6034764b89e0837c90fb5a606f54b4ff0a93ade03554ac42772a"}},{"ruleId":"D1","level":"warning","message":{"text":"ASCDuoPublishingService.verifyEditableTargets (cyclomatic 21): ASCDuoPublishingService.verifyEditableTargets has cyclomatic complexity 21 (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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingService.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"df55a5e631688e7a6a696a528787da5f8f61fc05e2113dab61cb0bcb19de4592"}},{"ruleId":"D1","level":"warning","message":{"text":"MoveTree.register (cyclomatic 21): MoveTree.register 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":"Surround/Models/Core/MoveTree.swift"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82d01ef875e5ecae37cf62297ee70d281d6cf2e3251b8026c100b9612650009"}},{"ruleId":"D1","level":"warning","message":{"text":"GameDetailClockState.badgeTitle (cyclomatic 21): GameDetailClockState.badgeTitle has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailClockState.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15bf00d9b1a329e0d495758cb8d624f93757e5072bfd1d9901bfce2961edd8d"}},{"ruleId":"D1","level":"warning","message":{"text":"SurroundTheme.board (cyclomatic 21): SurroundTheme.board has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"237b6f064b15fa555cdceb792edf6a10303bc34999763230329cee1f3c39dddc"}},{"ruleId":"D1","level":"warning","message":{"text":"SurroundTheme.clockSolidSurface (cyclomatic 21): SurroundTheme.clockSolidSurface has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (SurroundTheme.identityChipBorder, SurroundTheme.identityForeground, SurroundTheme.identitySecondary) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcf795452cbcbd67e695e92bc6378029542056f2fe5053393edfb4d455171fe"}},{"ruleId":"D1","level":"warning","message":{"text":"SurroundTheme.identityChipBorder (cyclomatic 21): SurroundTheme.identityChipBorder has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (SurroundTheme.clockSolidSurface, SurroundTheme.identityForeground, SurroundTheme.identitySecondary) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1978}}}],"partialFingerprints":{"codehealthFindingId/v1":"37374dc90d86b50c5495ee187b85f6a0b88548131d47efdde6b6d2f1c4325036"}},{"ruleId":"D1","level":"warning","message":{"text":"SurroundTheme.identityForeground (cyclomatic 21): SurroundTheme.identityForeground has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (SurroundTheme.clockSolidSurface, SurroundTheme.identityChipBorder, SurroundTheme.identitySecondary) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":2015}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6b4680823ba6c65c6d3c3d5b0a6ee514c37954e835ab650a383570d74bb31a"}},{"ruleId":"D1","level":"warning","message":{"text":"SurroundTheme.identitySecondary (cyclomatic 21): SurroundTheme.identitySecondary has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (SurroundTheme.clockSolidSurface, SurroundTheme.identityChipBorder, SurroundTheme.identityForeground) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"f292a1d5c1243c896256d99eaa8a7353c81da1177b67dc6f0df3299b30f129fe"}},{"ruleId":"D1","level":"warning","message":{"text":"SingleGameView.actionCorner (cyclomatic 21): SingleGameView.actionCorner 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":"Surround/Views/GameDetail/SingleGameView.swift"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cff404931afeabb4b04b52a35efedd04e45ab58a2ab6777ff2c46577fdf1501"}},{"ruleId":"D1","level":"warning","message":{"text":"DuoPublishingExecutor.guardOwnedGraph (cyclomatic 20): DuoPublishingExecutor.guardOwnedGraph 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e32ff903ec58a6b6a23d6e51083891c99f400358651f665b94bd46ad4681b1"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageValidation.removingOpaqueAlphaChannel (cyclomatic 20): ImageValidation.removingOpaqueAlphaChannel 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ImageValidation.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f737364000e7e8d15475225daa7fccfd0e3f443182d53ee4a500472acbec6b9"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivityHostPolicy.hosts (cyclomatic 20): ActivityHostPolicy.hosts 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":"Surround/Models/ActivityHostPolicy.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"99000c53b2af92b180b094fca13a02ef0505715701d30883003b32b175fb2cb5"}},{"ruleId":"D1","level":"warning","message":{"text":"OGSService.checkLoginStatus (cyclomatic 20): OGSService.checkLoginStatus 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":"Surround/Services/OGSService.swift"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b3d017e182e8bd4e84030369bad08211c676bf7bb683aa39da0d2afa47a4da"}},{"ruleId":"D1","level":"warning","message":{"text":"FinishedGameCache.prune (cyclomatic 20): FinishedGameCache.prune 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":"Surround/Services/OGSService.swift"},"region":{"startLine":6644}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5b4ded2fcc22c3168692963670105d8f5ced7c63da02765195913d1fd33b8b"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeView.body (cyclomatic 20): HomeView.body 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":"Surround/Views/HomeView.swift"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e0c7eda15b7451149af64b69aa347b75b64c71b44efd52ecfd148b5e8d3da1"}},{"ruleId":"D1","level":"warning","message":{"text":"Game.computeScore (cyclomatic 20): Game.computeScore 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":"Surround/Models/Core/Game.swift"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee15837050df6f37545429807875b72ae28c015a87492d6980c45a850e271dfb"}},{"ruleId":"D1","level":"warning","message":{"text":"MoveTree.removeRegisteredPositions (cyclomatic 20): MoveTree.removeRegisteredPositions 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":"Surround/Models/Core/MoveTree.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4aaa666d60775b04688f2b7b165b4b4c6ef23d244ddc2c78773df5c52a893b1"}},{"ruleId":"D1","level":"warning","message":{"text":"OGSActiveQuickMatchPresentation.init (cyclomatic 20): OGSActiveQuickMatchPresentation.init has cyclomatic complexity 20 (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":"Surround/Models/OGS/OGSAutomatchEntry.swift"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"927a73a9a453d2e1663e2a95e3ad8306721822f4fcddd1a6cf7554d08b2de70c"}},{"ruleId":"D1","level":"warning","message":{"text":"SurroundTheme.clockGlassTint (cyclomatic 20): SurroundTheme.clockGlassTint has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (SurroundTheme.identityGlassTint, SurroundTheme.clockAccent) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5877a700bd70b72e3e5284d44155076635baad695920aac4cec31f005add604"}},{"ruleId":"D1","level":"warning","message":{"text":"SurroundTheme.identityGlassTint (cyclomatic 20): SurroundTheme.identityGlassTint has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (SurroundTheme.clockGlassTint, SurroundTheme.clockAccent) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"923fbe6e9945e6b8bbc929278b7e774b04107b4ec205c47acf811a2593043a34"}},{"ruleId":"D1","level":"warning","message":{"text":"SurroundTheme.clockAccent (cyclomatic 20): SurroundTheme.clockAccent has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (SurroundTheme.clockGlassTint, SurroundTheme.identityGlassTint) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1762}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08a8c59c8e5de087c808f2dfa0bfd2cc131e9bb65d84a6652e89cc7a0a4a7ef"}},{"ruleId":"D1","level":"warning","message":{"text":"SurroundTheme.identityChipColors (cyclomatic 20): SurroundTheme.identityChipColors 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"002084c8d0263615955a10c712f4840753bff5d15e83b76f412004be5368ae3d"}},{"ruleId":"D1","level":"warning","message":{"text":"AppReviewPresentation.swift.appReviewContext (cyclomatic 20): AppReviewPresentation.swift.appReviewContext has cyclomatic complexity 20 (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":"Surround/Views/AppReviewPresentation.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6179910d34eee2d3f2e86182f47bcf5e9e3c13d4a5453db17fd7a79d10b4f0f"}},{"ruleId":"D1","level":"warning","message":{"text":"diagnose-ipad-animation-stalls.summarize_animation_idle (cyclomatic 20): diagnose-ipad-animation-stalls.summarize_animation_idle 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":".github/ci-tools/diagnose-ipad-animation-stalls.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1808028b680796148c3574a0d2dbd2a26968d71dc30e49177ec4c175db6eb40"}},{"ruleId":"D1","level":"warning","message":{"text":"validate-localizations.main (cyclomatic 20): validate-localizations.main 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":".github/ci-tools/validate-localizations.py"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66e4b5743285dc58d932301c57bdd7a8a157274a35ef1386522d68641f5666d"}},{"ruleId":"D1","level":"warning","message":{"text":"Publisher.publishScreenshotSet (cyclomatic 19): Publisher.publishScreenshotSet 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"5378dc4f1886de15890a87378806df6f4b14611c785ff96ed7d325921ea2dae1"}},{"ruleId":"D1","level":"warning","message":{"text":"Publisher.verifyBackup (cyclomatic 19): Publisher.verifyBackup has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d04f6dd53c56f23b1ccb8bbc66f68e63c3ab87bbcce9c0d6e6e69f2d0dbca9"}},{"ruleId":"D1","level":"warning","message":{"text":"NewChatInput.body (cyclomatic 19): NewChatInput.body 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":"Surround/Components/ChatLog.swift"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1b372ce07dc29a8984bdf6ad70bd16efec493f1e70afa38eed04dc97ec8650"}},{"ruleId":"D1","level":"warning","message":{"text":"GameControlGlass.body (cyclomatic 19): GameControlGlass.body 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":"Surround/Components/GameControlRow.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac1334af8a7a2ece2bcc3694f92c5d1b88fa6fe35c04ebd51905a5ea9d72f3d"}},{"ruleId":"D1","level":"warning","message":{"text":"ProfileBiographyLinkTarget.resolve (cyclomatic 19): ProfileBiographyLinkTarget.resolve has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/ProfileBiographyDocument.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d8723dce4977b96fe4695f3b14c94bb3a4cfe8c8f3b41d9d6177fa8cf7bc77"}},{"ruleId":"D1","level":"warning","message":{"text":"OGSService.beginConditionalMoveSubmission (cyclomatic 19): OGSService.beginConditionalMoveSubmission has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":4308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d753f3f133e6f6bd4cf5aace4ae943f87057a0af3aeca1ae1002a91aa39bf3cf"}},{"ruleId":"D1","level":"warning","message":{"text":"SurroundTheme.clockSuddenDeathAccent (cyclomatic 19): SurroundTheme.clockSuddenDeathAccent 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"82eed5126646b61334add2ceb35fab4497b9768d49f12ac55a66ae096ee57f3c"}},{"ruleId":"D1","level":"warning","message":{"text":"GameToolbarLayout.modeButtons (cyclomatic 19): GameToolbarLayout.modeButtons 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":"Surround/Views/GameDetail/GameDetailView.swift"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc45d2a82720191934cf76d901f11f79429bb8d292b6b5ef9b0c9a0b0059e8b7"}},{"ruleId":"D1","level":"warning","message":{"text":"DuoCompatibilityBaseline.validate (cyclomatic 18): DuoCompatibilityBaseline.validate 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoCompatibility.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"337fc7e5e60daac1355cf4a992a5afb3e20a8a7a30a894d0caf48f528d967ade"}},{"ruleId":"D1","level":"warning","message":{"text":"Publisher.verifyReadBack (cyclomatic 18): Publisher.verifyReadBack 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"efed3a5528156f05cf50a5c75b78a555a3e1466cbe2ccd8e0e50443a02427be0"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigurationView.applyMaximumSize (cyclomatic 18): ConfigurationView.applyMaximumSize 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":"Surround/SurroundApp.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8702ea3fa455bbcf03d8b1fc7caba4b6ec73f1cd1af32a54306c9ab136635d"}},{"ruleId":"D1","level":"warning","message":{"text":"BoardDemoView.body (cyclomatic 18): BoardDemoView.body 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":"Surround/Components/BoardDemoView.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"465950cc3193156721e25eb33e87088af310c9b64e14859e8d7ec8897dd8767b"}},{"ruleId":"D1","level":"warning","message":{"text":"FeltFiberContour.stone (cyclomatic 18): FeltFiberContour.stone has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/FeltEdgeFibers.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b22540ed5eadd0dea4fe1c8cfa2029edcd2349cdf165fd5ca12bc84ae3b8a4"}},{"ruleId":"D1","level":"warning","message":{"text":"GameControlRow.mainActionButton (cyclomatic 18): GameControlRow.mainActionButton 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":"Surround/Components/GameControlRow.swift"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"db61ee914f14fc513733ae778123df96c528ae9a76d4bbf9195eef69451b2aa2"}},{"ruleId":"D1","level":"warning","message":{"text":"OGSService.processOverview (cyclomatic 18): OGSService.processOverview 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":"Surround/Services/OGSService.swift"},"region":{"startLine":2698}}}],"partialFingerprints":{"codehealthFindingId/v1":"886dc6fa064c4f7975098f0e83ef404746f7d9671b111fca67a2229e7cc8f06d"}},{"ruleId":"D1","level":"warning","message":{"text":"OGSService.loadFinishedGameData (cyclomatic 18): OGSService.loadFinishedGameData has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":3262}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a12b6158d835b74296ec25a932ff25f34787ea58db098553b50ebd0c154f81c"}},{"ruleId":"D1","level":"warning","message":{"text":"NewGameView.submitQuickMatches (cyclomatic 18): NewGameView.submitQuickMatches has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/NewGameView.swift"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d096e7a382866d7308d42baaa20bdb7dbe1425cb22b9824a559acff16ce443e"}},{"ruleId":"D1","level":"warning","message":{"text":"GameDetailPlayerIdentity.stackedIdentityText (cyclomatic 18): GameDetailPlayerIdentity.stackedIdentityText 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":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5dd564049620f97b818945386ead7ef2e51f7da15cc3fcc246e8d8c7fe43145"}},{"ruleId":"D1","level":"warning","message":{"text":"FrostPineDecoration.body (cyclomatic 18): FrostPineDecoration.body 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":3862}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d157e7c36758a49ed20d0d2bb6962ea0a9d6f5556e1b250b47d6ebf72821043"}},{"ruleId":"D1","level":"warning","message":{"text":"diagnose-ipad-animation-stalls.tool (cyclomatic 18): diagnose-ipad-animation-stalls.tool 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":".github/ci-tools/diagnose-ipad-animation-stalls.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1d7d3fb1d748c37330b58a9c2967d0d412efd2654c2cb312e337022888bb07"}},{"ruleId":"D1","level":"warning","message":{"text":"validate-localizations.arguments (cyclomatic 18): validate-localizations.arguments 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":".github/ci-tools/validate-localizations.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"07792e3b6f3f6c114cf063b37b6daf2db50f1f2bb0ee3045f91ae261a2901c66"}},{"ruleId":"D1","level":"warning","message":{"text":"validate-localizations.self_test (cyclomatic 18): validate-localizations.self_test 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":".github/ci-tools/validate-localizations.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebdf2c796530bc95e19dce28e3f29abcf9c947ebdbd98529a2b4b6fea34cbd6"}},{"ruleId":"D1","level":"warning","message":{"text":"HistoryGameCell.userResult (cyclomatic 17): HistoryGameCell.userResult 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":"Surround/Components/HistoryGameCell.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a782287938455a5169a09713bf479ddf3acf7254ea7a33238d1d4ee15d0cfe0c"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineTimerView.body (cyclomatic 17): InlineTimerView.body 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":"Surround/Components/InlineTimerView.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03a9d3461d38b0f37ce357ad85e19e0f07ea21362eca4b09c18700296bf0039"}},{"ruleId":"D1","level":"warning","message":{"text":"AppRoute.init (cyclomatic 17): AppRoute.init has cyclomatic complexity 17 (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":"Surround/Services/NavigationService.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"532881ff6c42a32659f7de4fc66293bfc31bd8d65e8347aabb02ea414d24b7d3"}},{"ruleId":"D1","level":"warning","message":{"text":"OGSQuickMatchPopularityStats.init (cyclomatic 17): OGSQuickMatchPopularityStats.init 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":"Surround/Services/OGSService.swift"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d610fa381b5623fccf3eebbfc01e41823518b5310eb1bb86d364de89132688"}},{"ruleId":"D1","level":"warning","message":{"text":"GameHistoryView.historyContent (cyclomatic 17): GameHistoryView.historyContent 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":"Surround/Views/GameHistoryView.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"87404df0e5844c79fda948f88459a6515735cac5d0ce56ddade0f9fa467935c1"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeView.loadRecentFinishedGames (cyclomatic 17): HomeView.loadRecentFinishedGames 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":"Surround/Views/HomeView.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc4df1ec4730f88d5f9682f756c94281126779fff89366ce225387c8757ebee"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayerProfileGames.reloadSection (cyclomatic 17): PlayerProfileGames.reloadSection 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":"Surround/Views/PlayerProfileGames.swift"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"25aee7e2b399bb9cea71ec73a3c251eca5a9de854705396371bc1af6f0de2ac5"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyzeControlBar.controlBarContent (cyclomatic 17): AnalyzeControlBar.controlBarContent 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":"Surround/Views/GameDetail/AnalyzeControlBar.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"452e9059836a320870ba34d9f8f149db01d53e1f60fef37d584677eb7f29f0b7"}},{"ruleId":"D1","level":"warning","message":{"text":"GameDetailClockCard.surface (cyclomatic 17): GameDetailClockCard.surface 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":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3e7924f8aba30e148994f4c9e5ec26667f26a9979783df18b0efd7844ded55"}},{"ruleId":"D1","level":"warning","message":{"text":"GameDetailClockCard.clockOutline (cyclomatic 17): GameDetailClockCard.clockOutline 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":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"572b439b7498db90ba16aabae777f1797c1c8a1cc7cdd92362ddee931d6afc7e"}},{"ruleId":"D1","level":"warning","message":{"text":"SingleGameView.observedGameContent (cyclomatic 17): SingleGameView.observedGameContent 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":"Surround/Views/GameDetail/SingleGameView.swift"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd97c1f83a5516a30ed5f243fb2d6cc3e96df19521efca34ea79a5de536e4f37"}},{"ruleId":"D1","level":"warning","message":{"text":"DuoPublishingExecutor.executePlacementSwitch (cyclomatic 16): DuoPublishingExecutor.executePlacementSwitch 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"844d81c37cd15dc7b658b844f3d5c683edbd5e523d55eeacac65bb379df37114"}},{"ruleId":"D1","level":"warning","message":{"text":"DuoPublishingExecutor.sealAndVerifyBackup (cyclomatic 16): DuoPublishingExecutor.sealAndVerifyBackup 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"e306cd00cfc2696a63b989f80c96fffa9db7be4be6027eb121016faaf4bf71e5"}},{"ruleId":"D1","level":"warning","message":{"text":"Publisher.verifiedBackup (cyclomatic 16): Publisher.verifiedBackup 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac8e77d561c082ddd8d7436e5026ed657263a26caf3fd90c38e382c12cd7034"}},{"ruleId":"D1","level":"warning","message":{"text":"Publisher.reconcileAppInfo (cyclomatic 16): Publisher.reconcileAppInfo 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8baf57aa07080bb7802e7042cd0e892c21d901e4516efc11656d826807e02c"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatLine.body (cyclomatic 16): ChatLine.body 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":"Surround/Components/ChatLine.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fb7e76bb65d78a75744ce8ac999382de5d1bec2daea6d22563b7b11c756547"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationPopupVisibility.init (cyclomatic 16): NotificationPopupVisibility.init has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/NotificationPopup.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e56134de77768f61c3fc19df574985cfe664f0f6a8088d9602c71815e84d4cf"}},{"ruleId":"D1","level":"warning","message":{"text":"AppReviewCoordinator.updateContext (cyclomatic 16): AppReviewCoordinator.updateContext has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/AppReviewPolicy.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f228b9a50017a1375dff5872a1314c50acb4053479acca1e18fce624047515"}},{"ruleId":"D1","level":"warning","message":{"text":"FinishedGamePreviewLoader.startQueuedRequests (cyclomatic 16): FinishedGamePreviewLoader.startQueuedRequests 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":"Surround/Services/FinishedGamePreviewLoader.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2a31f0cb2281df5f255b44e2c581494815fa01ec17f308268337b9a08f7c05"}},{"ruleId":"D1","level":"warning","message":{"text":"OGSService.cancelLiveAutomatchForGameStartedNotification (cyclomatic 16): OGSService.cancelLiveAutomatchForGameStartedNotification 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":"Surround/Services/OGSService.swift"},"region":{"startLine":3439}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cb01de039d5c3a37cc456921d5ad1f4d22b110cf5eaf287a8cfc9c5a13a688"}},{"ruleId":"D1","level":"warning","message":{"text":"SurroundNotificationService.scheduleNotificationsIfNecessary (cyclomatic 16): SurroundNotificationService.scheduleNotificationsIfNecessary 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":"Surround/Services/SurroundNotificationService.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e6bd7864d7679e0f79074e64341efe451a8556afbad4ba26b4d18fff699be8"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeView.resolvePendingGameOpen (cyclomatic 16): HomeView.resolvePendingGameOpen 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":"Surround/Views/HomeView.swift"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bcde81469e5a74501126481fcf717141401526ae91683bf9c3cc3c25bf7a21"}},{"ruleId":"D1","level":"warning","message":{"text":"MessagesPlayerSearchResults.search (cyclomatic 16): MessagesPlayerSearchResults.search 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":"Surround/Views/MessagesFriendsView.swift"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7eb05420d356b83008b1eb00fdfd5288d6277dbc1ab055770a6cc73d6c5fc9"}},{"ruleId":"D1","level":"warning","message":{"text":"GameDetailClockState.canShowTimer (cyclomatic 16): GameDetailClockState.canShowTimer 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":"Surround/Views/GameDetail/GameDetailClockState.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1145f97cf982370b8def315b3d09e5ae02471ddd95cdb3a5b4d7de03bdfe56"}},{"ruleId":"D1","level":"warning","message":{"text":"GameDetailClockCard.inlineContent (cyclomatic 16): GameDetailClockCard.inlineContent 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":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"921c9227d0bb124fcd77d474d1008995d279d6bc6ab255ecebc6eb748bf312f5"}},{"ruleId":"D1","level":"warning","message":{"text":"SurroundTheme.clockAgreementAccent (cyclomatic 16): SurroundTheme.clockAgreementAccent has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (SurroundTheme.clockDisconnectedAccent) 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1814}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c3e7d1542b93868f2a049c5bf9a23f88f084b8943d160d9c59743a59851492"}},{"ruleId":"D1","level":"warning","message":{"text":"SurroundTheme.clockDisconnectedAccent (cyclomatic 16): SurroundTheme.clockDisconnectedAccent has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (SurroundTheme.clockAgreementAccent) 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccd8a17eebbbe3dc2455993f1ace8d255a46a8199bbde62c3c8ab2cdb5142b4"}},{"ruleId":"D1","level":"warning","message":{"text":"FrostPineWoodPlateDrawing.drawWeatheredEdges (cyclomatic 16): FrostPineWoodPlateDrawing.drawWeatheredEdges 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":3157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7645c8eaae02d79da159407b5c6f79341d437dd8c1a27c5aaf6887aa3f8c5979"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusBarContrastView.layoutSubviews (cyclomatic 16): StatusBarContrastView.layoutSubviews has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":3419}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec54c227033ff8c4adb34252b1ce70b0c8e33d7d550a72f66ab45589c47724a"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDetailLayoutPlan.init (cognitive 616): GameDetailLayoutPlan.init has cognitive complexity 616 (threshold 15). Drivers by points: ternaries 141 (276 pts), if/else 87 (168 pts), boolean chains 160, loops 6 (12 pts) (nesting depth added 222). Of this number, 596 points are the body\u0027s own statements and 20 belong to 8 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":"Surround/Views/GameDetail/GameDetailLayout.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceba82ef4f431f3f9cf515346383e0502393affd88c65497ccdf9465556f76cc"}},{"ruleId":"D2","level":"warning","message":{"text":"validate-localizations.validate (cognitive 210): validate-localizations.validate has cognitive complexity 210 (threshold 15). Drivers by points: if/else 45 (118 pts), boolean chains 29, loops 12 (28 pts), ternaries 8 (24 pts), error handling 3 (11 pts) (nesting depth added 113). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/validate-localizations.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"27eb6c5e9adcdd24a6b7c4a571a9870b5e27d49bc8f86218ba6606caf82c11d0"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundTheme.identityRoleColor (cognitive 148): SurroundTheme.identityRoleColor has cognitive complexity 148 (threshold 15). Drivers by points: ternaries 28 (73 pts), if/else 36 (60 pts), boolean chains 15 (nesting depth added 69). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":2058}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fdf635bb824f0aa15b05b2ba5a2bdb13c0390af10e384417c2aa118b388953"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSService.onWebsocketServerGameEvent (cognitive 119): OGSService.onWebsocketServerGameEvent has cognitive complexity 119 (threshold 15). Drivers by points: if/else 37 (87 pts), boolean chains 16, error handling 4 (9 pts), ternaries 2 (6 pts), match/switch 1 (nesting depth added 59). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":2035}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a542688a4719e3c73ee362207156c8bec095c59c6e8d7c6bc39217c961f4fa"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSService.onSeekGraphEvent (cognitive 116): OGSService.onSeekGraphEvent has cognitive complexity 116 (threshold 15). Drivers by points: if/else 23 (112 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 90). 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":"Surround/Services/OGSService.swift"},"region":{"startLine":4978}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5ca032dbe64c9aca6ce2b4343208a3f4602075ae3179eeb359a216a5156ffe"}},{"ruleId":"D2","level":"warning","message":{"text":"Stones.body (cognitive 114): Stones.body has cognitive complexity 114 (threshold 15). Drivers by points: if/else 32 (76 pts), ternaries 15 (30 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 60). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/BoardView.swift"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce68a1c1e17683759249cb58d2ed7735b0d7f3f2a5157abf3b547180494c293"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSService.onWebsocketServerEvent (cognitive 111): OGSService.onWebsocketServerEvent has cognitive complexity 111 (threshold 15). Drivers by points: if/else 36 (89 pts), boolean chains 17, ternaries 1 (4 pts), match/switch 1 (nesting depth added 56). 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":"Surround/Services/OGSService.swift"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee9a8838429560593a47cb3c8c8be6b537d4957ea1ef251dfd9ebcc05906cf6"}},{"ruleId":"D2","level":"warning","message":{"text":"Game.status (cognitive 110): Game.status has cognitive complexity 110 (threshold 15). Drivers by points: if/else 30 (57 pts), ternaries 11 (46 pts), boolean chains 4, match/switch 1 (3 pts) (nesting depth added 64). 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":"Surround/Models/Core/Game.swift"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"34269b20fe6052a50f3b315882bfd54d4b992015a9282f45cbf325ea4d1eec57"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoCompatibilityVerifier.prove (cognitive 88): DuoCompatibilityVerifier.prove has cognitive complexity 88 (threshold 15). Drivers by points: if/else 18 (45 pts), boolean chains 33, loops 4 (8 pts), ternaries 1 (2 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoCompatibility.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff69e925f1590e2882b54f32af22bc108ba626b2725c236eefc64e594b646e2c"}},{"ruleId":"D2","level":"warning","message":{"text":"main.swift.top-level code (cognitive 88): main.swift.top-level code has cognitive complexity 88 (threshold 15). Drivers by points: if/else 21 (62 pts), boolean chains 17, error handling 2 (4 pts), ternaries 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/AppStoreConnectTool/main.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a00bb53f9a7105d311326e492b3733461e500a230b80859ab74db4e9310876b"}},{"ruleId":"D2","level":"warning","message":{"text":"ChallengeCell.playerInfos (cognitive 82): ChallengeCell.playerInfos has cognitive complexity 82 (threshold 15). Drivers by points: if/else 27 (70 pts), boolean chains 6, ternaries 2 (6 pts) (nesting depth added 47). 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":"Surround/Components/ChallengeCell.swift"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"823e52fdf029893806409d4ba0ff1ce5395ed5b8dd619f57d87b357bd3c54d90"}},{"ruleId":"D2","level":"warning","message":{"text":"BoardView.boardFace (cognitive 77): BoardView.boardFace has cognitive complexity 77 (threshold 15). Drivers by points: ternaries 17 (46 pts), if/else 14 (25 pts), boolean chains 6 (nesting depth added 40). 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":"Surround/Components/BoardView.swift"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"494160fd7e0001ec9cf28893c52982c62538721e6e56e7a3be1ed51765d10fa0"}},{"ruleId":"D2","level":"warning","message":{"text":"BiographyHTML.serialize (cognitive 76): BiographyHTML.serialize has cognitive complexity 76 (threshold 15). Drivers by points: if/else 24 (50 pts), boolean chains 12, ternaries 3 (10 pts), loops 2 (4 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/ProfileBiographyDocument.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"91917ea94550bb15eb39e3c9b73bfc086556a3bc6f025c82dc6835244bf1ac95"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoAssetLibraryPlanBuilder.build (cognitive 74): DuoAssetLibraryPlanBuilder.build has cognitive complexity 74 (threshold 15). Drivers by points: boolean chains 52, if/else 13 (18 pts), loops 3 (4 pts) (nesting depth added 6). Of this number, 71 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoAssetLibraryAdapter.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22092daf3d3aa118ed4bfeb7810baf9ed921585fa7ed232b87facc8ca9b663b"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDetailClockCard.primaryContent (cognitive 71): GameDetailClockCard.primaryContent has cognitive complexity 71 (threshold 15). Drivers by points: if/else 19 (33 pts), boolean chains 20, ternaries 9 (18 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f5cfaf6afc39a886ddc86cc2cf96e9dfaadbe8914313ba1e306e7dc2296eeb"}},{"ruleId":"D2","level":"warning","message":{"text":"Publisher.publish (cognitive 64): Publisher.publish has cognitive complexity 64 (threshold 15). Drivers by points: if/else 29 (47 pts), boolean chains 10, loops 6 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5321818195d65ed089fa43c627e31e97f849611b3859f08e3ff235c4021cfdc"}},{"ruleId":"D2","level":"warning","message":{"text":"validate-localizations.shape (cognitive 64): validate-localizations.shape has cognitive complexity 64 (threshold 15). Drivers by points: if/else 20 (35 pts), boolean chains 14, ternaries 4 (11 pts), loops 1 (4 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/validate-localizations.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"10da217eb1484ca3db068719e083cbf7e6907e678af2cd6053d8946b37e77e27"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoPublishingExecutor.preflightStagedImage (cognitive 60): DuoPublishingExecutor.preflightStagedImage has cognitive complexity 60 (threshold 15). Drivers by points: if/else 23 (33 pts), boolean chains 23, loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f8c00949ff6fa3953185a5a5765884eb05de0b1d8263f122062c5151ef0cf1"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectedReleaseHandoff.verifyEvidence (cognitive 59): SelectedReleaseHandoff.verifyEvidence has cognitive complexity 59 (threshold 15). Drivers by points: boolean chains 33, if/else 13 (21 pts), loops 3 (4 pts), ternaries 1 (nesting depth added 9). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SelectedReleaseHandoff.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd7d5083f82555ba5139e4becdd6a687efb038135b2eebda6b2e2210378a2d5"}},{"ruleId":"D2","level":"warning","message":{"text":"Goban.body (cognitive 59): Goban.body has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 14 (22 pts), if/else 16 (18 pts), boolean chains 15, loops 3 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/BoardView.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b131bf2e601c068b2cdda24deee51b9a253c6cf83c7f219f65be91d07d354d1"}},{"ruleId":"D2","level":"warning","message":{"text":"Publisher.reconcilePartialScreenshots (cognitive 58): Publisher.reconcilePartialScreenshots has cognitive complexity 58 (threshold 15). Drivers by points: if/else 19 (37 pts), boolean chains 17, loops 2, ternaries 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"162252fdad48abab1c3b938e431f9d747353eacf2f14a3f168d6ca4688b3c30d"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoExecutionJournal.validateRetry (cognitive 57): DuoExecutionJournal.validateRetry has cognitive complexity 57 (threshold 15). Drivers by points: boolean chains 38, if/else 12 (19 pts) (nesting depth added 7). 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoExecutionJournal.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b722692f6beb76d1e6dd7aa263cd777550355ec2c3715038dd226299a6100fe1"}},{"ruleId":"D2","level":"warning","message":{"text":"Game.gameData (cognitive 57): Game.gameData has cognitive complexity 57 (threshold 15). Drivers by points: if/else 14 (36 pts), loops 5 (17 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/Core/Game.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7588caaf3d3e5e73dd5211354b2130eb1fd2af746e1f154afb9e3a201ed7c63"}},{"ruleId":"D2","level":"warning","message":{"text":"Provider.getTimeline (cognitive 55): Provider.getTimeline has cognitive complexity 55 (threshold 15). Drivers by points: if/else 22 (49 pts), boolean chains 6 (nesting depth added 27). 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":"SurroundWidgets/SurroundWidgets.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0dabe0706e67175727d0a186c473a7dda1a8192223745fe991904f3dac6f7a8"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageStoneCanvas.body (cognitive 55): ImageStoneCanvas.body has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 16 (33 pts), if/else 11 (18 pts), boolean chains 2, loops 2 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/BoardView.swift"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb0586c477f5dc4fb3994352f7e10f51ca1c47ab3166bed9c78b9de4285c744"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectedReleaseHandoff.build (cognitive 54): SelectedReleaseHandoff.build has cognitive complexity 54 (threshold 15). Drivers by points: boolean chains 45, if/else 9. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SelectedReleaseHandoff.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2ca49bd003303c4daa9855d8cc2437f61e031fa2d4d5281e2c32d625c15b30"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoPublishingExecutor.retrySingleImage (cognitive 53): DuoPublishingExecutor.retrySingleImage has cognitive complexity 53 (threshold 15). Drivers by points: if/else 22 (36 pts), boolean chains 12, error handling 2 (3 pts), loops 2 (nesting depth added 15). Of this number, 51 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1f8790c26b1329baa98633ee67623d2d95200f78f2361bd55340d4066bea5f"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataOnlyPublisher.publish (cognitive 53): MetadataOnlyPublisher.publish has cognitive complexity 53 (threshold 15). Drivers by points: if/else 22 (41 pts), boolean chains 10, loops 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/MetadataOnlyRelease.swift"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"05dc6cca80e68d5b01a4fca0dc903e634eb330edcf7fb158e7322c4b6e6c4af6"}},{"ruleId":"D2","level":"warning","message":{"text":"Game.computeScore (cognitive 53): Game.computeScore has cognitive complexity 53 (threshold 15). Drivers by points: if/else 16 (45 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 31). 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":"Surround/Models/Core/Game.swift"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f26f7d9ac65ce20e012388e5aa6f4c5bb5ec9b5c7e58790e92d0d6b238bd4e3"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDetailPlayerIdentity.body (cognitive 53): GameDetailPlayerIdentity.body has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 13 (22 pts), boolean chains 19, if/else 11 (12 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":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38544b151e0f2b5281eef59c1be69f84d290df8f5e80048dcebabc521cbfc1d"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSService.processOverview (cognitive 51): OGSService.processOverview has cognitive complexity 51 (threshold 15). Drivers by points: if/else 12 (36 pts), loops 5 (12 pts), error handling 1 (3 pts) (nesting depth added 33). 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":"Surround/Services/OGSService.swift"},"region":{"startLine":2698}}}],"partialFingerprints":{"codehealthFindingId/v1":"09729668523f8c4a74adb917cef51ef0b605a801257b9100b6f3d11411b3e59c"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoCompatibilityInspector.capture (cognitive 49): DuoCompatibilityInspector.capture has cognitive complexity 49 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 21, loops 3 (6 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoCompatibility.swift"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b362b5ae118c99e2a0202caa50cbc866406120bb04323cb07cdf8b679644485d"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDetailClockCard.detailRow (cognitive 49): GameDetailClockCard.detailRow has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 12 (27 pts), if/else 14 (22 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d263a30c918636ec6bba3191f147d7357ff65a93eda01488b0d74040d5d1d2e"}},{"ruleId":"D2","level":"warning","message":{"text":"Stone.body (cognitive 48): Stone.body has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 6 (18 pts), if/else 9 (17 pts), boolean chains 12, match/switch 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/Stone.swift"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"92471acbc2c1bf7c4d2db2d7168c639be8914774c9445b2c190d37f4b709f1d0"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSClock.calculateTimeLeft (cognitive 48): OGSClock.calculateTimeLeft has cognitive complexity 48 (threshold 15). Drivers by points: if/else 23 (40 pts), ternaries 3 (5 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/OGS/OGSClock.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"688c997b8fd1d9633c914397b1ff950f2ebeddbf92123635c349a796f10c7ed5"}},{"ruleId":"D2","level":"warning","message":{"text":"ASCDuoPublishingService.allowedMutation (cognitive 47): ASCDuoPublishingService.allowedMutation has cognitive complexity 47 (threshold 15). Drivers by points: boolean chains 36, if/else 8 (10 pts), match/switch 1 (nesting depth added 2). Of this number, 42 points are the body\u0027s own statements and 5 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingService.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8bab5e573444466d07dce843774727491d1782bddfa3ecee782247e3aaddb5"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoReleaseCoordinator.publish (cognitive 46): DuoReleaseCoordinator.publish has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (29 pts), loops 7 (13 pts), boolean chains 4 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SelectedReleaseHandoff.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bde40800c39eb8e25a4e6ceaf36b2e2a5b8f21dbb25f8a2cc44dc23cd3d0efb"}},{"ruleId":"D2","level":"warning","message":{"text":"FrostPineDecoration.body (cognitive 46): FrostPineDecoration.body has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 15 (43 pts), if/else 2 (3 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":3862}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2b580842f9ef4a4e4e5fca2839c419d97cc58d90778833ab7ed46df5280992"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyzeTreeSlice.nodes (cognitive 45): AnalyzeTreeSlice.nodes has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 15, ternaries 5 (9 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/AnalyzeTreeView.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a5a0863c0b935fd5d1f0323704486506f3e35822528f8ff48af8dd821db2fb"}},{"ruleId":"D2","level":"warning","message":{"text":"Coordinator.applyTabs (cognitive 44): Coordinator.applyTabs has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (21 pts), ternaries 7 (14 pts), boolean chains 9 (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":"Surround/Views/IPadTabContainer.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e5d1699805d632151a3c3b73dc563ecaba1d2f24c64448e5f4c98344ec6c5a"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSService.checkLoginStatus (cognitive 43): OGSService.checkLoginStatus has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (35 pts), boolean chains 5, loops 1 (3 pts) (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0647c9b8ad86290a0ad930efc8b7c20c66b9f09c18939d0c2d55f4801ae1c9"}},{"ruleId":"D2","level":"warning","message":{"text":"ManifestBuilder.verifyWithHandoff (cognitive 42): ManifestBuilder.verifyWithHandoff has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 6 (12 pts), boolean chains 10, error handling 1 (4 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ManifestBuilder.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"285b9a0d94a59a4e368eaf539135c93f611a8669a58b51a4c9391938e1000752"}},{"ruleId":"D2","level":"warning","message":{"text":"MoveTree.replaceConditionalVariations (cognitive 42): MoveTree.replaceConditionalVariations has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 9 (12 pts), boolean chains 10 (nesting depth added 11). Of this number, 35 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":"Surround/Models/Core/MoveTree.swift"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7ac18d6950f10a382fad39931613341cca148ab79816f4b408d9322e83464e"}},{"ruleId":"D2","level":"warning","message":{"text":"diagnose-ipad-animation-stalls.run (cognitive 42): diagnose-ipad-animation-stalls.run has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (18 pts), error handling 5 (9 pts), loops 5 (8 pts), boolean chains 4, ternaries 3 (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":".github/ci-tools/diagnose-ipad-animation-stalls.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"02124bc72b284a0b550084a7d9fe53776411dbc56d1bf596d0c8fe6cb0c9ae48"}},{"ruleId":"D2","level":"warning","message":{"text":"Publisher.reconcileVersionLocalizations (cognitive 41): Publisher.reconcileVersionLocalizations has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 12, loops 3 (5 pts), ternaries 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c792aa258d110d0709752a6809d46a51157a7c71864a23d2e032992b108840"}},{"ruleId":"D2","level":"warning","message":{"text":"GameControlRow.actionsMenu (cognitive 41): GameControlRow.actionsMenu has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (33 pts), boolean chains 8 (nesting depth added 17). 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":"Surround/Components/GameControlRow.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3613c6233391f498967f0778b7bdc4ed57e8274621bf6eeff6bb750c7724cc54"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSQuickMatchPopularityStats.init (cognitive 41): OGSQuickMatchPopularityStats.init has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (31 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae65409cea7b764b0af18b1b76324d3be4dd0dc6a8cfe39541b6d01ce38a291c"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionStatusModel.reduce (cognitive 40): ConnectionStatusModel.reduce has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (24 pts), match/switch 3 (6 pts), boolean chains 5, ternaries 2 (5 pts) (nesting depth added 18). 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":"Surround/Models/ConnectionStatusModel.swift"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7a55b2fd6a8c7ba61a36dfd1841327763afad857aec425ae299af73a467611"}},{"ruleId":"D2","level":"warning","message":{"text":"PrivateMessageTranscript.body (cognitive 39): PrivateMessageTranscript.body has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 19, if/else 15 (16 pts), ternaries 4 (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":"Surround/Components/PrivateMessageLog.swift"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f5bc69b25bad73a35c8f15df195468f9eb0634109636a7b525b6b8eff9c025"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundNotificationService.scheduleNotificationsIfNecessary (cognitive 39): SurroundNotificationService.scheduleNotificationsIfNecessary has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (34 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/SurroundNotificationService.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cb1a843bb7293b9dca415093bbc06acf000c331b8a2b304c8a64abf55742a4"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoPublishingExecutor.preflight (cognitive 38): DuoPublishingExecutor.preflight has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 5 (7 pts), ternaries 2 (7 pts), boolean chains 5 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c68ef4ab4be223b2692a83a1c2222a7864c533a0c5446fc3402797eda7143c"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoPublishingExecutor.submit (cognitive 38): DuoPublishingExecutor.submit has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 8, loops 2 (7 pts), error handling 1 (3 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2344ae81474d1c7b9842282b14ef25a3aeae576a535f633835c231a26be816e"}},{"ruleId":"D2","level":"warning","message":{"text":"Publisher.reconcileScreenshotSets (cognitive 38): Publisher.reconcileScreenshotSets has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 9, loops 2, ternaries 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8751bfa4bcbb7cf64e5d6c7002aa09812559c74bfb3c76b1e66ad94ffbe0c7b"}},{"ruleId":"D2","level":"warning","message":{"text":"Game.gamePhase (cognitive 37): Game.gamePhase has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 13, loops 2 (7 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":"Surround/Models/Core/Game.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69860fd9fb288998d6404356a49a8cdbdfbaa313379d2ad91ca7682b1287981"}},{"ruleId":"D2","level":"warning","message":{"text":"MoveTree.register (cognitive 37): MoveTree.register has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (31 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/Core/MoveTree.swift"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb59bb76da81a7b969b7bcd6aac848fb1309817ef05bfb90277fc904ff12fc3e"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDetailClockState.accessibilityValue (cognitive 37): GameDetailClockState.accessibilityValue has cognitive complexity 37 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 12, ternaries 3 (5 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailClockState.swift"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89a120fac7319dec69f1d6e3ea72ab9f491979ebe4776dd9bff022931df707c"}},{"ruleId":"D2","level":"warning","message":{"text":"SnapshotPreflight.validate (cognitive 36): SnapshotPreflight.validate has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 8, 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SnapshotPreflight.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fc38c7a2e81ea9cfbad253e2a00cb61f2504eca2390d7561729f8de93d44d0"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSService.applyFriendshipLists (cognitive 36): OGSService.applyFriendshipLists has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 14, loops 3 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":5507}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aea775d8d560caf5785781c8d12ac10971d1b38c53ef012b9466aec16127e5b"}},{"ruleId":"D2","level":"warning","message":{"text":"ASCAPIClient.sendWithRetry (cognitive 35): ASCAPIClient.sendWithRetry has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 8, ternaries 2 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/APIClient.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d886390889e3ed0ebd33f1c879a5f0eae4a0a6b22f927c1dc47f211bab079e"}},{"ruleId":"D2","level":"warning","message":{"text":"ChristmasOrnamentTexture.image (cognitive 35): ChristmasOrnamentTexture.image has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 7 (15 pts), if/else 7 (8 pts), loops 5 (8 pts), boolean chains 4 (nesting depth added 12). Of this number, 32 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/ChristmasKeepsakeSurfaces.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"308d1f28469a865a1a47d4b9b6dd99edc603281b169c16a762e82e17e0549446"}},{"ruleId":"D2","level":"warning","message":{"text":"BiographyMarkdown.html (cognitive 35): BiographyMarkdown.html has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 4 (6 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/ProfileBiographyDocument.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"282883315fe6b8f4d93b2f6ae2e591398d16e56df87900210bc765860d9abcb7"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSService.init (cognitive 35): OGSService.init has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":1610}}}],"partialFingerprints":{"codehealthFindingId/v1":"be040f7c6eb2ae004cd3f1e2e0df91dfaab1705ca8445f50c2f304c160b5aeae"}},{"ruleId":"D2","level":"warning","message":{"text":"MoveTree.removeRegisteredPositions (cognitive 35): MoveTree.removeRegisteredPositions has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 6 (9 pts), boolean chains 2, ternaries 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":"Surround/Models/Core/MoveTree.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d58617dcc611da3b619356b9d15cc04b4e537f1c1400316e51e1c602d25195"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDetailClockCard.clockOutline (cognitive 35): GameDetailClockCard.clockOutline has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 8 (24 pts), if/else 4 (6 pts), boolean chains 5 (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":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"e896e0f80ce03720a22f86ae850cd31b932cb788605846d6a2361f8aafd18b88"}},{"ruleId":"D2","level":"warning","message":{"text":"validate-localizations.arguments (cognitive 35): validate-localizations.arguments has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (28 pts), boolean chains 4, loops 2 (3 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":".github/ci-tools/validate-localizations.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e345527035f2e47e3a23025960b003c604036756fe7216f805bdba7c6bf0a921"}},{"ruleId":"D2","level":"warning","message":{"text":"LocaleConfiguration.parseFamilies (cognitive 34): LocaleConfiguration.parseFamilies has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 11 (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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Models.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db2244b663049942e7a4b9613b76debc880828942fc488aa5b313850e6b9e48"}},{"ruleId":"D2","level":"warning","message":{"text":"Publisher.publishScreenshotSet (cognitive 34): Publisher.publishScreenshotSet has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (25 pts), loops 2 (4 pts), error handling 2 (3 pts), boolean chains 2 (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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f41135d9bc657d57f8836bba65c92787f06024a2f95266b0b9842b174888826"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectedReleaseHandoff.load (cognitive 34): SelectedReleaseHandoff.load has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 12, 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SelectedReleaseHandoff.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b3aaa1e0001f3a259f86c0d5464dbf62df03b66dddeb5290e8a10703c304f3"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatLog.body (cognitive 34): ChatLog.body has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 13, ternaries 3 (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":"Surround/Components/ChatLog.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e246e79d6394c2a2ca76004a041fbe094ca61fe47a7d2fbd49f6f6a428e745"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkerAuditExporter.run (cognitive 34): MarkerAuditExporter.run has cognitive complexity 34 (threshold 15). Drivers by points: loops 5 (16 pts), if/else 3 (9 pts), ternaries 1 (6 pts), boolean chains 2, error handling 1 (nesting depth added 22). 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":"Surround/UITesting/BoardMarkerAuditHarness.swift"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf8e64a364b0873f567da4f6e8985b45095abae19deb09f9e6b63d3a6e4f78c"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenChallengesForm.body (cognitive 34): OpenChallengesForm.body has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (21 pts), ternaries 4 (12 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/NewGameView.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"635919a1c27676a6c66521b2a29a54a1a2cd06cb125abc993fbcee9f068d32c1"}},{"ruleId":"D2","level":"warning","message":{"text":"PrivateMessageComposer.body (cognitive 33): PrivateMessageComposer.body has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (22 pts), ternaries 2 (6 pts), boolean chains 5 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/PrivateMessageLog.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1fe952e8b48f70fc67064c4cf26cdd25170733d8390544747de13e01effb0d"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataOnlyManifestBuilder.verify (cognitive 32): MetadataOnlyManifestBuilder.verify has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 17, if/else 12 (14 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/MetadataOnlyRelease.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"464c456b9ac51373e5a65d96537571d2dc49b286665e7a97aeb774f05b1c639e"}},{"ruleId":"D2","level":"warning","message":{"text":"GameControlGlass.body (cognitive 32): GameControlGlass.body has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 5 (13 pts), boolean chains 6 (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":"Surround/Components/GameControlRow.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b197c3ab0f74d431308739bc81d5290dc73276a24424e84108d21206554c4950"}},{"ruleId":"D2","level":"warning","message":{"text":"GameControlRow.mainActionButton (cognitive 32): GameControlRow.mainActionButton has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 5 (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":"Surround/Components/GameControlRow.swift"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"5054d97ff3f89273275d072a27d01b03c28048a4980004a22de9b94b3e4bca7d"}},{"ruleId":"D2","level":"warning","message":{"text":"Coordinator.measureLayout (cognitive 32): Coordinator.measureLayout has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 15, if/else 10 (12 pts), ternaries 4 (5 pts) (nesting depth added 3). Of this number, 30 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/IPadTabContainer.swift"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf77512e76633c5f3c9cf9416464f707f708ffbfd121551fe7572fe7097eaba"}},{"ruleId":"D2","level":"warning","message":{"text":"CorrespondenceGamesWidgetView.timer (cognitive 31): CorrespondenceGamesWidgetView.timer has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 4, match/switch 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SurroundWidgets/SurroundWidgets.swift"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"0529586bfbcec2e1d8db601b45171741ebb045ad54e2e801659672afed0f40fb"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatLine.body (cognitive 31): ChatLine.body has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 7 (14 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/ChatLine.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8d314f34cb00daf52371fd5aeea451843160a82947c80e3dc4db595b936bb5"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSService.fetchPlayerProfile (cognitive 31): OGSService.fetchPlayerProfile has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 18, if/else 9 (13 pts) (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":"Surround/Services/OGSService.swift"},"region":{"startLine":2531}}}],"partialFingerprints":{"codehealthFindingId/v1":"5992f101c43f379f1673c9500f1b8df7a43da145d2025b5be2297aeb4dd798bb"}},{"ruleId":"D2","level":"warning","message":{"text":"BoardPosition.makeMove (cognitive 31): BoardPosition.makeMove has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (28 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 19). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/Core/BoardPosition.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0180e43fce691df6a7e10b89d1d0b21aa550b2e8d3d0d81318f1dcc5327075a"}},{"ruleId":"D2","level":"warning","message":{"text":"BoardPosition.groupForStoneRemoval (cognitive 31): BoardPosition.groupForStoneRemoval has cognitive complexity 31 (threshold 15). Drivers by points: if/else 5 (20 pts), loops 3 (9 pts), boolean chains 2 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/Core/BoardPosition.swift"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fb3ae7bd9b0fe62d7e806050fa85069ca9b85d0b092f713c449d4107afe4de"}},{"ruleId":"D2","level":"warning","message":{"text":"diagnose-ipad-animation-stalls.tool (cognitive 31): diagnose-ipad-animation-stalls.tool has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (7 pts), boolean chains 3, error handling 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":".github/ci-tools/diagnose-ipad-animation-stalls.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9b31c458460ec6129d7caadd7ba320aeda3484e881f968ec8bf1cdc0f96009"}},{"ruleId":"D2","level":"warning","message":{"text":"Publisher.reconcileLiveState (cognitive 30): Publisher.reconcileLiveState has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 7 (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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"add5cf39e3b6326db88a66d6fc3a3fd8b1e7db5a860ca5de7884c0254ab612ac"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSService.fetchFinishedGames (cognitive 30): OGSService.fetchFinishedGames has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 9, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":2935}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8b0de24bdc915c3bebaecf109627e3f974603ad9bd6147046ad9523a377041"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSService.performFriendshipAction (cognitive 30): OGSService.performFriendshipAction has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 9, match/switch 3 (4 pts), ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":5346}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e75f638d3b6aec7c16e6d074e0b0a0dbcf1b32076e564b4c6eaf73b254960dc"}},{"ruleId":"D2","level":"warning","message":{"text":"Coordinator.applyTabs (cognitive 30): Coordinator.applyTabs has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 7, ternaries 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":"Surround/Views/DuoTabContainer.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d9126a6ece3a48950163b2abb0f2644a3cc339638e00c2061b59ad6fc3f2e4"}},{"ruleId":"D2","level":"warning","message":{"text":"Publisher.verifyReadBack (cognitive 29): Publisher.verifyReadBack has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (6 pts), boolean chains 5 (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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"490baf72451d64e79d6db2a674c38aa790600bbf6bf8f2ab4d491d3aa7389543"}},{"ruleId":"D2","level":"warning","message":{"text":"SnapshotService.loadAppInfo (cognitive 29): SnapshotService.loadAppInfo has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 9, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SnapshotService.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebee730922d5a3a08a130de7458ee4077d15e05eb756e62d0d65ede862c5b962"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundService.registerDeviceIfLoggedIn (cognitive 29): SurroundService.registerDeviceIfLoggedIn has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/SurroundService.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b227a6166e14eb268ad82a2cecb47805c036664ba6fabe68fc69b50f28a7c1"}},{"ruleId":"D2","level":"warning","message":{"text":"QuickMatchForm.body (cognitive 29): QuickMatchForm.body has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 6, ternaries 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":"Surround/Views/QuickMatchView.swift"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2d8d8f71b85b38239001e9f77657f3239c764c02d9cfbc5601e9e8b33b268d"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDetailView.content (cognitive 29): GameDetailView.content has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 9, ternaries 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailView.swift"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"080e066c83ae92dc8dc40fafe4119eb5e54a7d2985559c1a61663380393b3815"}},{"ruleId":"D2","level":"warning","message":{"text":"diagnose-ipad-animation-stalls.summarize_animation_idle (cognitive 29): diagnose-ipad-animation-stalls.summarize_animation_idle has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 4, loops 3, error handling 2, ternaries 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/diagnose-ipad-animation-stalls.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a58d9771c21c0eecc5989112e67627652106f08aebf698b5ac742202f661720"}},{"ruleId":"D2","level":"warning","message":{"text":"ManifestBuilder.build (cognitive 28): ManifestBuilder.build has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 3 (9 pts), boolean chains 4, 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ManifestBuilder.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7d3231ed5bc5e497fca5ecda550a67596c1af15ed92dc6d770ee3d4c786aee"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoAssetLibraryRouting.resolve (cognitive 27): DuoAssetLibraryRouting.resolve has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 14, if/else 9 (11 pts), loops 2 (nesting depth added 2). 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, 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoAssetLibrary.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e0f5317f1d0a09c0d3b623eb1b94954a7fdc44084bf4ceca4a8304cfcd95ff"}},{"ruleId":"D2","level":"warning","message":{"text":"RengoPlayerCard.body (cognitive 27): RengoPlayerCard.body has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (25 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":"Surround/Components/ChallengeCell.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d7efc3ff0c4c028b325d0961cf0d6d92d8bef0681f75f8565f6f43baf249ee"}},{"ruleId":"D2","level":"warning","message":{"text":"NewChatInput.body (cognitive 27): NewChatInput.body has cognitive complexity 27 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/ChatLog.swift"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"06eff54ea6bba1b02636949fdaca4967fef197ebefe03fc2e289216a34b54434"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerView.body (cognitive 27): TimerView.body has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 1 (4 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/TimerView.swift"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ca9d5b6f9d9aabfcfcef4d2a7afe7ebbb574679d040b707530af7abca63b5f"}},{"ruleId":"D2","level":"warning","message":{"text":"QuickMatchActionArea.body (cognitive 27): QuickMatchActionArea.body has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 6 (12 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":"Surround/Views/QuickMatchView.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"722152d369744d1047574c547be2dff40a5666217d8ecdef831a52a1b35973b7"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDetailClockCard.inlineContent (cognitive 27): GameDetailClockCard.inlineContent has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 4 (9 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":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e04aa0511972b8d2cb116e85df2924463392ae20183888f816051d2cd98b8ff"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleGameView.gameContent (cognitive 27): SingleGameView.gameContent has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 15, if/else 9, ternaries 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":"Surround/Views/GameDetail/SingleGameView.swift"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa946ba9480a15ca0d5b5b72d8c5f2a5184e0a59d339e53c6c4489bebfcdfd8"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoPublishingExecutor.mutate (cognitive 26): DuoPublishingExecutor.mutate has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 2, error handling 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4d9439f3156100dd31f665feb3585cf1407c608f122058f4a565ea33ccb857"}},{"ruleId":"D2","level":"warning","message":{"text":"Publisher.verifiedBackup (cognitive 26): Publisher.verifiedBackup has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 7, error handling 2 (4 pts), ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae665f04c1b11829e01d579fba4107577ab3d16934cfc2e96d60c3306e6f53c"}},{"ruleId":"D2","level":"warning","message":{"text":"PositioningView.requestGeometryUpdate (cognitive 26): PositioningView.requestGeometryUpdate has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 15, if/else 11. 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":"Surround/MainViewWrapper.swift"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"674f3572aa0f87f6dd4a0f2d1846e425a2a543339c37098627cee7e311ebe769"}},{"ruleId":"D2","level":"warning","message":{"text":"RengoActions.body (cognitive 26): RengoActions.body has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (24 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":"Surround/Components/ChallengeCell.swift"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e57f5607c60e879d776cefae628071cf58e55c5d3b61605b9a950b096ebc56"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeGameFacts.note (cognitive 26): HomeGameFacts.note has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 10, 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":"Surround/Components/HomeGameCard.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce46aa22c2e313335b155cd1d3ccf2af17fc5953de242e5424d2ea6f03abf75"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivityHostPolicy.hosts (cognitive 26): ActivityHostPolicy.hosts has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 4 (8 pts), boolean chains 3, match/switch 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":"Surround/Models/ActivityHostPolicy.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f0ac129eb04b50dfbfe2686eb5c5b4962d5169a40bbc74096a54e0c9b50054"}},{"ruleId":"D2","level":"warning","message":{"text":"FinishedGameCache.prune (cognitive 26): FinishedGameCache.prune has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 6, error handling 1 (2 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":6644}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b60f8d1ef2d67c557a21f9e877b1edc232af72690cef9ee430e79a3deddccb1"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundNotificationService.scheduleGameEndNotificationIfNecessary (cognitive 26): SurroundNotificationService.scheduleGameEndNotificationIfNecessary has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (26 pts) (nesting depth added 17). 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":"Surround/Services/SurroundNotificationService.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed892a9a6a09bccf3c8aba142ecf9452c28fc5fa52f3da3e43e3330049ec4732"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoPublishingExecutor.executePlacementSwitch (cognitive 25): DuoPublishingExecutor.executePlacementSwitch has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 4 (8 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ad0a600629d7d6d74932777e9ac0a1f928dabeb49cf8031c039c1a1c75530d"}},{"ruleId":"D2","level":"warning","message":{"text":"BoardDemoView.body (cognitive 25): BoardDemoView.body has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 5, ternaries 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":"Surround/Components/BoardDemoView.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d584010f69b85354807f40d044364e034b812f8578f80c4da5f1d0a83032c980"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineTimerView.body (cognitive 25): InlineTimerView.body has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 3, match/switch 1 (2 pts), ternaries 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":"Surround/Components/InlineTimerView.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27c3ab1e564b667d1deaeb340ea9b84ec0abc05ff9a1364c349c7f53f1390d4"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSService.refreshFriendships (cognitive 25): OGSService.refreshFriendships has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10, ternaries 2 (6 pts), boolean chains 5, match/switch 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":"Surround/Services/OGSService.swift"},"region":{"startLine":5247}}}],"partialFingerprints":{"codehealthFindingId/v1":"af75385b697178425c6821374fe17aa95d59544785ef31f910d4101279338a92"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeView.body (cognitive 25): HomeView.body has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 6, ternaries 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/HomeView.swift"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a006abd6f35388970a8910268f7d7b34a710a08230aad7b7dc6440f1ecd64d"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerProfileGames.reloadSection (cognitive 25): PlayerProfileGames.reloadSection has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 3 (6 pts), ternaries 3 (5 pts), loops 1 (2 pts), error handling 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":"Surround/Views/PlayerProfileGames.swift"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aad44100e1dadd6e5f769764c3705ab55915de0f1df3913c5d40546cb3a7b74"}},{"ruleId":"D2","level":"warning","message":{"text":"FrostPineWoodPlateDrawing.drawWeatheredEdges (cognitive 25): FrostPineWoodPlateDrawing.drawWeatheredEdges has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 13 (23 pts), loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":3157}}}],"partialFingerprints":{"codehealthFindingId/v1":"095a8e9a328f466c00c6c802c1c6af14feebdf3267158173f2ee27bdc9c74b61"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleGameView.actionCorner (cognitive 25): SingleGameView.actionCorner has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 10 (15 pts), boolean chains 8, if/else 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":"Surround/Views/GameDetail/SingleGameView.swift"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4286d7d88c197630fa4f2349a77477c1a5917397f26b41d99b226d9fb10bf5"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoPublishingExecutor.guardOwnedGraph (cognitive 24): DuoPublishingExecutor.guardOwnedGraph has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 10, loops 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b9ed2f33a44bf0675dbd13e243ea71c1b7ba3f3908d2fa831bbcbd3cf41449"}},{"ruleId":"D2","level":"warning","message":{"text":"FeltFiberContour.stone (cognitive 24): FeltFiberContour.stone has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, loops 3 (5 pts), ternaries 2 (4 pts) (nesting depth added 6). Of this number, 20 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":"Surround/Components/FeltEdgeFibers.swift"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a1758534c47795237eb37a1119b26177263d9c6358d2adea2aa14971ec5b51"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerInfoLine.body (cognitive 24): PlayerInfoLine.body has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/GameCell.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6199c5b5a45a8d552c8aeba62a2b74882ee162c271d8ed6d741de55a1beaa893"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSService.shareVariation (cognitive 24): OGSService.shareVariation has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 12, if/else 7 (8 pts), error handling 3, ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":4823}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f0f39fb653bbfbf83aeed503df5fa02c92fd531a6b734e0be4638235a623c3"}},{"ruleId":"D2","level":"warning","message":{"text":"AutomatchEntryPresentation.init (cognitive 24): AutomatchEntryPresentation.init has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 8, if/else 7, ternaries 3 (5 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/OGS/OGSAutomatchEntry.swift"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a6972d88c235edf1a0e0966a1e05ac88a6739fc27fd263a7afee3999ebef2c"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDetailClockCard.body (cognitive 24): GameDetailClockCard.body has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 10, if/else 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"76eeecf843c86d5b0ac5a2ed46f0cbe7e3ca147e8f5d8b0ed230c93973033b7a"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDetailPlayerIdentity.stackedIdentityText (cognitive 24): GameDetailPlayerIdentity.stackedIdentityText has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 7, ternaries 4 (5 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":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c4358b3cb0229ef5adb30c4bf1eb55ea27c9af5096d651489a135e752c64d9"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundTheme.clockSurfaceStops (cognitive 24): SurroundTheme.clockSurfaceStops has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (23 pts), match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1644}}}],"partialFingerprints":{"codehealthFindingId/v1":"403222bf61d6ad295f07e0148a5493034ec2e39139537b15570ee124e9f69ac5"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDetailView.updateActiveGameList (cognitive 24): GameDetailView.updateActiveGameList has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (6 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailView.swift"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0be52189b23c543393c6e237e612121007533c59eca3058f549e253b4315cf1"}},{"ruleId":"D2","level":"warning","message":{"text":"validate-localizations.compiler_inventory (cognitive 24): validate-localizations.compiler_inventory has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/validate-localizations.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c141e3b1d2fee6b8240ac5e60d323a5522d5f8f30fa98749f409e03c4e410fb"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundNotificationService.scheduleTimeRunningOutNotificationIfNecessary (cognitive 23): SurroundNotificationService.scheduleTimeRunningOutNotificationIfNecessary has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (7 pts), boolean chains 5 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/SurroundNotificationService.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f806f7b3f7df0bb734ef47544a78161de60601f1cf464c8b4e6b88c97d6073"}},{"ruleId":"D2","level":"warning","message":{"text":"Coordinator.measureLayout (cognitive 23): Coordinator.measureLayout has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 7, ternaries 6 (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":"Surround/Views/DuoTabContainer.swift"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe5274775259fe4718705b2377b50b91ccbba797a81072afe2d1480d1ccca1c"}},{"ruleId":"D2","level":"warning","message":{"text":"NewGameView.submitQuickMatches (cognitive 23): NewGameView.submitQuickMatches has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 5, ternaries 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/NewGameView.swift"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abdce6a7d2afdb50e8c9afbd4046df726afae69a0b780f5511f085995aad905"}},{"ruleId":"D2","level":"warning","message":{"text":"BoardMarkupCodec.decode (cognitive 23): BoardMarkupCodec.decode has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 6, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/Core/BoardMarkup.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1659f6d146ad708f306d37475341443f72b50b8a07dd8570e7abac8cb9cd0cc"}},{"ruleId":"D2","level":"warning","message":{"text":"BoardPosition._constructTerritoryGroupFromPoint (cognitive 23): BoardPosition._constructTerritoryGroupFromPoint has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/Core/BoardPosition.swift"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a41261bf226939381a65cf31ecc4e922cef3e6bae16599973443b25edc35b08"}},{"ruleId":"D2","level":"warning","message":{"text":"Game.stoneColor (cognitive 23): Game.stoneColor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (6 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":"Surround/Models/Core/Game.swift"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7305ca31010b8f64a5bc438fad508f254604eaf079d472fea16fec154598e8"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyzeControlBar.controlBarContent (cognitive 23): AnalyzeControlBar.controlBarContent has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 6 (9 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/AnalyzeControlBar.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"390ec5ef4d29f65e83c818cd44cae99b5ec4429263d849f7607c53e68b0e7a72"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDetailClockState.badgeTitle (cognitive 23): GameDetailClockState.badgeTitle has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11, ternaries 4 (7 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailClockState.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee686fb9e70896c33bf16ce987233b8f32cd43c66441ff59dc413b9975952ea"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDetailClockCard.statusBadge (cognitive 23): GameDetailClockCard.statusBadge has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (21 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":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c60e13c2e8f23af70176cbad3d5c4c616f6a8ec1c6f6da489a50b018e71229"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundTheme.clockForeground (cognitive 23): SurroundTheme.clockForeground has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 11 (22 pts), match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdb5e28f8cec3cf19ff56f837ee76db6695677bb6a3a454ab2a8fcadcdef096"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundTheme.clockSuddenDeathAccent (cognitive 23): SurroundTheme.clockSuddenDeathAccent has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (11 pts), boolean chains 6, if/else 6 (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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"8880ba68223efd9850bcba0dc85a3d035ffd67f2c7305bbcf216f8d561d0b1f8"}},{"ruleId":"D2","level":"warning","message":{"text":"TimeControl.swift.durationString (cognitive 23): TimeControl.swift.durationString has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (21 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":"Surround/Models/Core/TimeControl.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4a0207e9013b882ca39b19bd312ab72ae908a9448c2ed652d872728e0878d0"}},{"ruleId":"D2","level":"warning","message":{"text":"ASCDuoPublishingService.placementReadback (cognitive 22): ASCDuoPublishingService.placementReadback has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingService.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1164602cd46e45fb5a808c712403056d162e925f5f24bce8c16ec6c49e34be3"}},{"ruleId":"D2","level":"warning","message":{"text":"CorrespondenceGamesWidgetView.screenshotReadinessIdentifier (cognitive 22): CorrespondenceGamesWidgetView.screenshotReadinessIdentifier has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 16, if/else 4 (5 pts), match/switch 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SurroundWidgets/SurroundWidgets.swift"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"8945ceefacd0074652640135ffa01f183cd8f5b3fd3b9f7b8d7ba17e83e57cbb"}},{"ruleId":"D2","level":"warning","message":{"text":"FinishedGamePreviewLoader.startQueuedRequests (cognitive 22): FinishedGamePreviewLoader.startQueuedRequests has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/FinishedGamePreviewLoader.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3976b5093bb8be655508d97bdbe608154fedc4910d382fe8efea2d73603a3bc"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeView.resolvePendingGameOpen (cognitive 22): HomeView.resolvePendingGameOpen has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 6, loops 1 (2 pts), error handling 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":"Surround/Views/HomeView.swift"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"96797cbf9d672f160d513a172fd1e5e4d148cf1bd0bc33a36dc36df51eb16774"}},{"ruleId":"D2","level":"warning","message":{"text":"BackgroundSlice.body (cognitive 22): BackgroundSlice.body has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 4 (10 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/AnalyzeTreeView.swift"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56dc0f4d793122366c044ff8e4e81a808973b59e57495a412ba280be26a3519"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundTheme.board (cognitive 22): SurroundTheme.board has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, if/else 9, ternaries 2 (4 pts) (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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2331001ada9af206ade520660a00207e33491f0e940ec962726e9aa59878e248"}},{"ruleId":"D2","level":"warning","message":{"text":"GameToolbarLayout.modeButtons (cognitive 22): GameToolbarLayout.modeButtons has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 7 (10 pts), boolean chains 8, if/else 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailView.swift"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"1493421693c34aa738693b37242d7b47057de76aecedebe05576049ca8903858"}},{"ruleId":"D2","level":"warning","message":{"text":"ASCDuoPublishingService.verifyEditableTargets (cognitive 21): ASCDuoPublishingService.verifyEditableTargets has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 15, if/else 4 (5 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingService.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"862fac6dc18f770286398518a25d01a5623a2b04846ff0a9dd7ecb464cc26b8b"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataOnlyManifestBuilder.validateConfiguredVersion (cognitive 21): MetadataOnlyManifestBuilder.validateConfiguredVersion has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts), boolean chains 5 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/MetadataOnlyRelease.swift"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"157bef5a021a1817fd40b7f796b1ece29ee43fa5e614d959dacd6c7716f2884f"}},{"ruleId":"D2","level":"warning","message":{"text":"Publisher.reconcileAppInfo (cognitive 21): Publisher.reconcileAppInfo has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, loops 2, 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd06b97807d7660e18298b87a1ddb02b70605a131f5d599a051155c453144cd8"}},{"ruleId":"D2","level":"warning","message":{"text":"ReleaseValidator.normalize (cognitive 21): ReleaseValidator.normalize has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3 (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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ReleasePackage.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa6abe74b7e7424ca6c5bbc57e980fd0d84c98e1d5c5cf22b862f50b5b7e20b"}},{"ruleId":"D2","level":"warning","message":{"text":"StoneRemovalOverlay.body (cognitive 21): StoneRemovalOverlay.body has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 4, 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":"Surround/Components/BoardView.swift"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa0761c12926faad64672f17ed6cb1b572e87fdb961c7983c8e91a1fbc12145"}},{"ruleId":"D2","level":"warning","message":{"text":"BoardMarkupOverlay.body (cognitive 21): BoardMarkupOverlay.body has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (6 pts), boolean chains 5 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/BoardView.swift"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a98ab9c6a961095003b4a52fd118aad74bc98f2bfc206a48ef9257323dfd11e"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSService.cancelLiveAutomatchForGameStartedNotification (cognitive 21): OGSService.cancelLiveAutomatchForGameStartedNotification has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":3439}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78a69581872a92eabca001b47f4634586980f94ae54946de7c9721dd70606f4"}},{"ruleId":"D2","level":"warning","message":{"text":"HomeView.loadRecentFinishedGames (cognitive 21): HomeView.loadRecentFinishedGames has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 3, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/HomeView.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1cfb0383a5ea074c3ee92eca99edcce512f661f88c37693879ed3c6f7e1430"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSBrowserWebView.makeUIView (cognitive 21): OGSBrowserWebView.makeUIView has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (17 pts), loops 1 (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":"Surround/Views/OGSBrowserView.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca5952035b2d3c40ff96c97b3b1664c1cea8c45bad36cf7c796681bb9e90dd9"}},{"ruleId":"D2","level":"warning","message":{"text":"Coordinator.webView (cognitive 21): Coordinator.webView has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (18 pts), loops 1 (3 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/ThirdPartyLoginView.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeac9bdf4c57820698ad171c11574876e52549b86128e9184cc809073badf888"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDetailClockCard.undoMenu (cognitive 21): GameDetailClockCard.undoMenu has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 7 (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":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9c6f35fbdb951f0ce7f5a6a523b1fcc41a609a62a28291e38c517bd1084b14"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundTheme.clockSolidSurface (cognitive 21): SurroundTheme.clockSolidSurface has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 10 (20 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: 3 other methods here (SurroundTheme.identityChipBorder, SurroundTheme.identityForeground, SurroundTheme.identitySecondary) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be1be310da8e11838480b1ab6aca5f99a480f9841f3b1b584cd322d7389c08b"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundTheme.identityChipBorder (cognitive 21): SurroundTheme.identityChipBorder has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 10 (20 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: 3 other methods here (SurroundTheme.clockSolidSurface, SurroundTheme.identityForeground, SurroundTheme.identitySecondary) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1978}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71c71eb0ac3e19cd6918d72518a215e98da311761bfd8ce71514dc55badc9cd"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundTheme.identityForeground (cognitive 21): SurroundTheme.identityForeground has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 10 (20 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: 3 other methods here (SurroundTheme.clockSolidSurface, SurroundTheme.identityChipBorder, SurroundTheme.identitySecondary) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":2015}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9acd56a0b35f57164f7881563f117d39883a98fe190336e77d19f97724f703"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundTheme.identitySecondary (cognitive 21): SurroundTheme.identitySecondary has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 10 (20 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: 3 other methods here (SurroundTheme.clockSolidSurface, SurroundTheme.identityChipBorder, SurroundTheme.identityForeground) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf631125d9dc85479e54234a46a733a4abaefcb034e79eb32cc52bcb06d2116"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoPublishingExecutor.sealAndVerifyBackup (cognitive 20): DuoPublishingExecutor.sealAndVerifyBackup has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 8, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b86f1862fcf5aa711709e280058497b820e4de302566073880bc0f68a28c9fe"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageValidation.removingOpaqueAlphaChannel (cognitive 20): ImageValidation.removingOpaqueAlphaChannel has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12, boolean chains 8. 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ImageValidation.swift"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e77e96f77fdfb39d45829202cbe5f7b319feab4ed9cc2969948a887f0536063"}},{"ruleId":"D2","level":"warning","message":{"text":"Publisher.verifyBackup (cognitive 20): Publisher.verifyBackup has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 14, if/else 3 (5 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f775769d82442c9b3d68ff6e7b5dc7f9d65374a61307f1e5d36fd6b9b030df"}},{"ruleId":"D2","level":"warning","message":{"text":"RengoPlayersDetail.body (cognitive 20): RengoPlayersDetail.body has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 5 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/ChallengeCell.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c03006f70ce5df897239d79d5547e7b5e3188796394ae25bb56f2fc9d7a40f9"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomGameForm.opponentOptions (cognitive 20): CustomGameForm.opponentOptions has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/CustomGameForm.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e64e05bedc094d98a47cadb033f326c42324b727e916d45efef811a4f6b22ee"}},{"ruleId":"D2","level":"warning","message":{"text":"MessagesPlayerSearchResults.search (cognitive 20): MessagesPlayerSearchResults.search has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, error handling 2, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/MessagesFriendsView.swift"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"975b1070590ba129dc66dffa8865460f95021f067705cde5da741b62abbdb6b9"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSActiveQuickMatchPresentation.init (cognitive 20): OGSActiveQuickMatchPresentation.init has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (7 pts), match/switch 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/OGS/OGSAutomatchEntry.swift"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fad2ba566f89649f43c09e737307218bf65e639637a0ff2985ff89c6852e193"}},{"ruleId":"D2","level":"warning","message":{"text":"RankUtils.formattedRank (cognitive 20): RankUtils.formattedRank has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (20 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":"Surround/Models/OGS/OGSUser.swift"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a17f5730838ef91cce6c57ee352a5f1d9dde94860a693e741f9970cb3760785"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDetailClockCard.surface (cognitive 20): GameDetailClockCard.surface has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, ternaries 2 (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, 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":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"7460f73cdfdece05e6ebdb0f071c631c15247c00d687acd28459385a4d2df647"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleGameView.observedGameContent (cognitive 20): SingleGameView.observedGameContent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 8 (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":"Surround/Views/GameDetail/SingleGameView.swift"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf02fc4361221d92aac9fa0b6be67ef6ef109a6048369a8aa7a1d9572e97e5af"}},{"ruleId":"D2","level":"warning","message":{"text":"validate-localizations.self_test (cognitive 20): validate-localizations.self_test has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, loops 4, ternaries 2 (4 pts), error handling 2 (3 pts) (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":".github/ci-tools/validate-localizations.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b39dd478bcfb2511ceb0a6734b42bc0e82e5eb1bf0826e029db088c0141f1fe"}},{"ruleId":"D2","level":"warning","message":{"text":"OfflineUITestWindowCoordinator.claim (cognitive 19): OfflineUITestWindowCoordinator.claim has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 2 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/MainViewWrapper.swift"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7773c6fcf36da72ff2a4c3de65f65bbf4c27179493917e7590eb0cc39d97301"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationViewController.didReceive (cognitive 19): NotificationViewController.didReceive has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (19 pts) (nesting depth added 12). 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":"SurroundNotificationContent/NotificationViewController.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e109264901a955251d7b03f3f4d1fb2f83ab76102f4417f01c8e395ba2787ec2"}},{"ruleId":"D2","level":"warning","message":{"text":"FeltControlTexture.image (cognitive 19): FeltControlTexture.image has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (9 pts), loops 3 (6 pts), if/else 3, 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":"Surround/Components/FeltControlSurface.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cd6c27bf1f1ad8df6d042f0ed01e41f27f7a5aeca39a3a7e7c364525f8d253"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryGameCell.profilePlayers (cognitive 19): HistoryGameCell.profilePlayers has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, ternaries 2 (4 pts) (nesting depth added 8). 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":"Surround/Components/HistoryGameCell.swift"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3397c95bc5a7a41d068af63319de57e7b1928ad34642ec8953e3719bff2fc2c"}},{"ruleId":"D2","level":"warning","message":{"text":"Coordinator.webView (cognitive 19): Coordinator.webView has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 6 (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":"Surround/Components/ProfileBiographyWebView.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa55c9523519aa5eb89e8425954af656b88f2fabb5c3422052b214137835a7f"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSService.loadFinishedGameData (cognitive 19): OGSService.loadFinishedGameData has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":3262}}}],"partialFingerprints":{"codehealthFindingId/v1":"866f02df1219c867076f410cb4aaaa3744ce0564c78cbcd3e43d1d26231ffa47"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSService.sendChallenge (cognitive 19): OGSService.sendChallenge has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":5734}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b18d2eaaa5255b588687e36797c18bf0b8a2a6a57e748638f113dbe3ec1380"}},{"ruleId":"D2","level":"warning","message":{"text":"SuperchatStore.receive (cognitive 19): SuperchatStore.receive has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/SuperchatStore.swift"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c27d600c7dc93884fd1f5257e9eee10e7195bb6987af6ea9c41e9da43b63f0"}},{"ruleId":"D2","level":"warning","message":{"text":"TimeStepper.body (cognitive 19): TimeStepper.body has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/TimeSystemPickerView.swift"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4749ee290f669a4974fb0044a1b58a0e4f9a669532d71ca16809272719dc4c2"}},{"ruleId":"D2","level":"warning","message":{"text":"Game.addChatLine (cognitive 19): Game.addChatLine has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/Core/Game.swift"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a4f4d5b411e5b24443dc7967631577b5b5abea6665bcd91bfb3dd2fcb34719"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundTheme.clockGlassTint (cognitive 19): SurroundTheme.clockGlassTint has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (18 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: 2 other methods here (SurroundTheme.identityGlassTint, SurroundTheme.clockAccent) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"a340aa02f23e902074e7b2ad5c118e3f77a5662709b02a1274374bab00ea5888"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundTheme.identityGlassTint (cognitive 19): SurroundTheme.identityGlassTint has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (18 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: 2 other methods here (SurroundTheme.clockGlassTint, SurroundTheme.clockAccent) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5f39d5c22744e8d9b37bff1a8a7a00bfeb69c9d0ada372c0ddb64cdf48d428"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundTheme.clockAccent (cognitive 19): SurroundTheme.clockAccent has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (18 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: 2 other methods here (SurroundTheme.clockGlassTint, SurroundTheme.identityGlassTint) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1762}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2167185cf54d1e135febc3106a3710791c6b9de65c3231d4ba111a5ee708b6"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundTheme.clockUndoAccent (cognitive 19): SurroundTheme.clockUndoAccent has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 5, boolean chains 4 (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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"9634f4b9919211be1874bb1bf55799f21741a2d8c3f5089d0e72a8c863bd9644"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundTheme.identityChipColors (cognitive 19): SurroundTheme.identityChipColors has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (18 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c2be9052a728a0b25716c473debb264765a4837b66a0800f2cb6a51bd639de"}},{"ruleId":"D2","level":"warning","message":{"text":"AppReviewPresentation.swift.appReviewContext (cognitive 19): AppReviewPresentation.swift.appReviewContext has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 18, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/AppReviewPresentation.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94fda1e125bd520a440180c18df0604a507e5377b8bd0867af904019ecf509a"}},{"ruleId":"D2","level":"warning","message":{"text":"validate-localizations.main (cognitive 19): validate-localizations.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8, ternaries 6, boolean chains 4, error handling 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":".github/ci-tools/validate-localizations.py"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbee07de0dabe34a4d2e683f93c608b54bb5e1a8294cbbc902cc1db3ff90dcbd"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoCompatibilityBaseline.validate (cognitive 18): DuoCompatibilityBaseline.validate has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 14, if/else 2 (3 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoCompatibility.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa0177aedb1f339ef7c45a5ae699b6d69abf70424baec5cb96ee63a62581d8f"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileBiographyLinkTarget.resolve (cognitive 18): ProfileBiographyLinkTarget.resolve has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 12, if/else 5, match/switch 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/ProfileBiographyDocument.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e87e78cb23e8062948ca592eb20539d3338e968c9faa9682b6287cf0ea9a46"}},{"ruleId":"D2","level":"warning","message":{"text":"AppRoute.init (cognitive 18): AppRoute.init has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, if/else 4 (6 pts), match/switch 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":"Surround/Services/NavigationService.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b943dff4a1a907edeae1ddf1f66cf17991673f2b90514a2d2fb065c5c7d553d7"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSService.beginConditionalMoveSubmission (cognitive 18): OGSService.beginConditionalMoveSubmission has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 16, error handling 1, if/else 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":4308}}}],"partialFingerprints":{"codehealthFindingId/v1":"838ebc4d99e28c910a63fa33b6c9d3c1ad635f26a03da4e2e3662c7dc51caa1d"}},{"ruleId":"D2","level":"warning","message":{"text":"GameHistoryView.historyContent (cognitive 18): GameHistoryView.historyContent has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (9 pts), if/else 8, boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameHistoryView.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"211482f56cbe9f14edb38b86dd436fc19c9b44b10952d9d2407d44828512a3b7"}},{"ruleId":"D2","level":"warning","message":{"text":"Controller.apply (cognitive 18): Controller.apply has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 3 (6 pts), boolean chains 4, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/HomeView.swift"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75b028f63064e864f3cd3155393a309f5812ab98267501fe3feb7502c11b6b1"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerProfileView.actions (cognitive 18): PlayerProfileView.actions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (5 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/PlayerProfileView.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"375be05ffe104087f72c49929f8f2ed2c05b7c79776e7c486335e6667f399b70"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDetailPlayerIdentity.chip (cognitive 18): GameDetailPlayerIdentity.chip has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (17 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":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3bf4c1a2cb8fe7dab3bfff41dccf1c3d1d6fdba3158172ed8c62aa58716f2a"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDetailInformationContent.scoreDetails (cognitive 18): GameDetailInformationContent.scoreDetails has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 1, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":1974}}}],"partialFingerprints":{"codehealthFindingId/v1":"21241f33caae695a192cb95c31da88314a85cc5bcc16b74cc7eef6da79a32479"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundTheme.clockAgreementAccent (cognitive 18): SurroundTheme.clockAgreementAccent has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (7 pts), boolean chains 6, if/else 5 (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 (SurroundTheme.clockDisconnectedAccent) 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1814}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6afe420647dee0f241790a01ab54f8119993c26cbba131c43ebbd368f40dc4b"}},{"ruleId":"D2","level":"warning","message":{"text":"SurroundTheme.clockDisconnectedAccent (cognitive 18): SurroundTheme.clockDisconnectedAccent has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (7 pts), boolean chains 6, if/else 5 (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 (SurroundTheme.clockAgreementAccent) 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ed2e2e7032a6b189cf7a6b323a74275436eb285792ce0b6a36e5cd74c9cbc2"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleGameView.boardView (cognitive 18): SingleGameView.boardView has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7, ternaries 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/SingleGameView.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2f087465f35be35c840cc3a9b79a741af78fba33901311acba6d9350941861"}},{"ruleId":"D2","level":"warning","message":{"text":"update-theme-previews.main (cognitive 18): update-theme-previews.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, loops 3, 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":".github/ci-tools/update-theme-previews.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ddda14180b15690827e0419c90f73f2bc67581357bba29a6f3e0e4a0e7dcae"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoJournalFile.save (cognitive 17): DuoJournalFile.save has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 1 (2 pts), boolean chains 1, error handling 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoExecutionJournal.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b79432536dfd09a27952786a029fa1d854d3d78c4342ede96e9353050ceab51"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigurationView.applyMaximumSize (cognitive 17): ConfigurationView.applyMaximumSize has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 14, if/else 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":"Surround/SurroundApp.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8307c1339c2c8e5e20570ce88e502f254b06973263c02cf0c29ff035c857173"}},{"ruleId":"D2","level":"warning","message":{"text":"FeltEdgeFibers.roundedRectangle (cognitive 17): FeltEdgeFibers.roundedRectangle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, loops 2 (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":"Surround/Components/FeltEdgeFibers.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e0817b4b92ce95929ed545cabdd27dd76ccf79a7cfc3514db9731117a703fb"}},{"ruleId":"D2","level":"warning","message":{"text":"FriendshipControls.invitationActions (cognitive 17): FriendshipControls.invitationActions has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (12 pts), if/else 3, boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/FriendshipControls.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a051602eea001faddc239823d0d25c246c05e72edcf3cc64ebf92e0a724c38b"}},{"ruleId":"D2","level":"warning","message":{"text":"BiographyHTML.firstSummaryFragment (cognitive 17): BiographyHTML.firstSummaryFragment has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/ProfileBiographyDocument.swift"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"296567a3930c3e8a9b9210abf5f38504b367f32715f8b388e4a2c56c25bcffd3"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileBiographyTime.dateFormat (cognitive 17): ProfileBiographyTime.dateFormat has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (4 pts), boolean chains 3, 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":"Surround/Models/ProfileBiographyDocument.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d38e47672234ec020b1900e717b492a449c1f6084091f7c04854cc498843035"}},{"ruleId":"D2","level":"warning","message":{"text":"PublicGamesList.resolvePendingGameOpen (cognitive 17): PublicGamesList.resolvePendingGameOpen has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 5, loops 1 (2 pts), error handling 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":"Surround/Views/PublicGamesList.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c6d4759f9dae1f96c3117db570e4e7d02bfa790069f5a82b9daa93b7b7aa14"}},{"ruleId":"D2","level":"warning","message":{"text":"BoardPosition.constructTerritoryGroups (cognitive 17): BoardPosition.constructTerritoryGroups has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (9 pts), ternaries 1 (4 pts), if/else 1 (3 pts), boolean chains 1 (nesting depth added 9). 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":"Surround/Models/Core/BoardPosition.swift"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ce65f3d0eb5ac8463f2a9a9c7bf0e5ad7f833a7b90a431e78e3d7928f606fb"}},{"ruleId":"D2","level":"warning","message":{"text":"MoveTree.demoteMainBranch (cognitive 17): MoveTree.demoteMainBranch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/Core/MoveTree.swift"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81d4e91158b02de92df179182991310b427c5d97294b17baf966682a1e45459"}},{"ruleId":"D2","level":"warning","message":{"text":"MoveTree.calculateLevels (cognitive 17): MoveTree.calculateLevels has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/Core/MoveTree.swift"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e1e14c8ec5c11f383c5f0cda0343577ecad1225ad8ec1f129541d48129fe75"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDetailClockCard.content (cognitive 17): GameDetailClockCard.content has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (7 pts), if/else 4 (6 pts), boolean chains 4 (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":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbaa16f5946a1b7dafc7f327e2c3b4f8d3dac6f6f388613217eecd4847fc53c0"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusBarContrastView.layoutSubviews (cognitive 17): StatusBarContrastView.layoutSubviews has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (7 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":3419}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee0a6583edac85666415c3a25a4660e8e1c228f5ce6a7b8ff0a814f99395576"}},{"ruleId":"D2","level":"warning","message":{"text":"DuoPublishingExecutor.executeRollback (cognitive 16): DuoPublishingExecutor.executeRollback has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, loops 3 (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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8602fd18fd2f0e66fba71a9b18b53a9c93dd4e23f5f70ae457c256d3ef20b2"}},{"ruleId":"D2","level":"warning","message":{"text":"ManifestBuilder.reviewHTML (cognitive 16): ManifestBuilder.reviewHTML has cognitive complexity 16 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 2 (4 pts), ternaries 1 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ManifestBuilder.swift"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"52113f05288b1b1f5ecf4514ee435e44fe34ddbf7d1be529c07beac9befb81ca"}},{"ruleId":"D2","level":"warning","message":{"text":"SnapshotService.loadVersion (cognitive 16): SnapshotService.loadVersion has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SnapshotService.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"421799a3b2d35c64b798233dac1dd9aeef5e69b037a54a39156b74c92fbbe555"}},{"ruleId":"D2","level":"warning","message":{"text":"FriendshipControls.body (cognitive 16): FriendshipControls.body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 4, ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/FriendshipControls.swift"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04dcd4b7e09f851691c578922bfeca2cbd9ce2a2e01950daa33c572acf9c0a5"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryGameCell.userResult (cognitive 16): HistoryGameCell.userResult has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 1 (2 pts), boolean chains 1, ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/HistoryGameCell.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bf6ee9e3a63de35f277887a70a9954bb94e1f828cc9a45e252a9ce17e7c19c"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageStoneShading.draw (cognitive 16): ImageStoneShading.draw has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/Stone.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb92c1eae6a21beb7ac9ab5a18eff8fa569752ddf1d4d00f5bf39393abdcc740"}},{"ruleId":"D2","level":"warning","message":{"text":"ProfileBiographyTime.timeAttributes (cognitive 16): ProfileBiographyTime.timeAttributes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (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":"Surround/Models/ProfileBiographyDocument.swift"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34d048706b9e12e19fcea1ab75847e1dd5d17e2e0d99ea9378feb7c1f5c1e53"}},{"ruleId":"D2","level":"warning","message":{"text":"FinishedGamePreviewLoader.complete (cognitive 16): FinishedGamePreviewLoader.complete has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 5, ternaries 1 (3 pts), match/switch 1 (2 pts) (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":"Surround/Services/FinishedGamePreviewLoader.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fe54ebbd5cc39cc7e33a968a3482af384f47226e8ffb81485bdadf47a68e8d"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSService.sortActiveGames (cognitive 16): OGSService.sortActiveGames has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 1, loops 1, ternaries 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":"Surround/Services/OGSService.swift"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d04bcb6a5873287c4847257ed28b7c8e15c3fe8ff105dd4943aa608a60d47d"}},{"ruleId":"D2","level":"warning","message":{"text":"OGSService.resolvePendingRealtimeGameStartedNotifications (cognitive 16): OGSService.resolvePendingRealtimeGameStartedNotifications has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":3549}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d21778bd14f5ac742092b7ca6f050c2ddd3af194c2d236d8e6d4a46e3b46bc"}},{"ruleId":"D2","level":"warning","message":{"text":"BetaSimulatorLoginBridge.start (cognitive 16): BetaSimulatorLoginBridge.start has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 7, error handling 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/UITesting/BetaSimulatorLoginBridge.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e31d6e0b3bb0ed1d23bcf381d754bb286599b781616b580ab56fc6f43b0b45"}},{"ruleId":"D2","level":"warning","message":{"text":"Configuration.init (cognitive 16): Configuration.init has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6 (nesting depth added 2). Of this number, 11 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body: 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":"Surround/UITesting/BoardMarkerAuditHarness.swift"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a2ee522caed67b272b222d5fc3425ddd36f1bedb75fef882d0c5f41e024462"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayerProfileGames.loadHistory (cognitive 16): PlayerProfileGames.loadHistory has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 1 (3 pts), boolean chains 2, loops 1 (2 pts), error handling 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":"Surround/Views/PlayerProfileGames.swift"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b253c1fc81bfa6618f429f03369143d8c314cb3e8c3c2514f4ffa9eaf0f2d8"}},{"ruleId":"D2","level":"warning","message":{"text":"GameDetailClockState.canShowTimer (cognitive 16): GameDetailClockState.canShowTimer has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 4, ternaries 2 (3 pts), match/switch 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailClockState.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dda41497a9fda4ddb229b78600e8a1daadf980988362e503c7f8c6dc91567b5"}},{"ruleId":"D2","level":"warning","message":{"text":"FrostPineWoodPlateDrawing.drawTopFrost (cognitive 16): FrostPineWoodPlateDrawing.drawTopFrost has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (10 pts), loops 3 (5 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":3199}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ba91456cc01d58358761959970d8c49a84ad2ee64680358cb4b2f5829ccc98"}},{"ruleId":"D2","level":"warning","message":{"text":"app-store-screenshot-provenance.assemble (cognitive 16): app-store-screenshot-provenance.assemble has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), loops 3 (4 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/app-store-screenshot-provenance.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"73553cb49d9f308552e3c713b6f48f13db0df749d4b2588df7ee806904da471c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OGSService: ClassTooLong \u2014 3819 significant lines (blank, comment-only and punctuation-only lines excluded), 198 methods. The bar is 400 significant lines; this is 3419 over it, 9.55\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":"Surround/Services/OGSService.swift"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6120dc483b629688b1ee6f3c549f6cf901f038e99326df96032f5e3691aa9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/OGSService.swift: FileTooLong \u2014 4489 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: OGSService (882-6561). The bar is 500 significant lines; this is 3989 over it, 8.98\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":"Surround/Services/OGSService.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d061d4c1b6b8f0fa4db124fbabbd2ede3e8b9ee23dd75dcd2fe83a43ad40877d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: GameDetail/GameDetailTheme.swift: FileTooLong \u2014 3523 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3023 over it, 7.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9158e36237b7d6a4b90edcff2fb189544e19b06edaea77ecf75b8c34c3f083"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GameDetailLayoutPlan.init: MethodTooLong \u2014 init runs 672 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 572 over it, 6.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailLayout.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11e44a09f4e70c7b4790fafc45873d9eae3fa7f33dc5f7831d11e4aa335ff75"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OGSService: TooManyMethods \u2014 198 methods, declared across 2 files: Services/OGSService.swift (190), UITesting/OGSService\u002BFixtures.swift (8). The bar is 30 methods; this is 168 over it, 6.60\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":"Surround/Services/OGSService.swift"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad7c771f980c3e4572d7a325736cea61da38ef54a1d7cf0f47b0feb58e93f08"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SurroundTheme.board: MethodTooLong \u2014 board runs 352 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 252 over it, 3.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"96110a4c754ba7d1176fe5b0aa34466a9287ec99a0eb233e5f5ace38d302255c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Publisher: ClassTooLong \u2014 1282 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. The bar is 400 significant lines; this is 882 over it, 3.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9f5b6ead73827fac63cb65dccf7b2626c36e659d659d52db5feca32a4235b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: GameDetail/GameDetailPlayers.swift: FileTooLong \u2014 1456 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 956 over it, 2.91\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43937f1db461e2c2688beda1df386326ff426e02470020842d58ac1db055fd7f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Components/BoardView.swift: FileTooLong \u2014 1383 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 883 over it, 2.77\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":"Surround/Components/BoardView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2647323ba2833894ee290b2eccd36ef2e81b95c83809473fb0c0b0e66d6d6c80"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: OGS/OGSAutomatchEntry.swift: FileTooLong \u2014 1303 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 803 over it, 2.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/OGS/OGSAutomatchEntry.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"127f9840d48bac0bc7d9e00f03405dc26ceedde14bdf9a9b3e5a1144199430e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ASCReleaseCore/Publisher.swift: FileTooLong \u2014 1283 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: Publisher (3-1763). The bar is 500 significant lines; this is 783 over it, 2.57\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a88cd5944a2b831ba09f42b1b4f05b8f3c41e2a91575a3c968cf8f2130ac59c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: GameDetail/GameDetailView.swift: FileTooLong \u2014 1233 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 733 over it, 2.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f72407bd4ede4818155e945d861add1075eff7a2d10df1cc2fd7fbf83e10d2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SingleGameView: ClassTooLong \u2014 973 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 573 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":"Surround/Views/GameDetail/SingleGameView.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"778ad99a7d77b798f423680335a00d409068061869412dee03084c7f43457036"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.swift.top-level code: FunctionTooLong \u2014 top-level code runs 240 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 140 over it, 2.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":".github/ci-tools/AppStoreConnectTool/Sources/AppStoreConnectTool/main.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac19a406325554121386bd6d93b7555f6b5aca63f3cfaa73e3648d2d45a3bae"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Game: ClassTooLong \u2014 930 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 530 over it, 2.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":"Surround/Models/Core/Game.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"756b3703863b67451ae9ca9ccd4d7f5eb6077c47c4641f9d5c7718d351c7a418"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SurroundUITestContract: ClassTooLong \u2014 909 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 509 over it, 2.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/UITesting/SurroundUITestContract.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d25218fca8bf18d1380075c488187140647f8a0714f3480c9f3aedfcd280fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: GameDetail/SingleGameView.swift: FileTooLong \u2014 1072 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: SingleGameView (11-1357). The bar is 500 significant lines; this is 572 over it, 2.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/SingleGameView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe8c24484cf80333eac0bf4585a103b29897cd3b585bc2f96ba4cb0e75fe658"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SurroundTheme.board: MethodTooLong \u2014 board 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d685e7e895ebc6132d4d0f9894e13fcd5f6d7e80d61c0c2cdc903406bfa151c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OGSService.onWebsocketServerEvent: MethodTooLong \u2014 onWebsocketServerEvent runs 207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 107 over it, 2.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"529be3efdb6dfbe3b0cd0ce843227756b20d6875425042be8d2def10164946c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UITesting/SurroundUITestContract.swift: FileTooLong \u2014 1019 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: SurroundUITestContract (10-1301). The bar is 500 significant lines; this is 519 over it, 2.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/UITesting/SurroundUITestContract.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee91dc7dc81385539566a5d6ea87f33ac78ade169e8095cb7cdfe8805c9d0dec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/HomeView.swift: FileTooLong \u2014 1007 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: HomeView (44-1100). The bar is 500 significant lines; this is 507 over it, 2.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/HomeView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde540bb06b7edd2777bdc76f4fb496be6835c97940ce9386967563963143887"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DuoPublishingExecutor: ClassTooLong \u2014 789 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 389 over it, 1.97\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdad4df5e727d00dc09fd8ce7cfbb4ed3cacf6b056da718cd65d2a790d8b919"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Core/Game.swift: FileTooLong \u2014 935 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Game (16-1429). The bar is 500 significant lines; this is 435 over it, 1.87\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/Core/Game.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebcbe6ae20780b45edd10d6e2d87a8c1fa0b7a918af0fc9e93a0425f7eb4c91"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HomeView: ClassTooLong \u2014 734 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 334 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":"Surround/Views/HomeView.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2cc33977361ff75548717d9257926d10a867bdd4d5c086e9da22ede4701aef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Publisher.publish: MethodTooLong \u2014 publish runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9618db16af7f09f606b24c718f3036f85d825ff66c891d2efa9be501ceb6c677"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GameDetailLayoutPlan: ClassTooLong \u2014 710 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 310 over it, 1.78\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":"Surround/Views/GameDetail/GameDetailLayout.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d751a62eb66bc63c58fc133e10acf4e25894d9afe466c256cfab9e0120244abd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Publisher: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1005a2683ca78aec4fde96a10f393dc3c1b9b297cc168ec9b356b6d6af32c458"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Stones.body: MethodTooLong \u2014 body runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/BoardView.swift"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2482918f2859b5cdee65dce7e30cb2f26d2c7e2686739241a99ac81dc28eb4c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GameDetailView.content: MethodTooLong \u2014 content runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailView.swift"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c9ae6069509699d988a646586a330f90e8ae10ff7c1db2732b56d49e5cccaa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GameDetailView: ClassTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 272 over it, 1.68\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":"Surround/Views/GameDetail/GameDetailView.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b78fafe9804c461f7163d92e10b9b45abd0e50ddbbdaf37cce0cca9da6800a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ASCReleaseCore/MetadataOnlyRelease.swift: FileTooLong \u2014 839 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 339 over it, 1.68\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/MetadataOnlyRelease.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4e6b1d1a18140f30946135bb4b8dc072393ff21e32724b547784b4cf464823"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OGSService.onWebsocketServerGameEvent: MethodTooLong \u2014 onWebsocketServerGameEvent runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":2035}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c24536dc4a8144edcd032944af931c04d86dbe404a5203aef7a5a3bc1385b9e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/QuickMatchView.swift: FileTooLong \u2014 803 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: QuickMatchForm (379-1107). The bar is 500 significant lines; this is 303 over it, 1.61\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/QuickMatchView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15eb0557905322c31c4a6b7cf36f1fdab4399bade9e8fac503d3703a936d7da5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DuoPublishingExecutor: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5412efcd9d37345bf6d4b4bd0f4af5ef65e4e2b25c4f5f93859a60c09da8410"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ASCReleaseCore/DuoPublishingExecutor.swift: FileTooLong \u2014 798 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: DuoPublishingExecutor (18-1055). The bar is 500 significant lines; this is 298 over it, 1.60\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4861ca527627be9ee4d9c7e32533472de4e1caf19970cf05a704d3154f64de7e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SurroundTheme: ClassTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 230 over it, 1.58\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e099731b370028bde51998f73e9e2ebd28956a0c63823cb12e665a6fe14f0f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: GameDetail/GameDetailLayout.swift: FileTooLong \u2014 774 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: GameDetailLayoutPlan (32-978). The bar is 500 significant lines; this is 274 over it, 1.55\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":"Surround/Views/GameDetail/GameDetailLayout.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9413c774d0d99ebbe11230d12057e6effcfa0f332b2c6bb344f7374a2b72d475"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Components/Stone.swift: FileTooLong \u2014 771 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 271 over it, 1.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/Stone.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d36f1c69a7c5cf5429dbaf6893f4b234c61567c2b98c858175b46d2943dc44"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DuoAssetLibraryPlanBuilder.build: MethodTooLong \u2014 build runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoAssetLibraryAdapter.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"706242cdb8bfccce727def06fd71119cc1e1f35b0dad7ae88f0cc171d53cf98a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Components/ChatLog.swift: FileTooLong \u2014 765 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 265 over it, 1.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/ChatLog.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49287715b8a73421a27b1ed91dcf4b8342c49f19beba004e3c767a5f4bbc6b7a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NewChatInput.body: MethodTooLong \u2014 body runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/ChatLog.swift"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"07cd0ccc796e9bdbd68ee933929f8c9a3baef11abb2a7ec94f2c60df7aec7535"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Surround/MainViewWrapper.swift: FileTooLong \u2014 748 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 248 over it, 1.50\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":"Surround/MainViewWrapper.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fe912744c5449d22a3fe8a1399c1da7aaff14c65d407c0b471a6120da316ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/ActivityListView.swift: FileTooLong \u2014 722 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 222 over it, 1.44\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":"Surround/Views/ActivityListView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"666b3499d7afefa80919d165daa743880f36585966f92b49993a38a70380cf2d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MetadataOnlyPublisher.publish: MethodTooLong \u2014 publish runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/MetadataOnlyRelease.swift"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0c2d2323cd4b8a45e1e0d15c222ad389e9bdda550033fe410f40ad52c72e08"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Game: TooManyMethods \u2014 42 methods, declared across 3 files: Core/Game.swift (39), Components/ConditionalMovesPopover.swift (2), Models/ActivityModel.swift (1). The bar is 30 methods; this is 12 over it, 1.40\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":"Surround/Models/Core/Game.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dee1b9b9fce8268fb8046429d5509db43f60d4c4be02c2472c2e830e45f5e6c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Goban.body: MethodTooLong \u2014 body 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":"Surround/Components/BoardView.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8524fe85caba480ec564f0b577b80650b98f3936fe5bc848d0e91bcaa6643843"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: UITesting/BoardMarkerAuditHarness.swift: FileTooLong \u2014 692 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 192 over it, 1.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/UITesting/BoardMarkerAuditHarness.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f4f02646e4e597816abda5882fcc2eaa3de5d06e77b4d814328ed2107107fe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChallengeCell.playerInfos: MethodTooLong \u2014 playerInfos runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/ChallengeCell.swift"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7c8db2fa2150948631f2cbef52dbfc9606b6af717adf31804fb125a5c27e8f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HomeView.body: MethodTooLong \u2014 body runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/HomeView.swift"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd005214e6237e28e9c2095afefa084f3af684677d6d4047409703297a5f3f1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GameDetailClockCard: ClassTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 141 over it, 1.35\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"c251ec37078ecf366f2ba683f18ea3726da7a1a9e661b1e7194a86d807d264a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SurroundWidgets/SurroundWidgets.swift: FileTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 172 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SurroundWidgets/SurroundWidgets.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94aeffb7c59fa0e4e2baef2462f235e94af011e3500636051d6664a2a238f5d8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MoveTree: ClassTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 136 over it, 1.34\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/Core/MoveTree.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd96dca98d9cf72c939078eeb98da3c60a103ac0e062b27870a2c90a501163c5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CustomGameForm: ClassTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 136 over it, 1.34\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/CustomGameForm.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"95193088286488d9a5e03cdabbb1fd93759abc00ac53534c19b7db2c8cfca722"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QuickMatchForm.body: MethodTooLong \u2014 body runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/QuickMatchView.swift"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cb624ec1712331019fd78850d45f1bd21b18f25b77af94a4d39015cd4a3b25"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: QuickMatchForm: ClassTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded), 11 methods. The bar is 400 significant lines; this is 132 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":"Surround/Views/QuickMatchView.swift"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a4eab15236fd0bebd4439fbb0560b8b241a069fbcaceeafb92554f8c801250"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ci-tools/validate-localizations.py: FileTooLong \u2014 662 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 162 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/validate-localizations.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8a00b9ae8dc8e5daaaf0ba4e57e5c50c59cba8f05f27d1a313ac75caafc9c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/StackRouter.swift: FileTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 158 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/StackRouter.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03b526afa06ee2ec4dd94156bb521ec72c0a71d8a1064c4fbf3926e3602ae9c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Publisher.publishScreenshotSet: MethodTooLong \u2014 publishScreenshotSet runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fae05ad8e48d521e364f45368857847dfb803e994f8b7614897a8020c4c23b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Components/ActivityRows.swift: FileTooLong \u2014 634 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 134 over it, 1.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":"Surround/Components/ActivityRows.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6070ca314b6e40791c15e03da5afcea812fecd2dd31e2d83570482197447a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Components/ChallengeCell.swift: FileTooLong \u2014 620 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 120 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/ChallengeCell.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab647d9e4cedd1040b6e08690457cd7b91f2f50b1a43cf768f44f729eafcf1fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: OGS/OGSChallenge.swift: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 115 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/OGS/OGSChallenge.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef3436b97c6ba55f6654670ef7e457c2f564df6b0ab985a9581eb7ebbff9455"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/OGSWebsocket.swift: FileTooLong \u2014 611 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 111 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSWebsocket.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad06ce2a61829576c3acf99eacfd372b301c37764d4c14f090f75066e938676"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SnapshotService.loadAppInfo: MethodTooLong \u2014 loadAppInfo runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SnapshotService.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c871dc5512896d96f642602cb234f2fcce8962d89bd40c50e02db1de0ce52b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AutomatchEntryPresentation.init: MethodTooLong \u2014 init 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":"Surround/Models/OGS/OGSAutomatchEntry.swift"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc715962b8c52ce1aa31bfe9e28bd86d0a82121ffeca0a0a800f7dbe34b2938"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/CustomGameForm.swift: FileTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: CustomGameForm (10-748). The bar is 500 significant lines; this is 69 over it, 1.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/CustomGameForm.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6db62c6db05690a461fe6c08ca1def76ff53a3b003c04448805d798b96cbaca"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ManifestBuilder.build: MethodTooLong \u2014 build 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ManifestBuilder.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4357d797e2909f88bd6b30d4025d06fd94a0ce2f50c0eed0e96b44cf125a64a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/NewGameView.swift: FileTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: NewGameView (198-733). The bar is 500 significant lines; this is 56 over it, 1.11\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/NewGameView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17eda370311b18128d26b1e2a66036bbd6a68b406a6d4966a7c86122d76c57d8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatLog.body: MethodTooLong \u2014 body runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/ChatLog.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f2f2b7c8c82ee41fc1b1794a15ce951053e6728fdf15c6c8f60a98af58a7b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Services/NavigationService.swift: FileTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 46 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/NavigationService.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77880ca50455c01469d7c83359bcdab72f9964839e3d5107d5c7d2f40c2f2aa7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Publisher.reconcilePartialScreenshots: MethodTooLong \u2014 reconcilePartialScreenshots runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"17dcab01bf7465984d331ce0da43407fc524c91c081ba3395b0f85b5cbaac2b8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SingleGameView.gameContent: MethodTooLong \u2014 gameContent runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/SingleGameView.swift"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a19b9d6680b5fc6e79c29dbf13e405fb1ec4b72d8d5a3ea5682eb28ee13c26e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Core/MoveTree.swift: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: MoveTree (10-813). The bar is 500 significant lines; this is 37 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/Core/MoveTree.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"721a44988bb391473d9777f9d0246859e6ff61ccaa0eaed42f8487b9fb402660"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Components/GameControlRow.swift: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 35 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/GameControlRow.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c916aedf1ba729dbd9174ed539dd55b6f5b24a7b3c8ecf44a6d9d938ccf7c74"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatLog.swift.top-level code: FunctionTooLong \u2014 top-level code runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/ChatLog.swift"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc493c3947b82414d7841ffbabb53f034bf90a70fc96901469b9b4d5b978c4b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: View: TooManyMethods \u2014 32 methods, declared across 16 files: Services/ActivityHostSDK.swift (7), Services/StackRouter.swift (4), Components/ActivityRows.swift (3), UITesting/SurroundAnimationDiagnostics.swift (3), \u002B12 more file(s). The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/ActivityRows.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea37a4c7d2351396f05621e6bbe1876795dc71d04b31e511e7187c58e2c4556"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MoveTree.replaceConditionalVariations: MethodTooLong \u2014 replaceConditionalVariations runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/Core/MoveTree.swift"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d07d613e4a3f0c483827bcc60b17080f8f948ec6342bb2ffe007c5e7c3675c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MetadataOnlyManifestBuilder: ClassTooLong \u2014 419 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 19 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/MetadataOnlyRelease.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b99f8fe8a31a1d27226397d08b9f1d71d88cf78376acb251bdf2e070b27bf5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Views/PrivateMessagesView.swift: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: PrivateMessagesView (4-499). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/PrivateMessagesView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa0838dcbc29e1247a044256577f8c164b2d628068abb0bf93796c4835a0f14"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PositioningView.requestGeometryUpdate: MethodTooLong \u2014 requestGeometryUpdate runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/MainViewWrapper.swift"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d5630c34a5ac756896af363084349bae505691b60c1d7a3051d65f2c4e59af"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SnapshotService: ClassTooLong \u2014 408 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 8 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SnapshotService.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82b475c4988756186219deb632fc65af21e17e9dfebed4504077feff5d50fce"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OGSService.performFriendshipAction: MethodTooLong \u2014 performFriendshipAction runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":5346}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad7ee8f812cf5bbe87648748c5af3ca75559eb4f5458ecb1e4ebc7c054d86d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): Surround/Views/GameDetail/GameDetailTheme.swift:796-803 | Surround/Views/GameDetail/GameDetailTheme.swift:879-886 | Surround/Views/GameDetail/GameDetailTheme.swift:1081-1088 | Surround/Views/GameDetail/GameDetailTheme.swift:1131-1138 | Surround/Views/GameDetail/GameDetailTheme.swift:1182-1189 | Surround/Views/GameDetail/GameDetailTheme.swift:1234-1241 | Surround/Views/GameDetail/GameDetailTheme.swift:2236-2243 | Surround/Views/GameDetail/GameDetailTheme.swift:2554-2561 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ca636758b7759f3a95a5976e7bcc61e6240b6731506a4b45c7bcc3b862daf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): Surround/Views/GameDetail/GameDetailTheme.swift:3641-3691 | Surround/Views/GameDetail/GameDetailTheme.swift:3721-3753 | Surround/Views/GameDetail/GameDetailTheme.swift:3815-3851 | Surround/Views/GameDetail/GameDetailTheme.swift:3928-3958 | Surround/Views/GameDetail/GameDetailTheme.swift:3991-4036 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":3641}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf8fda52322a9a9393cca54fc66f893b1f8c6e91935583cb7670c78a09b2d15"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Surround/Components/InlineTimerView.swift:187-201 | Surround/Components/InlineTimerView.swift:231-243 | Surround/Components/TimerView.swift:158-172 | Surround/Components/TimerView.swift:202-214 \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":"Surround/Components/InlineTimerView.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97e2a7e253a140a2df5ea99b55f75a3cbb39b94aa215e911c6f7b4bc64e676e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Surround/Services/OGSService.swift:4644-4672 | Surround/Services/OGSService.swift:4717-4736 | Surround/Services/OGSService.swift:4738-4757 | Surround/Services/OGSService.swift:4759-4781 \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":"Surround/Services/OGSService.swift"},"region":{"startLine":4644}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d880dd574db9e5e2299b286fd7a87314e33dcbb12f4664cbef49742885813c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): Surround/Views/DuoTabContainer.swift:163-222 | Surround/Views/IPadTabContainer.swift:133-189 \u2014 These two members are one piece of code written twice and then edited apart: 57 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/DuoTabContainer.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"96943f07590d6c1d77547b08e6371efa56b463f6a9553cd5b80db08437520abe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): Surround/Components/InlineTimerView.swift:245-273 | Surround/Components/TimerView.swift:216-244 \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":"Surround/Components/InlineTimerView.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"d583d974f3932a5ea6d7bf5dc5531cca6222d02d2db052dfdac6dbac2227b52e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): Surround/Views/GameDetail/GameDetailTheme.swift:1389-1411 | Surround/Views/GameDetail/GameDetailTheme.swift:1415-1437 | Surround/Views/GameDetail/GameDetailTheme.swift:1978-2013 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"213e36e413bffecd73f9589a562fb58e6dbe104e87317a2f31595db6f29efdc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Surround/Models/OGS/OGSChallenge.swift:363-385 | Surround/Models/OGS/OGSChallenge.swift:617-634 \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":"Surround/Models/OGS/OGSChallenge.swift"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9e587240932316d20df4e0c12156279eca02ce05769f7c985452a0a48b6d3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): Surround/Views/GameDetail/GameDetailTheme.swift:4451-4480 | Surround/Views/GameDetail/GameDetailTheme.swift:4493-4520 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":4451}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffbaa6f8c710ab38cd585feeb21573806b1274af0aaa10fecfa82ec72343569"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Surround/Models/OGS/FinishedGameSummary.swift:28-54 | Surround/Models/OGS/OGSChallenge.swift:548-570 \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":"Surround/Models/OGS/FinishedGameSummary.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef3e0a1ba3f2a563041a515b947cb212f0cadde57f6e1827dbe3e0b24b7f451"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): Surround/Views/GameDetail/GameDetailTheme.swift:1729-1743 | Surround/Views/GameDetail/GameDetailTheme.swift:1745-1759 | Surround/Views/GameDetail/GameDetailTheme.swift:1762-1778 | Surround/Views/GameDetail/GameDetailTheme.swift:2015-2029 | Surround/Views/GameDetail/GameDetailTheme.swift:2031-2054 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52a228b4132678c046fe3e0747f878f317e723c6508323390b5920da30d136c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Support.swift:33-41 | Surround/Models/OGS/OGSConditionalMoves.swift:213-235 \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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Support.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d06f371af581456bb2bada5d104e9717781fa1606269810745bc87af1494bc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): Surround/Views/GameDetail/GameDetailTheme.swift:1782-1799 | Surround/Views/GameDetail/GameDetailTheme.swift:1814-1828 | Surround/Views/GameDetail/GameDetailTheme.swift:1831-1845 | Surround/Views/GameDetail/GameDetailTheme.swift:1848-1863 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"169ae07bbfa8d15879c9cdf6c7f0dc842a78045f3bf3b36b2cffeeec0dd7d9d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Surround/Components/ChallengeCell.swift:293-316 | Surround/Components/ChallengeCell.swift:475-502 \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":"Surround/Components/ChallengeCell.swift"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"685f953136d4ecb61c552db22883193cd4fe7e4ad241d1d6d400c298c6036eb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Surround/Components/FeltControlSurface.swift:61-72 | Surround/Components/Stone.swift:1160-1173 \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":"Surround/Components/FeltControlSurface.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e418d16971ae69c7f8d01221b8f63d9529b95938654354cbe4a31e22a3f9cf28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Surround/Views/GameDetail/GameDetailTheme.swift:1348-1367 | Surround/Views/GameDetail/GameDetailTheme.swift:1561-1575 \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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae0bcb534bb68d9cab6662d07fc0302d7e319b8b3e01c87f6609809e5f85932"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SnapshotService.swift:401-416 | .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SnapshotService.swift:418-436 \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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SnapshotService.swift"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"840ff763842a90a776ea5fbd28136b49dee69244a5a6a442cb4aeea12fa0154d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Surround/Components/ProfileBiographyWebView.swift:79-98 | Surround/Views/GameDetail/GameDetailPlayers.swift:1165-1183 \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":"Surround/Components/ProfileBiographyWebView.swift"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"005be517670602767b3c891dd3d822e9be120e0288dd69a18b2f131c23257a85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): Surround/Views/AboutView.swift:169-198 | Surround/Views/SettingsView.swift:262-293 \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":"Surround/Views/AboutView.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ea449f98a8e40e20e8828bbd550b1231ace46657d02183a7a4f984f9806a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Surround/Views/GameDetail/GameDetailPlayers.swift:4-12 | Surround/Views/GameDetail/GameDetailTheme.swift:2199-2211 \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":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e812de120b1ea88f504a073619f71d52c3764457932d1dadd89f6e3df2b110"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Surround/Views/GameDetail/GameDetailPlayers.swift:1428-1438 | Surround/Views/GameDetail/GameDetailPlayers.swift:1542-1555 \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":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf41f9822796f266ac61dded5447c6e959232504765385c07533b48fe7da0391"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Surround/Views/GameDetail/GameDetailTheme.swift:4388-4405 | Surround/Views/GameDetail/GameDetailTheme.swift:4548-4560 \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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":4388}}}],"partialFingerprints":{"codehealthFindingId/v1":"94adcf8bfc7389709c7f7d5d372e4b0f6fc5438d1d06d1f4ae94677db6a9119d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Surround/Models/OGS/OGSAutomatchEntry.swift:1333-1351 | Surround/Models/OGS/OGSGame.swift:64-79 \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":"Surround/Models/OGS/OGSAutomatchEntry.swift"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"915e845bc0f76e2c506e32c767e10249f124faf26da1152c878baeadfd141ef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Surround/Views/GameDetail/GameDetailTheme.swift:4337-4348 | Surround/Views/GameDetail/GameDetailTheme.swift:4530-4539 \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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":4337}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a477b648aeeb087e116b0d1a9fe1c09cddef01bd3241843d00838c17ec8029"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Surround/Views/OGSBrowserView.swift:267-289 | Surround/Views/ThirdPartyLoginView.swift:86-110 \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":"Surround/Views/OGSBrowserView.swift"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbc9f9bc1611d690239edf0726d0d32930439f0b5e32641a083bba4cd1f20d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): Surround/Models/OGS/OGSRemoteSetting.swift:39-58 | Surround/Models/OGS/OGSRemoteSetting.swift:60-79 \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":"Surround/Models/OGS/OGSRemoteSetting.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9908a0a61b53135d9647576ccaa9673df0fda9d9e921fd8de5dabf88626167"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Surround/Views/GameDetail/GameDetailTheme.swift:2520-2529 | Surround/Views/GameDetail/GameDetailTheme.swift:2776-2786 \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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":2520}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0198a79297b56a70e527548eb0a2eb01c25cf618e0a3c2ab9b7b02ca3b861b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Surround/Views/GameDetail/GameDetailView.swift:294-311 | Surround/Views/GameDetail/GameDetailView.swift:315-332 \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":"Surround/Views/GameDetail/GameDetailView.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dac9c65045f89b1235da5e379d2930f1a764abc54596a6dbd30ca6f7be68be5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Surround/Views/GameDetail/GameDetailTheme.swift:1802-1811 | Surround/Views/GameDetail/GameDetailTheme.swift:1866-1875 \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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"d243c6c75bfc4094fb4817b14b74a86c5bc1a1a6b86c5d86aee3e1f7be31ea85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Surround/Services/StackRouter.swift:268-288 | Surround/Services/StackRouter.swift:300-316 \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":"Surround/Services/StackRouter.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5b2733f408508c4210b0652425b8e23c7c15205b1d63d1d554d5599748884a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): Surround/Services/SurroundNotificationService.swift:83-99 | Surround/Services/SurroundNotificationService.swift:135-149 | Surround/Services/SurroundNotificationService.swift:181-193 \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":"Surround/Services/SurroundNotificationService.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2971bd3edbe01b30e5b24f88b4ee2876c43fef996565174141bf78c46de640"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Surround/Views/DuoTabContainer.swift:352-372 | Surround/Views/IPadTabContainer.swift:522-543 \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":"Surround/Views/DuoTabContainer.swift"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde807313cddd848e9f3be4631df3db843367b8eae8bb97ab735add162b7a517"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): Surround/Models/Core/Game.swift:665-686 | Surround/Models/Core/Game.swift:690-710 \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":"Surround/Models/Core/Game.swift"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"739f91a1c504e224cb78fdd9f943dbc26ad5a0b525168f1151d140dbc6d88154"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Surround/UITesting/SurroundUITestContract.swift:1428-1435 | Surround/UITesting/SurroundUITestContract.swift:1470-1477 \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":"Surround/UITesting/SurroundUITestContract.swift"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"405a27ae415244fd7ae15c603ef7837bc21e1ffcf1f4681f042a870c5d7a4613"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Surround/Services/OGSService.swift:3818-3840 | Surround/Services/OGSWebsocket.swift:729-737 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":3818}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c46877f997688d41cbe47a7bd9c638bdf885a57796259a77f0d7845f405713"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Surround/Views/DuoTabContainer.swift:509-520 | Surround/Views/IPadTabContainer.swift:545-556 \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":"Surround/Views/DuoTabContainer.swift"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"0591734afe10bb72fbb6e1ab3571d0e249317b790645457dfebacc77fdedcc79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Surround/Views/GameDetail/GameDetailTheme.swift:1900-1914 | Surround/Views/GameDetail/GameDetailTheme.swift:1917-1933 \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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"326b28ad365309f133b2291779fb8ea1a58d935e4891fbc81e1dd1e29e6bd87e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): Surround/Views/GameDetail/GameDetailTheme.swift:1287-1301 | Surround/Views/GameDetail/GameDetailTheme.swift:1303-1317 | Surround/Views/GameDetail/GameDetailTheme.swift:1486-1500 | Surround/Views/GameDetail/GameDetailTheme.swift:1607-1621 | Surround/Views/GameDetail/GameDetailTheme.swift:1624-1638 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5183062e2094d73e794718eb73dcc30b240cf628e01b6b38d14c243272d48e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): Surround/Models/OGS/OGSAutomatchEntry.swift:546-560 | Surround/Services/OGSService.swift:556-570 | Surround/Services/OGSService.swift:727-744 \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":"Surround/Models/OGS/OGSAutomatchEntry.swift"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"899333a491036feaefac9fdcca6c175b7a662b2c83211aee9275caee83ae9ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): Surround/Views/GameDetail/GameDetailTheme.swift:1440-1455 | Surround/Views/GameDetail/GameDetailTheme.swift:1526-1540 | Surround/Views/GameDetail/GameDetailTheme.swift:1544-1558 \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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"34271b0a6514eefb015953b83fa5672a5ed5f332cb9c0f371839ad68af5aa23f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 37\u002B corresponding lines): Surround/Models/OGS/OGSChallenge.swift:871-907 | Surround/Models/OGS/OGSChallenge.swift:908-956 | Surround/Models/OGS/OGSChallenge.swift:958-996 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 37 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":"Surround/Models/OGS/OGSChallenge.swift"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"86782850bbcc952bde3db1c6bb5d50ab231fdd31df2b13bcaba40a34427739c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Surround/Components/GameControlRow.swift:739-753 | Surround/Views/GameDetail/GameDetailView.swift:1808-1826 \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":"Surround/Components/GameControlRow.swift"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c722ea758ffefbe10257a24c1be839743215c32653ac38504b68f79618dbe41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ManifestBuilder.swift:421-426 | .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/MetadataOnlyRelease.swift:533-538 | Surround/Models/ProfileBiographyDocument.swift:316-322 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ManifestBuilder.swift"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"35afeb3bc330935e7b40069395f679f5bf9484dc4d859cc406907f6f447e35da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): Surround/Services/SurroundService.swift:166-179 | Surround/Services/SurroundService.swift:181-197 \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":"Surround/Services/SurroundService.swift"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d032fb56d42b7c655280f7260a20e9cd699df312b995a71d0ddefc55b67846"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): Surround/UITesting/SurroundUITestContract.swift:516-527 | Surround/UITesting/SurroundUITestContract.swift:668-685 | Surround/UITesting/SurroundUITestContract.swift:707-724 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/UITesting/SurroundUITestContract.swift"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b95a6ae573e05b799eec47e8826f6509bbaeb11f331ec13d18d65f3faf0e9c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Surround/Views/ActivityListView.swift:604-608 | Surround/Views/PrivateMessagesView.swift:36-41 \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":"Surround/Views/ActivityListView.swift"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf53331894e55e694b733628adf730f1cdda03e792718f6114d32f523992bf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Surround/Services/StackRouter.swift:665-678 | Surround/Views/GameDetail/GameDetailView.swift:1688-1700 \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":"Surround/Services/StackRouter.swift"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4acb60b6ef21187bfdfac21bda8aacff30c66e3c0604aa1e4653efa958b873"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Surround/Components/ActivityRows.swift:245-256 | Surround/Components/ActivityRows.swift:258-268 \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":"Surround/Components/ActivityRows.swift"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf11c7cb80cd9010fd0cde0a88a21710ad5aef670f942726bdd4af71c7aa17c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Surround/Components/ChatLog.swift:92-102 | Surround/Components/PrivateMessageLog.swift:369-379 \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":"Surround/Components/ChatLog.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e316965d4fe8968ab2cd53b6980fc55401260a5a3d7ace79d8240d11d438599e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Surround/Services/StackRouter.swift:140-147 | Surround/Services/StackRouter.swift:236-242 \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":"Surround/Services/StackRouter.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc29586e203202598d3b2dbb27ad36f8d53f4d28fa0eddca01c68ccf8a2294b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Surround/Views/PrivateMessagesView.swift:667-675 | Surround/Views/PrivateMessagesView.swift:676-684 \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":"Surround/Views/PrivateMessagesView.swift"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2838da9a20d1c3f9ddd172872470a3fc2db9fc08d37830eba40096b57ff664"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): Surround/Views/GameDetail/GameDetailPlayers.swift:1109-1115 | Surround/Views/GameDetail/GameDetailPlayers.swift:1119-1125 | Surround/Views/GameDetail/GameDetailPlayers.swift:1128-1135 | Surround/Views/GameDetail/GameDetailPlayers.swift:1141-1146 \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":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfea33b657a38b004fe7c7f87e40b26d914171a93ddceecdd03fe77e631a4263"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Surround/Models/OGS/FinishedGameSummary.swift:157-163 | Surround/Models/OGS/OGSPlayerProfile.swift:84-92 \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":"Surround/Models/OGS/FinishedGameSummary.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf977da4bb37338599638c196690868e4eab7974a2905679eb5a1c936f9ef58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Surround/Services/ActivityResults.swift:265-271 | Surround/Services/ActivityResults.swift:308-314 \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":"Surround/Services/ActivityResults.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"594fa16eb1b09fda4579eb95048b277d73abbcac26cf8996d73567067c8d3db9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Surround/Services/StackRouter.swift:158-165 | Surround/Services/StackRouter.swift:244-251 \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":"Surround/Services/StackRouter.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"39306b348721f1404ba656b6dab223965943068aef6983f5e15820f0180b447f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Surround/Views/GameDetail/GameDetailView.swift:466-474 | Surround/Views/GameDetail/SingleGameView.swift:877-885 \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":"Surround/Views/GameDetail/GameDetailView.swift"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c0093e7b7eebcfd0b165085cb7a2a5612d4d24cd8d3adf7d7730d87a626ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ManifestBuilder.swift:301-306 | .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Support.swift:108-114 \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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ManifestBuilder.swift"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3238c16d5b38885e6f911638bc36ceec87baf4ecace1693ee3a837d53d75bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Surround/Models/OGS/OGSAutomatchEntry.swift:1847-1854 | Surround/Models/OGS/OGSAutomatchEntry.swift:1856-1869 \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":"Surround/Models/OGS/OGSAutomatchEntry.swift"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"4905b94ebe708145a0c03fd839c7bace0e27e563140e6b914ca5200842f3c013"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoAssetLibrary.swift:89-96 | .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoAssetLibraryAdapter.swift:21-27 | .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingService.swift:99-104 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoAssetLibrary.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"716da5580a730d6c030bca935f26d689a133c950e09c6cfe3379d3eca55e8543"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): Surround/Services/ActivityHostSDK.swift:92-100 | Surround/Services/ActivityHostSDK.swift:104-111 | Surround/Services/ActivityHostSDK.swift:114-123 | Surround/Services/ActivityHostSDK.swift:161-172 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/ActivityHostSDK.swift"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd8610f9b6843a432dbc4af84233833422d577a4e3fc64bfcb5cd6ba6e27d00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Surround/Views/DuoTabContainer.swift:262-270 | Surround/Views/IPadTabContainer.swift:233-246 \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":"Surround/Views/DuoTabContainer.swift"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c4ed8ef90d02ff1409dc727754ec97a8bfa3782df6b9062ddfbe3e9716552a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Surround/Views/GameDetail/GameDetailView.swift:1745-1755 | Surround/Views/GameDetail/GameDetailView.swift:1763-1773 | Surround/Views/MainView.swift:39-53 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailView.swift"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"79841590b039dc8a70389e2dc1db3c7bca73bc1dd5135157e1a3ad7fa0a6c5c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Surround/Services/OGSService.swift:54-62 | Surround/Services/OGSService.swift:66-74 \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":"Surround/Services/OGSService.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6dbf99c856c9c205f13bb4faf9dd7d3ba1f347711d9e5f9cd8cb5bbf3a0c69e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Surround/Views/GameDetail/GameDetailClockState.swift:251-256 | Surround/Views/GameDetail/GameDetailClockState.swift:318-322 \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":"Surround/Views/GameDetail/GameDetailClockState.swift"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1bb73c1d78364156177e2b77d474909dca1aa37b9dda7b0e2e8365be04f9f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Support.swift:116-121 | .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Support.swift:123-129 \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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Support.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e18f988aa46dd67c4af6874e0ea8beb0340aa3dcf8a9537d7b49aa2b308c14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Surround/Views/DuoTabContainer.swift:107-116 | Surround/Views/IPadTabContainer.swift:82-88 \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":"Surround/Views/DuoTabContainer.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"068454202005002a7e7f7a0ee105fc373ee15980804f224a151122ed2fbfb169"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift:1579-1584 | .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SnapshotService.swift:548-553 \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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":1579}}}],"partialFingerprints":{"codehealthFindingId/v1":"155b1ca705ffc2be10284c33b78f96622d5cf37198641f2202c4556a2552b2e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift:555-558 | .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingService.swift:93-96 | .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift:1463-1467 \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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"b361cdb0c28ea52aa50e0d2d291ac2f3e0647bb68a55a1aecca8d79fadf01f36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/APIClient.swift:149-151 | .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingService.swift:148-150 \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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/APIClient.swift"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9496f6d1f5e5a1754d06663d71d80b4d762f550b7d1c2a0f332c0b4e42dffb3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/MetadataOnlyRelease.swift:489-491 | .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift:1575-1577 \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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/MetadataOnlyRelease.swift"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab49074d72336adbff38fb17120244a7f9653c4808d76ecdf407088a71797d62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): .github/ci-tools/compose-ios-version-screenshots.swift:11-28 | .github/ci-tools/normalize-app-store-screenshot.swift:10-25 \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":".github/ci-tools/compose-ios-version-screenshots.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6efad22484361dc665d5f215202034209516fe1dbd2c5df101bbc855c6316f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Surround/Models/ActivityModel.swift:434-437 | Surround/Views/GameDetail/GameDetailClockState.swift:15-18 \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":"Surround/Models/ActivityModel.swift"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"121db95eacd7c03edabc95011ddaa9bd9f20b5c47d69268b58edf019806522f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Surround/Models/ChallengeDraft.swift:68-77 | Surround/Views/TimeSystemPickerView.swift:255-264 \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":"Surround/Models/ChallengeDraft.swift"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabeda4c683144fefbb9078a2b9565eada754fe44c1e3a8dfa51a079566b7ccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): Surround/Views/NewGameView.swift:111-144 | Surround/Views/NewGameView.swift:153-186 \u2014 both copies are in the same file, so extract the block 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":"Surround/Views/NewGameView.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf10b5b66228f7689ce5785e99aa9b17dbd7ff8747d079468bf1a35af7490b74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): Surround/Components/InlineTimerView.swift:160-185 | Surround/Components/TimerView.swift:131-156 \u2014 before extracting anything, compare \u0060Surround/Components/InlineTimerView.swift\u0060 and \u0060Surround/Components/TimerView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 64 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":"Surround/Components/InlineTimerView.swift"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e868c6f03797c9c1ba1c41e9e818c3c26929f07c378da4e32b4c53081289c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): Surround/Components/InlineTimerView.swift:204-229 | Surround/Components/TimerView.swift:175-200 \u2014 before extracting anything, compare \u0060Surround/Components/InlineTimerView.swift\u0060 and \u0060Surround/Components/TimerView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 64 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":"Surround/Components/InlineTimerView.swift"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ddc85878513746ca132a79df94776de890e9e896a2b23947f1c0c565294d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Surround/Components/ChatLog.swift:976-1000 | Surround/Components/ChatLog.swift:1006-1030 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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, \u0060Surround/Components/ChatLog.swift:1031\u0060 calls \u0060environment\u0060 and \u0060Surround/Components/ChatLog.swift:1001\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":"Surround/Components/ChatLog.swift"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ea727fbfd6db63a111eb4e1c5c4cf1e6aa3072a8e89b776aac8b59314f0043"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201322 lines \u00D7 3): Surround/Views/TimeSystemPickerView.swift:339-360 | Surround/Views/TimeSystemPickerView.swift:363-384 | Surround/Views/TimeSystemPickerView.swift:388-400 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/TimeSystemPickerView.swift:339\u0060 it begins part-way through the construct above it, so those exact 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":"Surround/Views/TimeSystemPickerView.swift"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"723a46d032606ec9b137d5892c037339c1425c8f551974888d96d33592f0dbaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): Surround/Views/GameDetail/SingleGameView.swift:1367-1387 | Surround/Views/GameDetail/SingleGameView.swift:1392-1412 | Surround/Views/GameDetail/SingleGameView.swift:1417-1437 | Surround/Views/GameDetail/SingleGameView.swift:1442-1462 \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 \u0060Surround/Views/GameDetail/SingleGameView.swift:1367\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/SingleGameView.swift"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1f08de15db80ad2d4275b65146960dc8d797f29b1d331fbce2445efcb6c405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5): Surround/Views/GameDetail/SingleGameView.swift:1365-1383 | Surround/Views/GameDetail/SingleGameView.swift:1390-1408 | Surround/Views/GameDetail/SingleGameView.swift:1415-1433 | Surround/Views/GameDetail/SingleGameView.swift:1440-1458 | Surround/Views/GameDetail/SingleGameView.swift:1465-1483 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/SingleGameView.swift:1365\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/SingleGameView.swift"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"10faa9464578a2f48bcb47a46e63362ee0bdac4759ba29fc82bc40a728bf633c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201316 lines \u00D7 8): Surround/Views/GameDetail/GameDetailTheme.swift:472-487 | Surround/Views/GameDetail/GameDetailTheme.swift:510-512 | Surround/Views/GameDetail/GameDetailTheme.swift:513-526 | Surround/Views/GameDetail/GameDetailTheme.swift:568-583 | Surround/Views/GameDetail/GameDetailTheme.swift:612-626 | Surround/Views/GameDetail/GameDetailTheme.swift:653-667 | Surround/Views/GameDetail/GameDetailTheme.swift:706-720 | Surround/Views/GameDetail/GameDetailTheme.swift:763-777 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:472\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Surround/Views/GameDetail/GameDetailTheme.swift:511\u0060 calls \u0060Color\u0060 and \u0060Surround/Views/GameDetail/GameDetailTheme.swift:510\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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"41769787a6f1731a02d9d10a4e1217712e010c54df83217828e747bc8751aa9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Surround/Components/GameCell.swift:39-54 | Surround/Components/GameCell.swift:70-85 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/GameCell.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e814f49ca70650386d2541e6ecb8ce98e78adab1fcf0911ef7acdb33403d0270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Surround/Views/GameDetail/GameDetailTheme.swift:308-323 | Surround/Views/GameDetail/GameDetailTheme.swift:344-359 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:308\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28476d6c9df68838580ab0070b1b118201b7b027f5e30f2e469712797a67e29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): Surround/Views/GameDetail/GameDetailTheme.swift:1507-1522 | Surround/Views/GameDetail/GameDetailTheme.swift:1578-1592 \u2014 both copies are in the same file, so extract the block 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1507}}}],"partialFingerprints":{"codehealthFindingId/v1":"312d0bcbfe5da3f93dc11c977f2a144af2e2e3700193580b7cbb6e51b455feb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Surround/Components/ChallengeCell.swift:540-554 | Surround/Components/ChallengeCell.swift:660-674 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/ChallengeCell.swift"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ef14f61b6be9e6f7a93622059e52d1deb481b8c0b71efe097f6e42f7022c91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Surround/Models/Core/MoveTree.swift:473-487 | Surround/Models/Core/MoveTree.swift:494-508 \u2014 both copies are in the same file, so extract the block 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":"Surround/Models/Core/MoveTree.swift"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"633568b4f88a417cff737fb1ae808ccfdb524ddd05c6f859673ee2ca248eaacb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): Surround/Services/OGSService.swift:4659-4672 | Surround/Services/OGSService.swift:4723-4736 | Surround/Services/OGSService.swift:4744-4757 | Surround/Services/OGSService.swift:4768-4781 \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 \u0060Surround/Services/OGSService.swift:4659\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact 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, \u0060Surround/Services/OGSService.swift:4767\u0060 calls \u0060JSONParameterEncoder\u0060 and \u0060Surround/Services/OGSService.swift:4722\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":"Surround/Services/OGSService.swift"},"region":{"startLine":4659}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab748aa8a4bd8a59d45eb7d8995f54db912393a8d81ab8b2ef5add9ac0fdfa40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): Surround/Components/GameControlRowMetrics.swift:26-39 | Surround/Components/ProfileBiographyWebView.swift:82-95 | Surround/Views/GameDetail/GameDetailPlayers.swift:1168-1181 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Components/GameControlRowMetrics.swift:26\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/GameControlRowMetrics.swift"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7127f3579ebd42a22f3d3af0ff3e0afbfc6ce2dd4bff86b3e20fa7cfc4ae3df4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): SurroundWidgets/SurroundWidgets.swift:395-408 | SurroundWidgets/SurroundWidgets.swift:425-438 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060SurroundWidgets/SurroundWidgets.swift:395\u0060 it does not close everything it opens, so those exact 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":"SurroundWidgets/SurroundWidgets.swift"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cf773bed6dacef12e43c6781e5e8e3124b9250a244b75d16a5d9279ba10365"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Surround/Models/Core/Game.swift:669-681 | Surround/Models/Core/Game.swift:694-706 \u2014 both copies are in the same file, so extract the block 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":"Surround/Models/Core/Game.swift"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"0666e3005d14c513dee758b73a32738b4dff15064e3e835ab4dcb5c0339b5676"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): Surround/Views/GameDetail/GameDetailView.swift:1836-1848 | Surround/Views/GameDetail/GameDetailView.swift:1850-1860 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailView.swift:1836\u0060 it begins part-way through the construct above it, so those exact 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":"Surround/Views/GameDetail/GameDetailView.swift"},"region":{"startLine":1836}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b2a1f641b1eda0f3dd7c4aad581267b475650aa8be9e741459565b3b252635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 8): Surround/Views/GameDetail/GameDetailTheme.swift:422-433 | Surround/Views/GameDetail/GameDetailTheme.swift:475-484 | Surround/Views/GameDetail/GameDetailTheme.swift:515-523 | Surround/Views/GameDetail/GameDetailTheme.swift:571-580 | Surround/Views/GameDetail/GameDetailTheme.swift:615-623 | Surround/Views/GameDetail/GameDetailTheme.swift:656-664 | Surround/Views/GameDetail/GameDetailTheme.swift:709-717 | Surround/Views/GameDetail/GameDetailTheme.swift:766-774 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c6a1112232c7a2381b6f6c99e4305d01f167430adf26206261e2295e8e5fc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): Surround/Components/InlineTimerView.swift:190-201 | Surround/Components/InlineTimerView.swift:233-243 | Surround/Components/TimerView.swift:161-172 | Surround/Components/TimerView.swift:204-214 \u2014 before extracting anything, compare \u0060Surround/Components/InlineTimerView.swift\u0060 and \u0060Surround/Components/TimerView.swift\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 64 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 \u0060Surround/Components/InlineTimerView.swift:190\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \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":"Surround/Components/InlineTimerView.swift"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35b25cae6e2463ade0a89ff9ee7a9c96fb9fd16acb79c271cf5f9beae66333d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): Surround/Views/GameDetail/GameDetailTheme.swift:192-203 | Surround/Views/GameDetail/GameDetailTheme.swift:231-242 | Surround/Views/GameDetail/GameDetailTheme.swift:266-277 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:192\u0060 it begins part-way through the construct above it, so those exact 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"9043cc9c23a5e7bc9877bbfe58b6add4e338f4a0e0d014cabea814e0f196327c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ReleasePackage.swift:130-141 | .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ReleasePackage.swift:143-154 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060.github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ReleasePackage.swift:130\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ReleasePackage.swift"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f3ffe896cabd67ff4f1929009866506c5f32d2bf71615462358a32ff2abcf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Surround/Services/OGSService.swift:543-554 | Surround/Services/OGSService.swift:714-725 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a8bf0c32db09ab34c2395717096283f64f663d58a6615d03eac2cd5b46d216"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): Surround/Views/GameDetail/GameDetailTheme.swift:1446-1455 | Surround/Views/GameDetail/GameDetailTheme.swift:1922-1933 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:1446\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"010eac9a0fb8a2195fd8da698958403982fb4a056fc867cfa583d3f525e72b65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Surround/Components/ChallengeCell.swift:153-163 | Surround/Components/ChallengeCell.swift:176-186 | Surround/Components/ChallengeCell.swift:200-210 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Components/ChallengeCell.swift:153\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/ChallengeCell.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d8ae8b8e4af5238bf8c32dcc12d2c23c39a974fdd175a0e362796ed982615f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Surround/Components/ChatLog.swift:927-937 | Surround/Components/ChatLog.swift:939-949 | Surround/Components/ChatLog.swift:951-961 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Components/ChatLog.swift:927\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/ChatLog.swift"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"d586a5ce7c83c32ba1400cf281789be7e29733a73c657382851ca576351e3236"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Surround/Views/GameDetail/GameDetailTheme.swift:3733-3743 | Surround/Views/GameDetail/GameDetailTheme.swift:3938-3948 | Surround/Views/GameDetail/GameDetailTheme.swift:4016-4026 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:3733\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":3733}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6ca774ee1f183470e4cdaeca037d0cf2e890b192c252dab6585e87407aa915"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): Surround/Views/DuoTabContainer.swift:396-406 | Surround/Views/IPadTabContainer.swift:400-407 \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 \u0060Surround/Views/DuoTabContainer.swift:396\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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, \u0060Surround/Views/DuoTabContainer.swift:395\u0060 calls \u0060setSidebarTransitionInProgress\u0060 and \u0060Surround/Views/IPadTabContainer.swift:399\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":"Surround/Views/DuoTabContainer.swift"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c07c17f108a018c1f10139dc6dcae8ad3b43fae777c07a2b4c0a2aa00347d0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): Surround/Views/GameDetail/GameDetailTheme.swift:3671-3680 | Surround/Views/GameDetail/GameDetailTheme.swift:3740-3749 | Surround/Views/GameDetail/GameDetailTheme.swift:3838-3847 | Surround/Views/GameDetail/GameDetailTheme.swift:3945-3954 | Surround/Views/GameDetail/GameDetailTheme.swift:4023-4032 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:3671\u0060 it begins part-way through the construct above it, so those exact 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, \u0060Surround/Views/GameDetail/GameDetailTheme.swift:3686\u0060 calls \u0060ChristmasKeepsakesWindowLight\u0060 and \u0060Surround/Views/GameDetail/GameDetailTheme.swift:3750\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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":3671}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6b6539393bc4efe7350416e363a436828d30141be70c56c845f759ced02b0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SnapshotService.swift:126-135 | .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SnapshotService.swift:137-146 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060.github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SnapshotService.swift:126\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SnapshotService.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e541bcec96c5bc42009f404f775b55a2c5163f1d9052d8618960adab5be18436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Surround/Views/GameDetail/GameDetailTheme.swift:1531-1540 | Surround/Views/GameDetail/GameDetailTheme.swift:1612-1621 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:1531\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"60622d7a8ea6d1c5a8159b64b87aa8409c02c66b241cd87927bebabfc15553ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Surround/Views/GameDetail/SingleGameView.swift:888-897 | Surround/Views/WelcomeView.swift:112-120 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/SingleGameView.swift:888\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact 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":"Surround/Views/GameDetail/SingleGameView.swift"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"32376c43854616e123775618a77bf803a6c2f10f897258cef893855b65d32e02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): Surround/Components/ChatLog.swift:929-937 | Surround/Components/ChatLog.swift:941-949 | Surround/Components/ChatLog.swift:953-961 | Surround/Components/ChatLog.swift:1039-1047 \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 \u0060Surround/Components/ChatLog.swift:929\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/ChatLog.swift"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5ac2958bdc07ea04d4d5dce6d7172d25384bb215ff03bf89d530ab90b3b4f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Surround/Views/GameDetail/GameDetailView.swift:1838-1847 | Surround/Views/GameDetail/GameDetailView.swift:1852-1860 | Surround/Views/GameDetail/GameDetailView.swift:1864-1872 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailView.swift:1838\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"Surround/Views/GameDetail/GameDetailView.swift"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"693ac436a24809ea2bb20ae57f92b005bc5c8ad4656827a06f2fc26abaf7cfdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): Surround/Views/TimeSystemPickerView.swift:329-336 | Surround/Views/TimeSystemPickerView.swift:353-360 | Surround/Views/TimeSystemPickerView.swift:377-385 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/TimeSystemPickerView.swift"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13330d25ee2a5d070d8c57eb5e5d109984f8bc3092465902d51bb67633eb851"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SnapshotService.swift:410-416 | .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SnapshotService.swift:427-435 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060.github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SnapshotService.swift:410\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SnapshotService.swift"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a39e72d0aea63c7f79bb7fab69d72f4268b79111cc8d460a11f5c03d70f5ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Surround/Models/OGS/OGSAutomatchEntry.swift:286-297 | Surround/Services/OGSService.swift:486-494 \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 \u0060Surround/Models/OGS/OGSAutomatchEntry.swift:286\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/OGS/OGSAutomatchEntry.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4210cc253d068b8cca2b122025039eba11fdddb2199556a3f6d5246dac6d538"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): Surround/Services/OGSService.swift:2385-2393 | Surround/Services/OGSService.swift:2451-2458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Services/OGSService.swift:2385\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":2385}}}],"partialFingerprints":{"codehealthFindingId/v1":"a086af942df9f7847ddd4eaa86af84e7cad7ae13e1c3f24946877e5f10ddf25c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Surround/Views/DuoTabContainer.swift:543-551 | Surround/Views/IPadTabContainer.swift:577-585 \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 \u0060Surround/Views/DuoTabContainer.swift:543\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/DuoTabContainer.swift"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ed3e724df42f971151724c9778a4f29fef6dde6557cb4772c648cd19b25461"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20139 lines \u00D7 2): Surround/Views/GameDetail/GameDetailTheme.swift:409-417 | Surround/Views/GameDetail/GameDetailTheme.swift:646-650 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:409\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c0a82a8dc13d9624d1487d61ec2e06265664a2538ba1e2a1a2296152d8e440"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Surround/Views/GameDetail/GameDetailTheme.swift:1815-1825 | Surround/Views/GameDetail/GameDetailTheme.swift:1832-1842 \u2014 both copies are in the same file, so extract the block 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"512e5c042ea85529ea4075b2c799070a59b28f51293322ff0f4460af85176c22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Surround/Views/GameDetail/GameDetailView.swift:297-305 | Surround/Views/GameDetail/GameDetailView.swift:350-358 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailView.swift:297\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it 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":"Surround/Views/GameDetail/GameDetailView.swift"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7ae7418d4483a5c8264bc06123ff321ae8f413a2367c9f234975eaf1cc54b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Surround/Components/ChristmasKeepsakeSurfaces.swift:188-195 | Surround/Components/FeltControlSurface.swift:113-120 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Components/ChristmasKeepsakeSurfaces.swift:188\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/ChristmasKeepsakeSurfaces.swift"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a2be9ee85bc8c039593395bacd4bc07b0b65e59bc30a7817a9ee8a8132486f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Surround/Components/HomeGameCard.swift:365-374 | Surround/Components/HomeGameCard.swift:613-620 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Components/HomeGameCard.swift:365\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/HomeGameCard.swift"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d479659146ca966c86f057f020aeed62cc0d6f75aefbba988734077d55b414f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Surround/Services/OGSService.swift:4228-4235 | Surround/Services/OGSService.swift:4241-4248 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Services/OGSService.swift:4228\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":4228}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f31b53c64a280945411f78bed961d3de7e7f066e0500e11d631edce8756ebe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): Surround/Services/OGSService.swift:4686-4693 | Surround/Services/OGSService.swift:4786-4792 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Services/OGSService.swift:4686\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/OGSService.swift"},"region":{"startLine":4686}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c546db74244248b7f5dd7283d00b7646ce2ca29d94abd151448c587e2451ba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): Surround/Services/SurroundNotificationService.swift:113-119 | Surround/Services/SurroundNotificationService.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 \u0060Surround/Services/SurroundNotificationService.swift:121\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/SurroundNotificationService.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c094917cc213d9e0dd6158f35f5e78f80bcc7754cc9c32aa5a994a9cb53e6c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20138 lines \u00D7 3): Surround/Views/GameDetail/GameDetailTheme.swift:252-255 | Surround/Views/GameDetail/GameDetailTheme.swift:290-297 | Surround/Views/GameDetail/GameDetailTheme.swift:328-333 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:252\u0060 it does not close everything it opens, so those exact 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, \u0060Surround/Views/GameDetail/GameDetailTheme.swift:298\u0060 calls \u0060Color\u0060 and \u0060Surround/Views/GameDetail/GameDetailTheme.swift:256\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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca8831bfb4a19436cdbb6e3b37a4a31381f00012f0e0e786a09595f55a620e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): Surround/Views/GameDetail/GameDetailTheme.swift:503-509 | Surround/Views/GameDetail/GameDetailTheme.swift:694-701 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:503\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"1134ab0aa321e9a4fa27d594a0f9d8d04fa2481490fdd3610e70d55540032a49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): Surround/Views/GameDetail/GameDetailTheme.swift:544-551 | Surround/Views/GameDetail/GameDetailTheme.swift:639-644 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:544\u0060 it does not close everything it opens, so those exact 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea048f2626d7d05013aa01c3a513064b489d7ac9044337f1f59ce35cd3189c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Surround/Views/GameDetail/GameDetailTheme.swift:600-607 | Surround/Views/GameDetail/GameDetailTheme.swift:749-756 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:600\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"76154595cd7426bb3318f5c6d1c28c997e572b398e64e79be82e47174f774422"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Surround/Views/GameDetail/GameDetailTheme.swift:3721-3728 | Surround/Views/GameDetail/GameDetailTheme.swift:3928-3935 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:3721\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":3721}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16b8d94d43e3916983d64230a83c58ace89fd33975f82bb575bcc474e3fbd48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 3): Surround/Views/GameDetail/GameDetailTheme.swift:264-269 | Surround/Views/GameDetail/GameDetailTheme.swift:307-313 | Surround/Views/GameDetail/GameDetailTheme.swift:343-349 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:264\u0060 it begins part-way through the construct above it, so those exact 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, \u0060Surround/Views/GameDetail/GameDetailTheme.swift:314\u0060 calls \u0060Color\u0060 and \u0060Surround/Views/GameDetail/GameDetailTheme.swift:270\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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d16c5311c3dc5aab5eade7d809fcc29bc6da6be45ffab0dfa2d9c6ca7c9c0d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 4): Surround/Views/GameDetail/GameDetailTheme.swift:1783-1784 | Surround/Views/GameDetail/GameDetailTheme.swift:1816-1822 | Surround/Views/GameDetail/GameDetailTheme.swift:1833-1839 | Surround/Views/GameDetail/GameDetailTheme.swift:1852-1858 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Surround/Views/GameDetail/GameDetailTheme.swift:1784\u0060 calls \u0060Color\u0060 and \u0060Surround/Views/GameDetail/GameDetailTheme.swift:1858\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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d94461690b0c8510044bdfaeeffca61c4aaaba7ea51a94b2826b80c232d605d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 4): Surround/Views/GameDetail/GameDetailTheme.swift:3722-3728 | Surround/Views/GameDetail/GameDetailTheme.swift:3822-3825 | Surround/Views/GameDetail/GameDetailTheme.swift:3929-3935 | Surround/Views/GameDetail/GameDetailTheme.swift:3993-4001 \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 \u0060Surround/Views/GameDetail/GameDetailTheme.swift:3722\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Surround/Views/GameDetail/GameDetailTheme.swift:3728\u0060 calls \u0060colorMultiply\u0060, \u0060Color\u0060 and \u0060Surround/Views/GameDetail/GameDetailTheme.swift:3825\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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":3722}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e13de893256c0cc30d685fdd6429812ffdebe574aafa9d003913abddd3b13b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Surround/Components/GameCell.swift:360-366 | Surround/Components/GameCell.swift:371-377 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Components/GameCell.swift:360\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/GameCell.swift"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79f535763909ce150f30fdd1185689d867af7add038f9e88212db8453e06559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Surround/Models/OGS/OGSAutomatchEntry.swift:726-732 | Surround/Models/OGS/OGSAutomatchEntry.swift:741-747 \u2014 both copies are in the same file, so extract the block 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":"Surround/Models/OGS/OGSAutomatchEntry.swift"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"527eed5dc653e1c9c12c75a503498c4afbaadd0ba4e1ed4f222b27ad7b34a330"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Surround/Services/ActivityHostSDK.swift:252-259 | Surround/Views/MessagesFoldLayout.swift:33-40 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Services/ActivityHostSDK.swift:252\u0060 it begins part-way through the construct above it, so those exact 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":"Surround/Services/ActivityHostSDK.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"39984f7663420d78a943afa8dd63f63547182a99ce665eb7dc02bf6258850778"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Surround/Views/CustomGameForm.swift:281-287 | Surround/Views/UserSelectionView.swift:89-95 \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":"Surround/Views/CustomGameForm.swift"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda7da67fcda83e4c3d6706260e471008152926f2637bb9d50a82cce679820eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 3): Surround/Views/GameDetail/GameDetailTheme.swift:260-263 | Surround/Views/GameDetail/GameDetailTheme.swift:299-305 | Surround/Views/GameDetail/GameDetailTheme.swift:335-341 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:260\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Surround/Views/GameDetail/GameDetailTheme.swift:305\u0060 calls \u0060Color\u0060 and \u0060Surround/Views/GameDetail/GameDetailTheme.swift:263\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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"64025ef855a793d1696c0dd08a9f33dda5d7bbc1706ffd4889eac9c9acaf48d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Surround/Views/GameDetail/GameDetailTheme.swift:1390-1396 | Surround/Views/GameDetail/GameDetailTheme.swift:1416-1422 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:1390\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1390}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b807233bd82ce6f1ebf79f89aec6443e229b3b757c16fd24953565ed34cfaa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Surround/Views/GameDetail/GameDetailTheme.swift:4464-4471 | Surround/Views/GameDetail/GameDetailTheme.swift:4503-4510 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:4464\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":4464}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8cbc06a01bb04a807aa3353422e8f704d42f6529217bec6c90fb732752afcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Surround/Views/GameDetail/GameDetailTheme.swift:602-607 | Surround/Views/GameDetail/GameDetailTheme.swift:645-650 | Surround/Views/GameDetail/GameDetailTheme.swift:751-756 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:602\u0060 it begins part-way through the construct above it, so those exact 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, \u0060Surround/Views/GameDetail/GameDetailTheme.swift:601\u0060 calls \u0060Color\u0060, \u0060opacity\u0060 and \u0060Surround/Views/GameDetail/GameDetailTheme.swift:644\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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"364e1ce3bdab7919b3623790c0b4c754fc8de072b8484874a1d61ef12805facf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SelectedReleaseHandoff.swift:232-237 | .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SelectedReleaseHandoff.swift:262-267 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060.github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SelectedReleaseHandoff.swift:232\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SelectedReleaseHandoff.swift"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d48ebf5847f5cd2c45ecf22660c5972cc6be2ef4165fbf53abd8288b89f81fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Surround/Components/PlayerProfileRatings.swift:136-142 | Surround/Components/PlayerProfileRatings.swift:162-168 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Components/PlayerProfileRatings.swift:136\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/PlayerProfileRatings.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"914339d31dde56fe4d02fe124087c6d2e2719e97211f9adc0598e2ce489da4ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Surround/Models/OGS/FinishedGameSummary.swift:158-163 | Surround/Models/OGS/OGSPlayerProfile.swift:85-92 \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":"Surround/Models/OGS/FinishedGameSummary.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d99898a0b8421c88c4f98431ea7f7f3a54fd5954553769e22310d3cef9c881e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Surround/Services/SurroundNotificationService.swift:25-30 | SurroundWidgets/SurroundWidgets.swift:126-131 \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 \u0060Surround/Services/SurroundNotificationService.swift:25\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/SurroundNotificationService.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1708fe71b82d67d04ef016451a375a7593122aed1887609840f4c2be0f9274"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Surround/Views/DuoTabContainer.swift:292-298 | Surround/Views/IPadTabContainer.swift:299-304 \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 \u0060Surround/Views/DuoTabContainer.swift:292\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"Surround/Views/DuoTabContainer.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"7514ced0f154a96703a508db8438480d9ea9886565c3f71f38d1224d503156c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Surround/Views/GameDetail/GameDetailTheme.swift:4392-4399 | Surround/Views/GameDetail/GameDetailTheme.swift:4551-4558 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:4392\u0060 it begins part-way through the construct above it, so those exact 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, \u0060Surround/Views/GameDetail/GameDetailTheme.swift:4401\u0060 calls \u0060FrostPineShadowMask\u0060 and \u0060Surround/Views/GameDetail/GameDetailTheme.swift:4559\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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":4392}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87615295d7e3b6f702a5c95fd664f935df9437e03bb7238dee4d97df35deeb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): Surround/Views/GameDetail/GameDetailTheme.swift:797-803 | Surround/Views/GameDetail/GameDetailTheme.swift:880-886 | Surround/Views/GameDetail/GameDetailTheme.swift:1082-1088 | Surround/Views/GameDetail/GameDetailTheme.swift:1132-1138 | Surround/Views/GameDetail/GameDetailTheme.swift:1183-1189 | Surround/Views/GameDetail/GameDetailTheme.swift:1235-1241 | Surround/Views/GameDetail/GameDetailTheme.swift:2237-2243 | Surround/Views/GameDetail/GameDetailTheme.swift:2555-2561 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"882ad4e39ff401dd9d49c37d1c2059e5b7d79fcb474a8bc0e743ce4f7cb4a2d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): Surround/Views/GameDetail/GameDetailTheme.swift:450-456 | Surround/Views/GameDetail/GameDetailTheme.swift:498-502 | Surround/Views/GameDetail/GameDetailTheme.swift:545-551 | Surround/Views/GameDetail/GameDetailTheme.swift:596-600 | Surround/Views/GameDetail/GameDetailTheme.swift:689-693 | Surround/Views/GameDetail/GameDetailTheme.swift:745-749 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:450\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Surround/Views/GameDetail/GameDetailTheme.swift:554\u0060 calls \u0060Color\u0060 and \u0060Surround/Views/GameDetail/GameDetailTheme.swift:459\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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"6308694b1e247d5cc05fc8cd481f8c3fa56f261e35b42bd4aa0126f3e2378626"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): Surround/Views/GameDetail/GameDetailTheme.swift:196-200 | Surround/Views/GameDetail/GameDetailTheme.swift:235-239 | Surround/Views/GameDetail/GameDetailTheme.swift:270-274 | Surround/Views/GameDetail/GameDetailTheme.swift:315-319 | Surround/Views/GameDetail/GameDetailTheme.swift:351-355 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Surround/Views/GameDetail/GameDetailTheme.swift:321\u0060 calls \u0060Color\u0060 and \u0060Surround/Views/GameDetail/GameDetailTheme.swift:202\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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22d4ea1751a3e44305215abbbf467085b69e4a0a37a59b524be6d4deeec6ffb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Surround/Views/GameDetail/GameDetailTheme.swift:179-183 | Surround/Views/GameDetail/GameDetailTheme.swift:210-214 | Surround/Views/GameDetail/GameDetailTheme.swift:244-248 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"544bcfe65a9b1b309c6a5e7157af11579e5694536a2c7cb21eca8c2c49e0bb7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Surround/Views/GameDetail/GameDetailTheme.swift:408-416 | Surround/Views/GameDetail/GameDetailTheme.swift:505-509 | Surround/Views/GameDetail/GameDetailTheme.swift:696-701 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:408\u0060 it begins part-way through the construct above it, so those exact 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f46f417079897bdb5182a4443961c0349527bd7765656da88927ee4af479c97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoExecutionJournal.swift:176-180 | .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoExecutionJournal.swift:197-201 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060.github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoExecutionJournal.swift:176\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoExecutionJournal.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cecdfe77f9681b62c82e792a5329a5f3a04f40109a747558278b0ba56870f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Surround/Components/ChatLog.swift:306-312 | Surround/Components/PrivateMessageLog.swift:450-454 \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 \u0060Surround/Components/ChatLog.swift:306\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"Surround/Components/ChatLog.swift"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"4885ff96a07d7ed566eacbb66d41b0e9cc954c705cb2bdec3bd2767ae93b747a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Surround/Models/OGS/OGSChallenge.swift:903-907 | Surround/Models/OGS/OGSChallenge.swift:952-956 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Models/OGS/OGSChallenge.swift:903\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact 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":"Surround/Models/OGS/OGSChallenge.swift"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cac71cec7d416ac7c05a5f628f05f0d5f25d6d2d64d11d74108d02f346be4df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Surround/Views/GameDetail/GameDetailTheme.swift:1750-1759 | Surround/Views/GameDetail/GameDetailTheme.swift:2020-2029 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:1750\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"8816786f37df1eda46b6c07a289a5a3794dfd171275ba456f87f03ffe4cc9fdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Surround/Views/GameDetail/GameDetailTheme.swift:1803-1809 | Surround/Views/GameDetail/GameDetailTheme.swift:1867-1873 \u2014 both copies are in the same file, so extract the block 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd178eb4c252f63aca3266d954a6db4f0c82100f1f1fed69ef17924d97bd492"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Surround/Views/GameDetail/GameDetailTheme.swift:2433-2441 | Surround/Views/GameDetail/GameDetailTheme.swift:2687-2695 \u2014 both copies are in the same file, so extract the block 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":2433}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac9f03db0c4327c0aa7d494c27b29ba41902bbebfae66b26e7ff69444ea87de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Surround/Models/ChallengeDraft.swift:56-66 | Surround/Views/TimeSystemPickerView.swift:243-253 \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":"Surround/Models/ChallengeDraft.swift"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8d654da00936a9582c1d5fed27cbcbbdd047dc92c9a641afa7cf8539212d9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Surround/Models/OGS/OGSAutomatchEntry.swift:576-582 | Surround/Services/OGSService.swift:584-590 \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":"Surround/Models/OGS/OGSAutomatchEntry.swift"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b612f00e1f555358c51957cb46d979712e0601e94bacb3e60707fa52d0d931f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Surround/Views/DuoTabContainer.swift:32-40 | Surround/Views/IPadTabContainer.swift:23-28 \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":"Surround/Views/DuoTabContainer.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9894fd0448ede85d50250f6d2b0a4f8c1955511cc515d88d22e7111d39068355"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Surround/Views/DuoTabContainer.swift:503-507 | Surround/Views/IPadTabContainer.swift:511-515 \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":"Surround/Views/DuoTabContainer.swift"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d44cab47991f721da9efc5f88feaa0ccfb074764bf245630a64514e2d3d9af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Surround/Views/DuoTabContainer.swift:608-613 | Surround/Views/IPadTabContainer.swift:620-625 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Surround/Views/IPadTabContainer.swift:618\u0060 calls \u0060private\u0060 and \u0060Surround/Views/DuoTabContainer.swift:606\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":"Surround/Views/DuoTabContainer.swift"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"4327ea542905be9923bdbc1dcb02a2c55b9f5ca48b5895a5b5d0d00d0659d7b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ImageValidation.swift:28-34 | .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ImageValidation.swift:134-140 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060.github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ImageValidation.swift:28\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ImageValidation.swift"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65581238bcb2cfe15bc210390f3d62ca331a4c8971524042f8d1672749d0d82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Surround/Components/BoardView.swift:1067-1071 | Surround/Components/BoardView.swift:1072-1076 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/BoardView.swift"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"7758a7093ecb6d1611d12e450367f3b82556223ea53d5c70ccb909f98a448731"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Surround/Services/SurroundNotificationService.swift:138-142 | Surround/Services/SurroundNotificationService.swift:183-187 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Services/SurroundNotificationService.swift:138\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/SurroundNotificationService.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f564d0f7e0d758fbb07c7aaf26bffb233e15b9922f990893f92d8e2c6649bdf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Surround/Views/DuoTabContainer.swift:431-435 | Surround/Views/IPadTabContainer.swift:440-444 \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":"Surround/Views/DuoTabContainer.swift"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c98c25c884567716ac5beeb1245b1bb22f5ea0c41fde2dc5d9282ba0b224432"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Surround/Views/GameDetail/GameDetailTheme.swift:1651-1655 | Surround/Views/GameDetail/GameDetailTheme.swift:1659-1663 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b322a75441b05e41ea382281bc147b64b9c766176ec3610e5c43ea20fe547f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Surround/Views/GameDetail/GameDetailTheme.swift:4337-4342 | Surround/Views/GameDetail/GameDetailTheme.swift:4530-4535 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/Views/GameDetail/GameDetailTheme.swift:4337\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":4337}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74cda5cd049d7ed5d9455a6946953f3d608613049dc3920076916b349f68547"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): .github/ci-tools/diagnose-ipad-animation-stalls.py:373-384 | .github/ci-tools/supervise-ipad-ui-test-part.py:398-409 \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":".github/ci-tools/diagnose-ipad-animation-stalls.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b1a1588d6d712a826fe8591a295753ead508f3657e125e5483d24b9854d653"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): .github/ci-tools/validate-localizations.py:698-708 | .github/ci-tools/validate-localizations.py:709-719 \u2014 both copies are in the same file, so extract the block 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":".github/ci-tools/validate-localizations.py"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"c049baeed8304adc7870388082a7bbfb3016ff7487eaec8ff6e8657a0b886487"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): .github/ci-tools/diagnose-ipad-animation-stalls.py:439-446 | .github/ci-tools/supervise-ipad-ui-test-part.py:815-822 \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":".github/ci-tools/diagnose-ipad-animation-stalls.py"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae8c5f1422cedcecf29ebe8eb41cba9baa03416c0401681ead224533d14c1af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): .github/ci-tools/validate-localizations.py:643-647 | .github/ci-tools/validate-localizations.py:654-658 \u2014 both copies are in the same file, so extract the block 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":".github/ci-tools/validate-localizations.py"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a64c3b45910f5b4e2c61fcc6671c5ff1a85a1fb35271405f334996139e61ae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): Surround/UITesting/OGSService\u002BFixtures.swift:292-345 | Surround/UITesting/OGSService\u002BFixtures.swift:380-432 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/UITesting/OGSService\u002BFixtures.swift"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b6b4237964ec9f3cf92d61d41fd2e5c5b8153f0f275b91eb38c81f4334b494"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): Surround/UITesting/OGSService\u002BFixtures.swift:347-378 | Surround/UITesting/OGSService\u002BFixtures.swift:456-479 \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":"Surround/UITesting/OGSService\u002BFixtures.swift"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6cbe27ad49e2749572fcd53ab4109a428ad34149355756dd35f0ad3ed3a1d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): Surround/UITesting/OGSService\u002BFixtures.swift:293-320 | Surround/UITesting/OGSService\u002BFixtures.swift:381-408 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/UITesting/OGSService\u002BFixtures.swift:293\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/UITesting/OGSService\u002BFixtures.swift"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"0790d90ab1c50fe881f1da2f0099871647134b23e77250b9169355920885f56d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Surround/UITesting/OGSService\u002BFixtures.swift:3685-3704 | Surround/UITesting/OGSService\u002BFixtures.swift:3800-3819 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/UITesting/OGSService\u002BFixtures.swift:3685\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it 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":"Surround/UITesting/OGSService\u002BFixtures.swift"},"region":{"startLine":3685}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1c3ba729a0ae7e01c94c5f4f3cbc09d03992ccc0d0c5a39c464c9d2d63b810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Surround/UITesting/OGSService\u002BFixtures.swift:3693-3711 | Surround/UITesting/OGSService\u002BFixtures.swift:3764-3782 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/UITesting/OGSService\u002BFixtures.swift:3693\u0060 it begins part-way through the construct above it, so those exact 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, \u0060Surround/UITesting/OGSService\u002BFixtures.swift:3761\u0060 calls \u0060simple\u0060 and \u0060Surround/UITesting/OGSService\u002BFixtures.swift:3690\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":"Surround/UITesting/OGSService\u002BFixtures.swift"},"region":{"startLine":3693}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c739778736201b4ef5a7a4a14a16dbfcc5313c6f8f62124436bfea487e22075"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Surround/UITesting/OGSService\u002BFixtures.swift:2238-2248 | Surround/UITesting/OGSService\u002BFixtures.swift:2346-2356 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Surround/UITesting/OGSService\u002BFixtures.swift:2238\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/UITesting/OGSService\u002BFixtures.swift"},"region":{"startLine":2238}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e69d21be777693ea8ad4fea0cf1c429e88819cd60163484dfe60914b244084"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SystemPlatformServices (LCOM4 9): SystemPlatformServices\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":"Surround/Services/PlatformServices.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"717811f9c06cfc821d7eaf5907318ddcda2416763e100821020cde3b40ba10e9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NavigationService (LCOM4 6): NavigationService\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":"Surround/Services/NavigationService.swift"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aeacc5dbef1e4d8fae8e7f263474c3b62f4c40b50066203a41189b3e49481d5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OGSService (LCOM4 4): OGSService\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":"Surround/Services/OGSService.swift"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c760069219341ce5f35afdec04086e4b9fd97884815f201e6eac49e37ec2781"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DuoTabContext (LCOM4 4): DuoTabContext\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":"Surround/Views/DuoTabContainer.swift"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3fdc11e51b47232e3560e999da079d58c9cda73b04ab7e8c58de689d8703a9"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testCompleteLiveGameBetweenTwoPlayers: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SurroundBetaTests/OGSBetaGamePlayTests.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7a57aa532150937b89868d9bd56db1c6c3d7d50918348ebc58a634a40f0ba0"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testOnReceiveRunsInsideThePublishBeforeTheNextMainQueueTurn: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SurroundTests/ActivityResultsTests.swift"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4aaf6209a0420498785d556c921d8d7e3ccc5550fba2ed754e383b184d753b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: testOnlyReleasedThemesShipTheirArt: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"SurroundTests/SurroundThemeTests.swift"},"region":{"startLine":1987}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bba9c41794b66b02cbbcb19048592f147ac5c1e9888a3d43f38599b55a67491"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCapture: 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":"SurroundTests/BoardPositionTests.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"95765091b9cf11914427cf755962811d01ca0977020a690244b66197c053336c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSmallMediumAndLargeSparseLayouts: 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":"SurroundTests/CorrespondenceWidgetGridLayoutTests.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"528d2750b78a1fa033b593ccdb41b04c6e83a8e74d0c554c5282ed3da9e8be74"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExtraLargeFiveAndSixGamesUseThreeByTwo: 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":"SurroundTests/CorrespondenceWidgetGridLayoutTests.swift"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f2c57645a3f306c8e2d59f906988aad9788e684ecf695bd71183e57606d7ba"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExplicitNullAndMalformedFlagsAreRejectedByBothDecoders: 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":"SurroundTests/OGSGameCompatibilityTests.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde2d0a086fe78f28bae725e84d0d23aeb4f573b90ca6e28921e08ff9e308297"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testRequiredGameFieldsRemainRequiredAndTypedWithBothDecoders: 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":"SurroundTests/OGSGameCompatibilityTests.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca892ede3092d8c1b13c1b10c410cf24fe6b6308c4f6f7930343b63c94cc41ff"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNullMalformedAndPartialMembershipIsRejectedByBothDecoders: 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":"SurroundTests/OGSPlayerUpdateCompatibilityTests.swift"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a440a535a5d166ff1f219d7b8b55168c4b2027aacf0294cc914b33374d0a6ffb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGenuineRengoRejectsMissingOrEmptyMoveMembershipWithBothDecoders: 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":"SurroundTests/OGSPlayerUpdateCompatibilityTests.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"26abe55e9da8e902dfa51ff75e1c03347081e0c02474c0b4bcaad377cdce4717"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFrostPineAppearanceAndAnalysisStayReadable: 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":"SurroundTests/SurroundThemeTests.swift"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"e464104b3e1fc3cd3dd0723073e625f3a7159c5a4c581171f5d0b7a114e831d8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGardenNightStonesGridAndMarksRemainReadable: 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":"SurroundTests/SurroundThemeTests.swift"},"region":{"startLine":2177}}}],"partialFingerprints":{"codehealthFindingId/v1":"2802539964d0abf2a711e8466259f1e9663889ab32d85fef5fdea5126610c9fb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testStudioNightStonesGridAndMarksRemainReadable: 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":"SurroundTests/SurroundThemeTests.swift"},"region":{"startLine":2181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7af2209403c4d25c976473a7b812d711fe7ede7d252a4f8b74f7ae67f888638"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGardenNightAnalysisMarksRemainReadable: 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":"SurroundTests/SurroundThemeTests.swift"},"region":{"startLine":2214}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bb9be8eb1117dd40c455a71f3b3c450019ca523283f62d291d3920ca9c5789"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testStudioNightAnalysisMarksRemainReadable: 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":"SurroundTests/SurroundThemeTests.swift"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a45b91d4a9ab364222b71d4addf33b2eef76c9c68621f2bf68cfe6cbc2ae43"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFeltMeadowNightAnalysisMarksRemainReadable: 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":"SurroundTests/SurroundThemeTests.swift"},"region":{"startLine":2222}}}],"partialFingerprints":{"codehealthFindingId/v1":"932a56d1a370b76fce3e7a092d7ae40b730b9d1fe58c7aaa63e83868d493554e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGardenNightControlFallbacksKeepReadableTextAndRoles: 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":"SurroundTests/SurroundThemeTests.swift"},"region":{"startLine":3132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2070064d66f583de7d0fdeb648409e30fa362a6b8fafe2b100db7c796a01c64"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testStudioNightControlFallbacksKeepReadableTextAndRoles: 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":"SurroundTests/SurroundThemeTests.swift"},"region":{"startLine":3136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3cb2aa5c3d714d51a087e4e4fed1bf2d9a564962fefa3aef62361aa3979c5e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFeltMeadowNightControlFallbacksKeepReadableTextAndRoles: 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":"SurroundTests/SurroundThemeTests.swift"},"region":{"startLine":3140}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe5952446ea72f1932e6cc1705f1f0f40e2645b8a374f69592262fe78a7abb1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testGardenAdaptiveColorsFollowRepeatedTraitChanges: 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":"SurroundTests/SurroundThemeTests.swift"},"region":{"startLine":3196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b119a475cb8c25f8a7b337ca5c444f2eb48c127b188af4145f65291b23f72841"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testFeltMeadowAdaptiveColorsFollowRepeatedTraitChanges: 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":"SurroundTests/SurroundThemeTests.swift"},"region":{"startLine":3200}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04521829f7bfea514957f6f47b544d8e1d3250a860c894e4446ca5b45718e8c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInferredSpeedForFischer: 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":"SurroundTests/TimeControlTests.swift"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee6da5c12d7aa3708e886fbddabe78ec93cdff5962972f909a546efb34e4d8d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInferredSpeedForByoYomi: 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":"SurroundTests/TimeControlTests.swift"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4c59bb89b1625519f3c5d81c879d2ec969a24afaeea67106c5c5823e56d072"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInferredSpeedForSimple: 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":"SurroundTests/TimeControlTests.swift"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e73bd2e96ed4a27c8f3ca03cab5bda1f5ca41a2464b977dad981a41c7f48a86"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInferredSpeedForCanadian: 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":"SurroundTests/TimeControlTests.swift"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e78db141e9a0e5b7dfa7c28d9989500c2b33ee762942aed83cdbdc9b3913303"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInferredSpeedWithoutBoardSizeAssumesNinetyMovesPerPlayer: 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":"SurroundTests/TimeControlTests.swift"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"367458759ddea5748b18a811c77812a4d6e90928589835d5ad909f95d6a2fed2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testInferredSpeedForNoAndUnknownTimeControl: 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":"SurroundTests/TimeControlTests.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b92e6341580fc2b474588f8363ace5921bff578746cde5b35f9581c2039567d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCompletedResumeStillRejectsExternalScreenshotOrderDrift: 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":".github/ci-tools/AppStoreConnectTool/Tests/ASCReleaseCoreTests/NormalEfficiencyTests.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"327ef0eeae6798b7fd556796651aa0db78de89836e08df34e08e3e0bffb0edad"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testCompletedResumeStillRejectsExternalSetIdentityDrift: 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":".github/ci-tools/AppStoreConnectTool/Tests/ASCReleaseCoreTests/NormalEfficiencyTests.swift"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7c3cb184b82b33ca23f5b9f7c566428f1e5fe4f7ce06f4550d6320c82d76d2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNewLanguageRequiresSubtitle: 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":".github/ci-tools/AppStoreConnectTool/Tests/ASCReleaseCoreTests/SnapshotPreflightTests.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4bb92120b09847c09e825c51ff92b2aec6399ef73e59fe6fdb733415ffa5aa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNewLanguageRequiresKeywords: 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":".github/ci-tools/AppStoreConnectTool/Tests/ASCReleaseCoreTests/SnapshotPreflightTests.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f765fb129c7c773492517672c9df92c79addb884bd92018897021800f0e34bf9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNewLanguageRequiresPrivacyPolicyURL: 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":".github/ci-tools/AppStoreConnectTool/Tests/ASCReleaseCoreTests/SnapshotPreflightTests.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b869ca00635f4dbe647b49f16dbcd32c9bea9f956e09f4985da3063acce63a53"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNewLanguageRequiresName: 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":".github/ci-tools/AppStoreConnectTool/Tests/ASCReleaseCoreTests/SnapshotPreflightTests.swift"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"915f56480fc68799ca3ac7064c5c9a1dc5059cee34fa57803260125bf210fe5d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/UITesting/OGSService\u002BFixtures.swift: Surround/UITesting/OGSService\u002BFixtures.swift changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 258 in OGSService.offlineUITestInstance at line 1730. 6 of those changes were fix/bug commits, and the other 26 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/UITesting/OGSService\u002BFixtures.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":"Surround/UITesting/OGSService\u002BFixtures.swift"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5116decdd0198edd1324e4b755798fb0a8df02fb843baa746c5c4784d3f121"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Views/GameDetail/GameDetailLayout.swift: Surround/Views/GameDetail/GameDetailLayout.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 383 in GameDetailLayoutPlan.init at line 91. 4 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Views/GameDetail/GameDetailLayout.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":"Surround/Views/GameDetail/GameDetailLayout.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"239cb44a63ba909d1e650f9fcf9ab870c1242f7608e76ec31267aa6fef43b94f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Services/OGSService.swift: Surround/Services/OGSService.swift changed 45 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in OGSService.onWebsocketServerEvent at line 1763. 13 of those changes were fix/bug commits, and the other 32 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Services/OGSService.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":"Surround/Services/OGSService.swift"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"2696dc8217a0b7f9a2a53a2ec6ddd81bac86351e0a72a0d2ca8372861a6e49e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Views/GameDetail/GameDetailTheme.swift: Surround/Views/GameDetail/GameDetailTheme.swift changed 37 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 80 in SurroundTheme.identityRoleColor at line 2058. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Views/GameDetail/GameDetailTheme.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":"Surround/Views/GameDetail/GameDetailTheme.swift"},"region":{"startLine":2058}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc3ba4a5434faeb7e1074c6a67193eff2ee93b5cb8be0cf4e0a07a6d69f82a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Components/BoardView.swift: Surround/Components/BoardView.swift changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in Stones.body at line 939. 2 of those changes were fix/bug commits, and the other 25 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Components/BoardView.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":"Surround/Components/BoardView.swift"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5ad2ba51becfc4a9efb2df945e86cc1b9681107b1a308f28a834e86132e1cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Views/GameDetail/GameDetailPlayers.swift: Surround/Views/GameDetail/GameDetailPlayers.swift changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in GameDetailClockCard.primaryContent at line 863. 2 of those changes were fix/bug commits, and the other 23 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Views/GameDetail/GameDetailPlayers.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":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"86eb5081689df557af8f558ad3050f5d8d01adb06d5f411a4440a5736bae0b92"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Views/GameDetail/GameDetailView.swift: Surround/Views/GameDetail/GameDetailView.swift changed 46 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in GameDetailView.content at line 754. 12 of those changes were fix/bug commits, and the other 34 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Views/GameDetail/GameDetailView.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":"Surround/Views/GameDetail/GameDetailView.swift"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf884c01d691985453a2563c3f248013b28e3be481e58914cf25d442739a35d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Views/GameDetail/SingleGameView.swift: Surround/Views/GameDetail/SingleGameView.swift changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in SingleGameView.gameContent at line 991. 5 of those changes were fix/bug commits, and the other 25 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Views/GameDetail/SingleGameView.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":"Surround/Views/GameDetail/SingleGameView.swift"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"12efb49abe9434e137cb1cd75477664aeb81896356eb755e0af31e32f5d92e10"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Components/ChatLog.swift: Surround/Components/ChatLog.swift changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in ChatLog.body at line 256. 5 of those changes were fix/bug commits, and the other 16 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Components/ChatLog.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":"Surround/Components/ChatLog.swift"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24dd8c9f4332416c5ead7abc68bf76c4be6f3db4db221737b2be4e9a265436a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Models/Core/Game.swift: Surround/Models/Core/Game.swift changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in Game.status at line 1174. 5 of those changes were fix/bug commits, and the other 10 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Models/Core/Game.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":"Surround/Models/Core/Game.swift"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"603b292fb0a97d205de19b420fdace81cbcca1e9986cff7e99f8678fe1e18d94"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Components/Stone.swift: Surround/Components/Stone.swift changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in Stone.body at line 1059. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Components/Stone.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":"Surround/Components/Stone.swift"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75fb0a748d119864c542d806e8e4c1c9ee81abcb9f0ea85c95a39e55d40a614"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Views/HomeView.swift: Surround/Views/HomeView.swift changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in HomeView.body at line 907. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Views/HomeView.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":"Surround/Views/HomeView.swift"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"756d167e38c252997839772317b5450d51bdb4abea7d7c1a0cb1fa4452727d5d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Components/GameControlRow.swift: Surround/Components/GameControlRow.swift changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in GameControlRow.actionsMenu at line 286. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Components/GameControlRow.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":"Surround/Components/GameControlRow.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a9ab3e1f1880d3c3d2820cdc98fdf87878f851f505c0403e5e98a38daed54b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Services/StackRouter.swift: Surround/Services/StackRouter.swift changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in AppNavigationStack.destination at line 859. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Services/StackRouter.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":"Surround/Services/StackRouter.swift"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"996ef8c15581ca95bb948c8363f1d60c884391797365b135dc48b1ca758d3b7d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Views/GameDetail/AnalyzeTreeView.swift: Surround/Views/GameDetail/AnalyzeTreeView.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in AnalyzeTreeSlice.nodes at line 69. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Views/GameDetail/AnalyzeTreeView.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":"Surround/Views/GameDetail/AnalyzeTreeView.swift"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b321e4f9214588a6c452dcb192b685caeec466db1abfb59e0bd08dd60f55495f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Components/PrivateMessageLog.swift: Surround/Components/PrivateMessageLog.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in PrivateMessageTranscript.body at line 419. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Components/PrivateMessageLog.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":"Surround/Components/PrivateMessageLog.swift"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fed29a2c5ccbcf84150319389f2cebe688ecd259aeee59109c16407d24eeac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: .github/ci-tools/AppStoreConnectTool/Sources/AppStoreConnectTool/main.swift: .github/ci-tools/AppStoreConnectTool/Sources/AppStoreConnectTool/main.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in main.swift.top-level code at line 90. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- .github/ci-tools/AppStoreConnectTool/Sources/AppStoreConnectTool/main.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":".github/ci-tools/AppStoreConnectTool/Sources/AppStoreConnectTool/main.swift"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5572dc59b5a33608f74c7609b51a632a8e1cb6a3a262de592aef7f45a4278b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Components/ChallengeCell.swift: Surround/Components/ChallengeCell.swift changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in ChallengeCell.playerInfos at line 504. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Components/ChallengeCell.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":"Surround/Components/ChallengeCell.swift"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abf5396e7a345bdcc79cee8af83891b5fb1de43b41ebe84790615b075929adb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift: .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in DuoPublishingExecutor.preflightStagedImage at line 154. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoPublishingExecutor.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ab69e92f149cee8ca2811f7563efce7068839dc7f7b0051c92d7ccd44a3b6c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift: .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in Publisher.publish 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/Publisher.swift"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41fe29fa9cc952258d06d7358019757422165d26e9177494c4fbd1a56566635"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Views/NewGameView.swift: Surround/Views/NewGameView.swift changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in NewGameView.submitQuickMatches at line 520. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Views/NewGameView.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":"Surround/Views/NewGameView.swift"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"72494d6a02dd2215ba5a769b31948ab0b74108d03a900dd2e4e3ed3eec4b02fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoCompatibility.swift: .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoCompatibility.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in DuoCompatibilityVerifier.prove at line 209. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoCompatibility.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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/DuoCompatibility.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"47613e5f4d7ec468c11197c32bc006f4f2057950a8f8696aa3466d6178b70034"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Views/GameDetail/AnalyzeControlBar.swift: Surround/Views/GameDetail/AnalyzeControlBar.swift changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AnalyzeControlBar.controlBarContent at line 209. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Views/GameDetail/AnalyzeControlBar.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":"Surround/Views/GameDetail/AnalyzeControlBar.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a984de55f9ff6f8ea0bd50de10cd7851b84af51895fea68089900242455526"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Views/IPadTabContainer.swift: Surround/Views/IPadTabContainer.swift changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in Coordinator.applyTabs at line 280. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Views/IPadTabContainer.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":"Surround/Views/IPadTabContainer.swift"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e997b95a7cbf0b7909140f91845ed7c731a5be3c1b589df9e17eed296cbb2b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Views/QuickMatchView.swift: Surround/Views/QuickMatchView.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in QuickMatchForm.body at line 509. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Views/QuickMatchView.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":"Surround/Views/QuickMatchView.swift"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d068706abc6f80a3baa7f5a2eafdcaa7bf001768860f8f8658592fd91f94b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Components/ChatLine.swift: Surround/Components/ChatLine.swift changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ChatLine.body at line 210. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Components/ChatLine.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":"Surround/Components/ChatLine.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c853ede70e4f9973b36d57758db07e1691d9cc7ca9073cb8a24153e903aad3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Models/OGS/OGSAutomatchEntry.swift: Surround/Models/OGS/OGSAutomatchEntry.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in AutomatchEntryPresentation.init at line 1163. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Models/OGS/OGSAutomatchEntry.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":"Surround/Models/OGS/OGSAutomatchEntry.swift"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"14874c83d8c44b6543711db819cbd38367edcd77377bb91fa8bbb9bde437f962"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Views/GameHistoryView.swift: Surround/Views/GameHistoryView.swift changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in GameHistoryView.historyContent at line 148. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Views/GameHistoryView.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":"Surround/Views/GameHistoryView.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2f9a9187b0c663f4e50bf0b360ba59eacddbef852943b5054d9abc93e0b6b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SelectedReleaseHandoff.swift: .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SelectedReleaseHandoff.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in DuoReleaseCoordinator.publish at line 405. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SelectedReleaseHandoff.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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/SelectedReleaseHandoff.swift"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6036c4912982ac878478b16758b2f6bb6e27b2684f8ec424ae7ac51c0d2eb56"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Views/GameDetail/GameDetailClockState.swift: Surround/Views/GameDetail/GameDetailClockState.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in GameDetailClockState.badgeTitle at line 60. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Views/GameDetail/GameDetailClockState.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":"Surround/Views/GameDetail/GameDetailClockState.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b0cd640fa4fd95a388e62a833dde4e37b37e1ab43f1e82db184c574ac4cecc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/APIClient.swift: .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/APIClient.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ASCAPIClient.sendWithRetry at line 341. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/APIClient.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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/APIClient.swift"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"31dcda02e8bf030ba5bc05d26ce0e01cbfd4ef05c41f22c7a60ee570cb6c3bca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Views/AppReviewPresentation.swift: Surround/Views/AppReviewPresentation.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in AppReviewPresentation.swift.appReviewContext at line 236. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Views/AppReviewPresentation.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":"Surround/Views/AppReviewPresentation.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"0082dbce8547df8861a7668e845503ceced7b615d83ed56469db54b2d2fbd1d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Components/HistoryGameCell.swift: Surround/Components/HistoryGameCell.swift changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in HistoryGameCell.userResult 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Components/HistoryGameCell.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":"Surround/Components/HistoryGameCell.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"61755ee8bd2c11b0f6520fd54850a5dc5e47f8d760952835aff307fffefa83d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ManifestBuilder.swift: .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ManifestBuilder.swift changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in ManifestBuilder.verifyWithHandoff at line 189. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- .github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ManifestBuilder.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":".github/ci-tools/AppStoreConnectTool/Sources/ASCReleaseCore/ManifestBuilder.swift"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57a16fde9e12095242d5a2462632fa3b43224e3a99bba60d5de4cd6b360e58f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: .github/ci-tools/supervise-ipad-ui-test-part.py: .github/ci-tools/supervise-ipad-ui-test-part.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in Supervisor.run at line 353. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- .github/ci-tools/supervise-ipad-ui-test-part.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/supervise-ipad-ui-test-part.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dd4989e4f398547024c9e5542cde67fa3a02d4059fdf63cc04869d8d69d334"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: .github/ci-tools/diagnose-ipad-animation-stalls.py: .github/ci-tools/diagnose-ipad-animation-stalls.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in diagnose-ipad-animation-stalls.run at line 306. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- .github/ci-tools/diagnose-ipad-animation-stalls.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/diagnose-ipad-animation-stalls.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f745755c4bd330c3b0b973b67c6013a65b8dc953af7ae98a8495ba448251c97"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Components/BoardDemoView.swift: Surround/Components/BoardDemoView.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in BoardDemoView.body at line 71. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Components/BoardDemoView.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":"Surround/Components/BoardDemoView.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8ea74ff7939366707995fb28c10e081fa0bed7b715d36e53488704151a6894"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Surround/Components/InlineTimerView.swift: Surround/Components/InlineTimerView.swift changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in InlineTimerView.body at line 100. 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 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Components/InlineTimerView.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":"Surround/Components/InlineTimerView.swift"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"098179cb4844467e84eb685ff06547eb1bd4c46d687d7e9f0d594bb018861790"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Surround/Views/ActivityListView.swift: Surround/Views/ActivityListView.swift changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is ActivityListContent.sectionView at line 406), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201C[Fix] Drop an unused hinge rule and keep a popover\u0027s anchor on screen\u201D; \u201C[Fix] Keep row details at accessibility sizes and times out of labels\u201D; \u201C[Fix] Open accepted games and the inbox through the window\u0027s navigation\u201D; \u201C[Fix] Draw the offline line\u0027s Retry in the accent color\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Views/ActivityListView.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":"Surround/Views/ActivityListView.swift"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b25d0b1b10e9eaca2d082d29fd8400c4a1e0c394d2304b30bea671838fe0e46"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Surround/Components/ActivityRows.swift: Surround/Components/ActivityRows.swift changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is ActivityChallengeRow.body at line 630), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201C[Fix] Keep row details at accessibility sizes and times out of labels\u201D; \u201C[Fix] Keep Activity\u0027s words whole at accessibility sizes\u201D; \u201C[Fix] Line up Retry with a waiting row\u0027s Withdraw\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Components/ActivityRows.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":"Surround/Components/ActivityRows.swift"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54ea0f072aecc33a3572fb996954ba368ca910b4c2b216016e6e0e66fd7db1d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Surround/Models/Core/TimeControl.swift: Surround/Models/Core/TimeControl.swift changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is TimeControl.swift.durationString at line 11), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201C[Fix] Read an untagged challenge\u0027s speed from its clock\u201D; \u201C[Fix] Classify active games without a speed tag by their clock\u201D; \u201C[Misc] Fix crash-prone game state handling\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Models/Core/TimeControl.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":"Surround/Models/Core/TimeControl.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e6d296ee4bd4f9503e3db72ab12d2090c06cf117ac56dfac6f2145ab615d85"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: Surround/Components/ChatSessionState.swift: Surround/Components/ChatSessionState.swift changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is ChatSessionState.completeWindowSizeTransition at line 105), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201C[Fix] Keep game chat drafts isolated by channel\u201D; \u201C[Fix] Retain game chat drafts after returning Home\u201D; \u201C[Fix] Preserve per-game chat drafts and add qualification regressions\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 18:55:17 \u002B08:00\u0027 --until=\u00272026-11-16 18:55:17 \u002B08:00\u0027 --full-history --no-merges -- Surround/Components/ChatSessionState.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":"Surround/Components/ChatSessionState.swift"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ee30a8c45a2d009d48ed6c6c9a24796a6911e79a5225a8465554891c6d43ae"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: the repository holds project manifests and neither \u0060README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a5992d4bd6ac1ea4b853ae69753fcd7e0410099c58731c86be53325ba8c96"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060Surround.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"306abc6d813f6728ec22afc6815c44ed33df2a87a758ecdd30e13f0c629e5169"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060iconUrl\u0060 spells \u0060Url\u0060 where 47 names in the project spell it \u0060URL\u0060: 47 of 48 names in project repository spell the token \u0060URL\u0060 (47 of 48; unit: names in project repository containing \u0060URL\u0060). Peers: ChatLine.openURL (Surround/Components/ChatLine.swift:18); ChatLine.reviewURL (Surround/Components/ChatLine.swift:37); ProfileBiographyWebView.baseURL (Surround/Components/ProfileBiographyWebView.swift:7); SuperchatCoverMount.openURL (Surround/Components/SuperchatCover.swift:30); ActivityRowDisplay.avatarURL (Surround/Models/ActivityListModel.swift:144). Rename to \u0060iconURL\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/OGS/OGSUser.swift"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97af8237541ed28808126f9ec33279df08ea9b31ea95b47b2a3db293662b099"}},{"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":"6cd7dd8ce2cb5c04a2c1d6ebe0d105c0ff37322563dcca85e129c8d762d0c027"},"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":"df7febf5ae888fd78b95e1c69ca5d000133395f65ba298ab9c18f88cc4159d96"},"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":"0d69e3beab226c373b7bd1d84dd05efb1dfab99c067a123e2df341897ba4f5b0"},"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":"5a07e9293012f8a5bb252348e5ebe834df52b7357d915daff9cba45fb4754c8d"},"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":"e89239b706c746d631507c33b2950e6451e2727f0f8419ec397037ecfde62c74"},"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":"856c5b63dede8d95ec4bfc541ab9b22cbb9559d50b0cb54a890ae67d3a49992b"},"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":"ba30774c97eb747aee0c0cba3a4d6bbf8d110c18bc4fd144c0fe7ee9b1bdacf2"},"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":"c44377a4e2e96bd9b97e27be682bdd5d81a7832adb4768d78095a43fb4511980"},"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":"03eae69208a362117c6b17acb955cab8af8c296d7f090868538809056a3faf90"},"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":"c91b5dff89007ecdfc2a6438556a01d28c36f69b7a104dc70c7d6cb4fb3f87ea"},"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":"69451fbd5707920f4e1b780830493c36852f1d9a19c2ea0bcc63b58eb6aa145f"},"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":"f6676bab579ba5bf2266bc0a5f2ff240b0f7ee28fce6860303146fb7409c7a84"},"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":"70c7b28a346a16f341f34abb163717f88c4d57b73b5ab812128e7c4fb7c0ee97"},"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":"414f674c589cee0ac393e5e0091cb85aa5c1fbae97aa02bc56a67598ee3f1785"},"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":"aa77a2ca37f74ceafc51045c9fb7807ba78167a73a585490defde1b16db4f590"},"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":"317c2317ce12b69868670f9b6a4d2732533678f2fdef368abd2f64f82064ab94"},"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":"642bdebbb772a546e26ee67e27b5f66f8edadeb76cb9fd40bf2103831911ca09"},"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":"f544473a9799491de9bb2773d8646bc2421ff72e4cb1312ae47f9fa2c5297d9c"},"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":"88c02c51a1baee1a451578a8e3bc92f90359b14219804330ab32cf8ad5009ce4"},"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":"75b3b8a98896af364aa0beb9b6714fc0abdbb7f87fd12669be151acf0ba7f834"},"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":"9563646c85847b4ddf3490e5af3bfba2624b0d6c208ec9921a0acc0622562a72"},"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 hub: SingleGameView.swift \u2192 ChatLine.swift, GameCell.swift, InlineTimerView.swift: \u0060Surround/Views/GameDetail/SingleGameView.swift\u0060 changes together with 3 other files \u2014 \u0060Surround/Components/ChatLine.swift\u0060, \u0060Surround/Components/GameCell.swift\u0060, \u0060Surround/Components/InlineTimerView.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":"Surround/Views/GameDetail/SingleGameView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2807ae0b8113aacf94c51c3a66db9788ece57c7482e2a4b519cf77ee7c1b6989"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: TimeControl.swift \u2194 NewGameView.swift: \u0060Surround/Models/Core/TimeControl.swift\u0060 and \u0060Surround/Views/NewGameView.swift\u0060 change together 60% of the time (12 of the 20 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 12 shared commits counted here, the most recent 3 are \u0060a50231c5\u0060 [Misc] Support decoding game with \u0022rapid\u0022 speed; bump version number; \u0060b9db61ee\u0060 [WIP] Preferred settings.; \u0060c288e7fd\u0060 [Translation] Mark more strings as not needing translation; added som\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/Core/TimeControl.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c840f73d3a0a3284d8fc4e6e71b2158501e0697364d5dc8a8454ca768775f05"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MainView.swift \u2194 PublicGamesList.swift: \u0060Surround/Views/MainView.swift\u0060 and \u0060Surround/Views/PublicGamesList.swift\u0060 change together 57% of the time (13 of the 23 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 13 shared commits counted here, the most recent 3 are \u0060c70d6e48\u0060 [Misc] Use more modern APIs in a few places.; \u006006191f77\u0060 [Misc] Support iOS 15.5 and later.; \u0060d28f793a\u0060 [Zen mode] Hide navigation column when entering Zen mode. (Requires n\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Views/MainView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e85839b23e7b13761fa666c802a39b015d0dd6b0305424f2ce6dadc9af166c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: NotificationPopup.swift \u2194 NewGameView.swift: \u0060Surround/Components/NotificationPopup.swift\u0060 and \u0060Surround/Views/NewGameView.swift\u0060 change together 50% of the time (11 of the 22 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 11 shared commits counted here, the most recent 3 are \u0060098cdb58\u0060 [Feature] Speak each announcement once per app; \u0060f6060b43\u0060 [New game] Polish Quick Match and fix live-game navigation; bump vers\u2026; \u0060a50231c5\u0060 [Misc] Support decoding game with \u0022rapid\u0022 speed; bump version number \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/NotificationPopup.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a809521c387efd39bd76ee9d3bfd78b78faa3b1ae838e389b59334bf6f424e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: StackRouter.swift \u2194 SurroundUITestContract.swift: \u0060Surround/Services/StackRouter.swift\u0060 and \u0060Surround/UITesting/SurroundUITestContract.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 \u0060d4f0342e\u0060 [Feature] Open the Activity list from the Messages button; \u006038822812\u0060 [Test] Add Debug probes for Activity\u0027s SwiftUI hosts; \u006095081a57\u0060 [UI] Keep grouped Duo sidebar over stationary content \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Services/StackRouter.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"685ff98d79283244948e4f863745d6b9b2ca14cace52d83b90ae0e1c9318ef57"}},{"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":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/2 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\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/main.yml"},"region":{"startLine":7}}}],"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":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.command and args.command[0] == \u0022--\u0022\u0060 appears character-identically in 2 files \u2014 .github/ci-tools/diagnose-ipad-animation-stalls.py, .github/ci-tools/supervise-ipad-ui-test-part.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/ci-tools/diagnose-ipad-animation-stalls.py"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"024120cef2801b44f68a64ec25de6993b6d7131b2402de766ccc13accdb8d4a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060DEBUG \u0026\u0026 MAIN_APP .overlay(alignment: .bottomTrailing)\u0060 appears character-identically in 2 files \u2014 Surround/Views/AppReviewPresentation.swift, Surround/Views/GameDetail/GameDetailView.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":"Surround/Views/AppReviewPresentation.swift"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f124c3efd4b89673fcb46175dd2c5bea09e89789a71d8ff681822de94fb2bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060DEBUG \u0026\u0026 MAIN_APP .overlay(alignment: .topLeading)\u0060 appears character-identically in 2 files \u2014 Surround/Views/GameDetail/GameDetailPlayers.swift, Surround/Views/GameDetail/SingleGameView.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":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f1fd3836b1d07bd8b9331850d8b00cb63588943348ddf2ab17a9aa288b0a9f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060DEBUG \u0026\u0026 OGS_BETA \u0026\u0026 MAIN_APP \u0026\u0026 targetEnvironment(simulator)\u0060 appears character-identically in 2 files \u2014 Surround/Services/OGSService.swift, Surround/UITesting/BetaSimulatorLoginBridge.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":"Surround/Services/OGSService.swift"},"region":{"startLine":2400}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd11f7a93d7e56040db1ed377b6ebd81fc0d4ee10fdcd9ae039e88f04062a652"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Self.isUserScrolling(newPhase) || (newPhase == .idle \u0026\u0026 Self.isUserScrolling(oldPhase))\u0060 appears character-identically in 2 files \u2014 Surround/Components/ChatLog.swift, Surround/Components/PrivateMessageLog.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":"Surround/Components/ChatLog.swift"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff69cb52010149906a6d84a95a11dd2b36dc2384ee96778a2275e27be8ac527c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060contrast != .increased \u0026\u0026 !reduceTransparency\u0060 appears character-identically in 3 files \u2014 Surround/Components/ChristmasKeepsakeSurfaces.swift, Surround/Components/FeltControlSurface.swift, Surround/Views/GameDetail/GameDetailTheme.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":"Surround/Components/ChristmasKeepsakeSurfaces.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"674adc25702001e9bde196bcd1045c3d6f39a4c4922623a4c57fe5e44584ee05"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060newPhase == .idle \u0026\u0026 oldPhase == .tracking\u0060 appears character-identically in 2 files \u2014 Surround/Components/ChatLog.swift, Surround/Components/PrivateMessageLog.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":"Surround/Components/ChatLog.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacfc518155d844405cb0e67f58c09d16625ef6b9df39d76d64b8c1b9681633c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os(iOS) \u0026\u0026 !targetEnvironment(macCatalyst)\u0060 appears character-identically in 7 files \u2014 Surround/Components/PrivateMessageLog.swift, Surround/Services/ActivityHostSDK.swift, Surround/Services/NavigationService.swift, Surround/Services/StackRouter.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":"Surround/Components/PrivateMessageLog.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62e675502e458a489bf69d36023adfbc6776c56e35b917922ceb3b5cd46785c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os(iOS) \u0026\u0026 !targetEnvironment(macCatalyst) \u0026\u0026 canImport(SwiftUI, _version: 8.0)\u0060 appears character-identically in 4 files \u2014 Surround/Services/ActivityHostSDK.swift, Surround/Services/StackRouter.swift, Surround/Views/HomeView.swift, Surround/Views/MainView.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":"Surround/Services/ActivityHostSDK.swift"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"994e0217937f9dfeb436b9ec620d323ae4caa68d2903af30fe66ca98cf63f0d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os(iOS) \u0026\u0026 !targetEnvironment(macCatalyst) \u0026\u0026 canImport(SwiftUI, _version: 8.0.85)\u0060 appears character-identically in 7 files \u2014 Surround/Services/ActivityHostSDK.swift, Surround/Services/StackRouter.swift, Surround/Views/GameDetail/GameDetailTheme.swift, Surround/Views/GameDetail/GameDetailView.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":"Surround/Services/ActivityHostSDK.swift"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c75665f34376c60ceef6b78bfc160129c43a33e23e25083b342571d600c72e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060phase == .interacting || phase == .decelerating\u0060 appears character-identically in 2 files \u2014 Surround/Components/ChatLog.swift, Surround/Components/PrivateMessageLog.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":"Surround/Components/ChatLog.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"521ceb4dc7452989efab1141c2d3dedb2056bbc18a357fe4ffb7c3b5459d028f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reduceTransparency || contrast == .increased\u0060 appears character-identically in 2 files \u2014 Surround/Views/GameDetail/GameDetailPlayers.swift, Surround/Views/GameDetail/GameDetailTheme.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":"Surround/Views/GameDetail/GameDetailPlayers.swift"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"44878c21f79be8c0e4c1391c3ad7dea12d6c39c245c528afdd8409545792f13b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row \u003E= 0 \u0026\u0026 row \u003C height \u0026\u0026 column \u003E= 0 \u0026\u0026 column \u003C width\u0060 appears character-identically in 2 files \u2014 Surround/Components/BoardView.swift, Surround/Models/OGS/OGSConditionalMoves.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":"Surround/Components/BoardView.swift"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2176fdfb703371d8952bf8bfcfc2d7a13fa6eed0a71fa968f5e7565a78e2151"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060theme.isFlowingInk || theme == .paperBlossoms\u0060 appears character-identically in 2 files \u2014 Surround/Components/GameControlRow.swift, Surround/Views/GameDetail/GameDetailPlayers.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":"Surround/Components/GameControlRow.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc06fb7ccc0a9119ef272410bc491e9da04f27304fceabf7897ed1e24391ae3"}},{"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":"Surround/Views/HomeView.swift"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"be447aa4cb3a16481bdf50b85a2391b02a35785a5a760c9393ebe747a3c81dbd"}},{"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":"Surround/Views/PlayerProfileGames.swift"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed46cdb85762ae3cd0003a53455b11a0a3d6ee60fff8f157914a5486839fe478"}},{"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":"Surround/Views/PlayerProfileView.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db8143fb5bdb77e4d45f1417e57ee7bf8cca60ec231d7c50fa3db25a7738604"}},{"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":"Surround/Services/AppReviewPolicy.swift"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52703429802b0778a543f41d987434881c8fbe4daeed9a716edaef91c301a36"}},{"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":"Surround/Services/OGSService.swift"},"region":{"startLine":6025}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebb1370b7665a37615fa37d57446d2439120fcb0329635059561aefb7cb0f0c"}},{"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":"Surround/Services/OGSService.swift"},"region":{"startLine":6638}}}],"partialFingerprints":{"codehealthFindingId/v1":"44de427362b0b0225699b1a07016c7263c6360416528b99fe3c7bd99b69f4601"}},{"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":"Surround/Services/OGSService.swift"},"region":{"startLine":6676}}}],"partialFingerprints":{"codehealthFindingId/v1":"103418e17ad7ea52fcdb94e7ec0adf595c17827a0a212e32fc694d08dee1a141"}},{"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":"Surround/Services/StackRouter.swift"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb643633287ab1bf4c93aada5aca233fb7665e14988b94eeeab5a99adc8c482f"}},{"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":"Surround/Models/OGS/OGSRemoteSetting.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8333567feb53ec1560ce3ad04577c0ba2dc85c878ecc5de90c1986ee9aef969b"}},{"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":"Surround/Models/OGS/OGSRemoteSetting.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"10682f91644f9d26d687b17fa92a991be0bbc11fad2be05aaaa4d135d37cacbd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Components/BoardDemoView.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c8a0f44dcd3629e527ec41f7107f4613937c08bab7cf6a4b447101fb93282f"}},{"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":"Surround/Components/BoardView.swift"},"region":{"startLine":1668}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82d1ac92025f4a4bd7025220ee8465de324c8862f2a33b78fbd1dd7f2ed79f1"}},{"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":"Surround/Components/ChatLog.swift"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"4150000cfca6946c7ed0ea16f4514b7d1c251a2d8656d0c10c2979e2fcafd84c"}},{"ruleId":"X5","level":"note","message":{"text":"Ruby\u0027s type checker does not check nil everywhere: This repository commits no Sorbet configuration (\u0060sorbet/config\u0060) and no \u0060Steepfile\u0060, so nothing type-checks its 1 Ruby product file(s): a nilable value reaches a method call silently and raises \u0060NoMethodError: undefined method \u2026 for nil\u0060 the first time it is nil. A \u0060# typed:\u0060 sigil does nothing without a \u0060sorbet/config\u0060 beside the code; a Steep run configured only on a command line is not something this check can read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"32b27113b1bc22f400935e8620d19eae7fd3ef145cc36018609c445ea8cd4af1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060timeAttributes\u0060 turns every thrown error into \u0060[:]\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the error or let it propagate (\u0060throws\u0060). If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment at the \u0060catch\u0060, \u0060guard\u0060 or \u0060??\u0060, or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Surround/Models/ProfileBiographyDocument.swift"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"35882de16faceb2409cfecc6cd97919878e7dcc2faf841f2cd838cba976cbf7a"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"}]}],"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":22,"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."]}]}