{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"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":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"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":"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":"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":"LocalHomebrewError.errorDescription (cyclomatic 51): LocalHomebrewError.errorDescription has cyclomatic complexity 51 (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":"CaskHub/Services/Homebrew/Domain/LocalHomebrewError.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"80efd98fa30a4b4cd2a50148a076ec45f3d9a53e00f240ea914323a018205108"}},{"ruleId":"D1","level":"warning","message":{"text":"InstallationIndexBuilder.resolveHomebrewApplicationState (cyclomatic 18): InstallationIndexBuilder.resolveHomebrewApplicationState 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":"CaskHub/Services/Homebrew/Infrastructure/InstallationIndexBuilder.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc30edf28e7dcdbbd3fc0ae3be9127e219ae17c6e71af14dfa49e6b74071fd7f"}},{"ruleId":"D1","level":"warning","message":{"text":"CrashReporter.capture (cyclomatic 16): CrashReporter.capture 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":"CaskHub/Services/Telemetry/CrashReporter.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"88969f538a8e79818fb5c31e19af5b1af4f89b86262410cf4c27e2d6f1d52c3c"}},{"ruleId":"D1","level":"warning","message":{"text":"InstallReceipt.init (cyclomatic 16): InstallReceipt.init 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":"CaskHub/Services/Homebrew/Domain/InstallReceipt.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"86cf47f13b9a716921711dbd0941d044ca0203625322679ebbd402be427d510b"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalHomebrewError.errorDescription (cognitive 28): LocalHomebrewError.errorDescription has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (19 pts), ternaries 2 (5 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHub/Services/Homebrew/Domain/LocalHomebrewError.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6e31a05a668dab8d883545e24afed4585ba4fbc88d8386934bd603e3d0c579"}},{"ruleId":"D2","level":"warning","message":{"text":"InstallReceipt.init (cognitive 25): InstallReceipt.init has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 7, loops 2 (5 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":"CaskHub/Services/Homebrew/Domain/InstallReceipt.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"68569aaf8de85226db6851043ee0ce8f9c3441ad54de31bbaf52bd1b1cfafe46"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageCacheService.downloadHashedImage (cognitive 21): ImageCacheService.downloadHashedImage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 7, error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHub/Services/Images/ImageCacheService.swift"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"3318f8c20f22ea6be866a71f53c6123bc52712e936d2e85c711690825b37c31a"}},{"ruleId":"D2","level":"warning","message":{"text":"InstallationIndexBuilder.resolveHomebrewApplicationState (cognitive 21): InstallationIndexBuilder.resolveHomebrewApplicationState has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 12, if/else 4 (8 pts), loops 1 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHub/Services/Homebrew/Infrastructure/InstallationIndexBuilder.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0da93218e83ebf741868d7c4f36a3e5a9541b7cb00b2338fa51128fff3cf70"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageCacheService.fetchImage (cognitive 19): ImageCacheService.fetchImage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 8). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHub/Services/Images/ImageCacheService.swift"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcca28526db809fbcad4e38caf13310d4abfc94c0e14151d6659981a81488641"}},{"ruleId":"D2","level":"warning","message":{"text":"PackageReceiptResolver.verifiedReceiptCandidates (cognitive 19): PackageReceiptResolver.verifiedReceiptCandidates has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 2 (5 pts), loops 3 (4 pts), ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHub/Services/Homebrew/Infrastructure/PackageReceiptResolver.swift"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"225bc8b336de469b2422d6c983214b4b5912e132b65927fb31626171654ff6dc"}},{"ruleId":"D2","level":"warning","message":{"text":"HomebrewInstallationScanner.scanBinaryDirectories (cognitive 18): HomebrewInstallationScanner.scanBinaryDirectories has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHub/Services/Homebrew/Infrastructure/HomebrewInstallationScanner.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c225741f44051b784a89a1ab429bf5eb6c2c3310a0b0240290ef01fd7ca6f5"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageCacheService.refreshHashedImage (cognitive 17): ImageCacheService.refreshHashedImage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 6 (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":"CaskHub/Services/Images/ImageCacheService.swift"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e382ae39672aec12c37cd149ce4956d8605ae6c2b89139b9eabb17a516e5b57"}},{"ruleId":"D2","level":"warning","message":{"text":"CrashReporter.capture (cognitive 16): CrashReporter.capture has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 8. 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":"CaskHub/Services/Telemetry/CrashReporter.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f6140c79edb232125b38a3c52033e5bdcde1f5553495fb379ea49090595ea4"}},{"ruleId":"D2","level":"warning","message":{"text":"HomebrewMutationCoordinator.handleFailure (cognitive 16): HomebrewMutationCoordinator.handleFailure has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, 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":"CaskHub/Services/Homebrew/Coordination/HomebrewMutationCoordinator.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"26084b2bc6c984cb985d7c1841096b4f8edc5b08faf4b5263478133abdd6fe48"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalHomebrewService: TooManyMethods \u2014 67 methods, declared across 7 files: Facade/LocalHomebrewService\u002BWorkflows.swift (17), Facade/LocalHomebrewService\u002BAdoption.swift (12), Facade/LocalHomebrewService\u002BState.swift (12), Facade/LocalHomebrewService.swift (12), \u002B3 more file(s). The bar is 30 methods; this is 37 over it, 2.23\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHub/Services/Homebrew/Facade/LocalHomebrewService.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9756148a7c8550353f93ab864dde8d40913be33260ed16df3de0161d9eba0d0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalHomebrewError.errorDescription: MethodTooLong \u2014 errorDescription runs 193 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHub/Services/Homebrew/Domain/LocalHomebrewError.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"365985bf105edb346e4bea06e8cdcb55bc8a350d8180894afad8ba395c4a0ccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): CaskHub/Services/Homebrew/Infrastructure/HomebrewInstallationScanner.swift:44-81 | CaskHub/Services/Homebrew/Infrastructure/HomebrewInstallationScanner.swift:83-114 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHub/Services/Homebrew/Infrastructure/HomebrewInstallationScanner.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"683416364c280731be222c4eb5e836f9c738c5bcfc0fb542b8b450d349d16d84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): CaskHub/Services/Homebrew/Domain/CaskAdoptionPlan.swift:138-150 | CaskHub/Services/Homebrew/Domain/MaintenanceReport.swift:69-79 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHub/Services/Homebrew/Domain/CaskAdoptionPlan.swift"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4031422ad19541123e6f4ab49c98bfb9734c4825fdc578b97cf76fb2e2a96f6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): script/profile_ui.swift:107-116 | script/profile_ui.swift:123-132 \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":"script/profile_ui.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb9a411d95d37f0f48933dfeb373f3d8aee973f7a9ab14f840d84d2f548a00d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): CaskHub/Views/Shared/CaskActionAlerts.swift:193-206 | CaskHub/Views/Shared/CaskUninstallAlert.swift:12-25 \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":"CaskHub/Views/Shared/CaskActionAlerts.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cc4fb108e976c89cd19dfaa1fb234b2d8bc56a40596687ba2a7122f7ccc00b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): CaskHub/Services/Telemetry/Analytics.swift:61-74 | CaskHub/Services/Telemetry/CrashReporter.swift:259-272 \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":"CaskHub/Services/Telemetry/Analytics.swift"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f90b3962c141e52892ecd23201c857b08cba9697f17ba13390246a279c19ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): CaskHub/Views/Maintenance/MaintenanceDiskCard.swift:249-257 | CaskHub/Views/Maintenance/MaintenanceDiskCard.swift:296-311 \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":"CaskHub/Views/Maintenance/MaintenanceDiskCard.swift"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"107141ed7c99197a8bdddecbb3743044ce8109f25f532452432dfaf35f8a6e58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): CaskHub/Views/Maintenance/MaintenanceView.swift:332-350 | CaskHub/Views/Manage/ShelfSetupView.swift:334-348 \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":"CaskHub/Views/Maintenance/MaintenanceView.swift"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"a826a32a40543b6f842b16cb435e860ae01d0826579f05104b045c1be159a12d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): script/profile_ui.swift:134-142 | script/profile_ui.swift:144-152 \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":"script/profile_ui.swift"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"475c147dd6ebe88ffd9b3a4628beba4a65209c834c9223734726cde2fc78f924"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): CaskHub/Services/Catalog/CategoryService.swift:99-104 | CaskHub/Services/Catalog/RecentlyAddedService.swift:51-56 \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":"CaskHub/Services/Catalog/CategoryService.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8721086e0d709d7286cdfb91c72083db7cc599dd560a7b9d016e50710492de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): CaskHub/Views/Maintenance/MaintenanceDiskCard.swift:276-284 | CaskHub/Views/Maintenance/MaintenanceDiskCard.swift:286-294 | CaskHub/Views/Maintenance/MaintenanceDiskCard.swift:324-331 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHub/Views/Maintenance/MaintenanceDiskCard.swift"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"e708a70e819b74a4b126d0f0caf55a1c60d06ef642bc19ee71c941bc21e5c266"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): CaskHub/Views/Shared/CaskCardView.swift:107-113 | CaskHub/Views/Shared/CaskRowView.swift:98-104 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHub/Views/Shared/CaskCardView.swift"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecea6262de06d2fb0cd0f858c0e3f7779bf89b8452cd0d6f9d6cbbbbe9ac31aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): CaskHub/Services/Catalog/CategoryService.swift:179-182 | CaskHub/ViewModels/Catalog/Projection/CaskMetadataProjector.swift:32-38 \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":"CaskHub/Services/Catalog/CategoryService.swift"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"287167602ae38af9946838d6ffc4b7fc63b4a635e078247cb9675d8df93a355b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): CaskHub/DesignSystem/Components/CaskActionsView.swift:140-146 | CaskHub/DesignSystem/Components/CaskOperationCapsule.swift:60-66 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CaskHub/DesignSystem/Components/CaskActionsView.swift:140\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHub/DesignSystem/Components/CaskActionsView.swift"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44f1e843c03c68459eba16d2103444a898c1dd24af4e10243f51e1d66160c4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): script/profile_ui.swift:110-116 | script/profile_ui.swift:126-132 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060script/profile_ui.swift:110\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"script/profile_ui.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e7c906aa3be09692af5fafe08f1eabade3c0fe2f07331261ede9f3cfe16022"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): CaskHub/Views/Manage/ShelfSetupView.swift:212-217 | CaskHub/Views/Manage/ShelfSetupView.swift:280-285 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060CaskHub/Views/Manage/ShelfSetupView.swift:212\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHub/Views/Manage/ShelfSetupView.swift"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca4da425e9f37ed7bbfa1a79d39d353fd9be45824c6afceebdd130cc106231c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ApplicationTerminationCoordinator (LCOM4 4): ApplicationTerminationCoordinator\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":"CaskHub/App/ApplicationTerminationCoordinator.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34806abc03afff3316e57a6139867892ea5f47deb21a08b0759ec8f45d05ce6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SentryProvider (LCOM4 4): SentryProvider\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":"CaskHub/Services/Telemetry/CrashReporter.swift"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"50745a7302d0a76d96f59f53da9be5b84a836559e7e3a5902e6132ae7400db05"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UpdaterService (LCOM4 4): UpdaterService\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":"CaskHub/Services/Updates/UpdaterService.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b847c9e458261e377266a39ec0b2270ab13f70d14a2f61a04b3d19284c2c4b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CaskCatalogViewModel (LCOM4 4): CaskCatalogViewModel\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":"CaskHub/ViewModels/Catalog/CaskCatalogViewModel.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"96173b479fd8502bbef9570e653d5d867c6c52ef090a35d52ead9dbb2a185957"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_arm_machine_with_intel_brew_runtime_reports_architecture_invariant: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHubTests/Telemetry/AnalyticsTests.swift"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"e588a5c499046b1b665f63e8fe2c3ab209a536df43a63f1260c44a2bd48989cc"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_brew_prefix_resolves_from_binary_prefix_and_bin_folder: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHubTests/Homebrew/Integration/CaskHubTests.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4d6179ee7d5275960f359d2fada4de621a49d7d4ee7c3b9487c15e6d9a2d42"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: test_adopt_of_unknown_cask_surfaces_brew_error: Skipped \u2014 throws XCTSkip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHubTests/Homebrew/Workflows/AdoptionTests.swift"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"1172ce85df50eba9d745c8e0e47fa3d611e614a0a38f35227cd4a6040694302c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_sentry_provider_pause_resume_are_safe_without_started_sdk: 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":"CaskHubTests/Telemetry/CrashReporterTests.swift"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"01652ceeaa3ec69306427f12685f3aae82e728f52134edcd406e306ce6bdf184"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_refresh_button_renders_refreshing_state: 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":"CaskHubTests/Views/ContentViewTests.swift"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"123cdb2161b25e63329e97ba86c04dc0e7d6045678449de1f82d94298d8c40c5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_update_all_chip_renders_idle_state: 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":"CaskHubTests/Views/ContentViewTests.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f270a0aedecde826f5926fd7056f93ce31f55113733f6bf4d465bd734cfb34f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_update_all_chip_renders_updating_state: 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":"CaskHubTests/Views/ContentViewTests.swift"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"6871571c611536627d6bcdf9fed4e0d7ca8f902a713ccba08d05aa3d79d1640e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_greedy_chip_renders_on_and_off_states: 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":"CaskHubTests/Views/ContentViewTests.swift"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ced556fd9e9ea2ae39083f73dadb90db8883dec8298c953a4e6899f0e1182c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_catalog_renders_list_and_grid_across_pages: 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":"CaskHubTests/Views/ContentViewTests.swift"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"037ba80e8e9766dc2483b008b5506550f038ccffb18d53bdbcd3047a221f09fc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_help_center_renders_every_topic: 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":"CaskHubTests/Views/HelpViewTests.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d390c9d6677eb6a6232244ae4eea37be4c95fa66d670835f7c68571ba196311"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_cards_render_in_both_styles: 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":"CaskHubTests/Views/LaunchCardTests.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0ef792b3f9f93c09d94e8e313c7418623eb5cedac1845985372739719ab0f6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_page_renders_before_first_checkup: 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":"CaskHubTests/Views/MaintenanceViewTests.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e59051b9811c40e875ef379bd5f045de185f239006a091ffbb1a7c72bf4a92"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_disk_card_renders_loading_state_before_first_scan: 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":"CaskHubTests/Views/MaintenanceViewTests.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7505458577d9fcabd5a4155b84bd2b4eb3b4266aafb1bedab8f818e3a23a60d2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_page_renders_checkup_results: 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":"CaskHubTests/Views/MaintenanceViewTests.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"965d2c396bad0b58ea006269e48dd9f00dd750abee05b62396e9821c9f051e6d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_disk_card_renders_sizes_and_expanded_rows: 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":"CaskHubTests/Views/MaintenanceViewTests.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6eb1b22cf2931cb3a2c9618ec5eb2b5336242118357ffc0ea00b86af4c0c0a1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_disk_card_renders_done_and_failed_rows: 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":"CaskHubTests/Views/MaintenanceViewTests.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ef2ec3ccc65b9ba40f0767f39e00ca947d17b3656fc8d5940b017630add1c3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_settings_tabs_render: 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":"CaskHubTests/Views/SettingsViewTests.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce566cbec320a6d64948172e2b21efef951aa404ecb49c3a0209497736cf4fe2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_shelf_setup_view_renders_ignored_rows: 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":"CaskHubTests/Views/ShelfSetupViewTests.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"249b5940bf5842a97a88d9807a1bc4bff1ed642e57ef55add0844aa5a553966c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_shelf_setup_view_renders_empty_state: 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":"CaskHubTests/Views/ShelfSetupViewTests.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78d94d82ccf01ee04fbb8ff4d1d4515632c9c2c0de6cf11e2ce4eefa4b52202"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_brewfile_import_sheet_renders_every_phase: 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":"CaskHubTests/Views/ShelfSetupViewTests.swift"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4208eba70514671fcf2c6d6445391af2576eccd8714d71f34099b324e20e922c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_page_chrome_renders: 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":"CaskHubTests/Views/ShelfSetupViewTests.swift"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"255db5be441ffcac2f992e2e933156e6290ddccfaa3e35ae9144369d67b0bbad"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_content_view_renders_utility_pages: 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":"CaskHubTests/Views/ShelfSetupViewTests.swift"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf6e7ac281603ba96e1d5667996d8055619ffdce4cc8bba04edf8caab226d2f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_update_settings_and_about_support_render: 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":"CaskHubTests/Views/UpdateSettingsViewTests.swift"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"54984cf1536a527acaf37fa136b02db54025575c90411f761db75b10c99a4399"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_progress_capsule_and_status_bar_render: 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":"CaskHubTests/Homebrew/Domain/CaskOperationProgressTests.swift"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d28c007c9f1f4bd8753b1e0a59a507a99a9ae6728910423a5a99ce235c78b28"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_unconditional_events_replace_every_state: 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":"CaskHubTests/Homebrew/Domain/CaskOperationStateTests.swift"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc303f3c4f98725ac9dc78c1af0243591ed136e17f0e1cd659f12c0a07e5dc7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_install_cancellation_preserves_error_and_success_reporting: 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":"CaskHubTests/Homebrew/Infrastructure/HomebrewCommandExecutorTests.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b8ad9275a2ca1f3e8c0d1f39ecbdf508545ed7ca77198f82de98af5ce106c6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_conditional_package_candidates_require_receipt_path_and_bundle_agreement: 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":"CaskHubTests/Homebrew/Integration/ArtifactIdentityTests.swift"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ded6497098fbcd59f4588b9d7a912daee87df738623e56a90d698f5269561f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_older_compatible_release_is_offered_and_disappears_after_refresh: 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":"CaskHubTests/Homebrew/Integration/CaskPlatformUpdateTests.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6cd8c855f268e285549178090e948e2e49c5092452be0c99279ff59164cb5c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_exact_architecture_variant_and_missing_override_follow_homebrew: 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":"CaskHubTests/Homebrew/Integration/CaskPlatformUpdateTests.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38946e753ff675c89bdbc958f969d832b08b14ff7100a9ea22155acb56e594a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_variant_field_presence_preserves_inheritance_and_explicit_nulls: 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":"CaskHubTests/Homebrew/Integration/CaskPlatformUpdateTests.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbac19803c8f00ddbe2f9df45d9354e4d4ffd1836f995ec903ff4864ef7b5a7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_self_updated_bundle_is_compared_with_the_compatible_target: 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":"CaskHubTests/Homebrew/Integration/CaskPlatformUpdateTests.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"17735b72a6a8a0c7d2053b2b84253bdb8d3f0a0768d647658098b7f0a1456603"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_future_platform_still_checks_supported_platforms: 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":"CaskHubTests/Homebrew/Integration/CaskPlatformUpdateTests.swift"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cbb2f3d3619cd14aec26b47cc525d268613ed36125df0db4258310911b17c6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_missing_homebrew_does_not_establish_update_eligibility: 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":"CaskHubTests/Homebrew/Integration/CaskPlatformUpdateTests.swift"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"9393ceedc7f85bb0a5b69c61e6ddc58a96309f268419e06be17c2ff966845d89"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_reviewed_product_flows_through_scanning_projection_version_and_open: 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":"CaskHubTests/Homebrew/Integration/PackageProductIdentityTests.swift"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ca5d8733a67ea0eb336742d56ab65ea02f5e757067e1dffaaa4a1877368e2c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_cask_actions_render_every_external_state: 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":"CaskHubTests/Homebrew/Presentation/CaskActionPresentationTests.swift"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb7663340307ebbc39e14b91d5321b4877d155371d39551b0ca0ea76302655a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_cask_action_alerts_render_with_pending_permission_and_error: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHubTests/Homebrew/Presentation/CaskActionPresentationTests.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"da65d1296a624259eee9e5e2fa7c1fdfb6c7735c20647ceab2201f1966dae7a2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_info_popover_renders_external_and_installed_versions: 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":"CaskHubTests/Homebrew/Presentation/CaskActionPresentationTests.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9631e7bc6b9ccc0801b8d5339f806a0d1d63626db15f082733d0f707f98555e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_list_rows_render_install_and_external_installation_states: 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":"CaskHubTests/Homebrew/Presentation/CaskListActionTests.swift"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd409ab3de9ac48b59311574e3ba2b97a3626ba80701383fe41b4ce7834507a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_list_rows_render_every_managed_action_layout: 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":"CaskHubTests/Homebrew/Presentation/CaskListActionTests.swift"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8165935ed7834e0ad95d79de4ed8894124cafe2bc28f49f6872fd7d738985832"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_icon_only_open_and_update_controls_render: 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":"CaskHubTests/Homebrew/Presentation/CaskListActionTests.swift"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c238418663753d857d8117a1cddeece5065edb864cc18096ffed82a3f1f107"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test_application_plan_executes_adopt_or_replace_from_version_relation: 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":"CaskHubTests/Homebrew/Workflows/CaskAdoptionWorkflowTests.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4c75b97adc2b1a76123d17e2c20c25ae282d7e07706b805d6cc1377320e83b"}},{"ruleId":"D13","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":"5e4023ae01f1ef8e8597aca01e60ffe3daac5e96766ddbb65a8d8f4b1d716933"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"c9e26749dcf654ad6dfd4c22dbe63e1bea52b2b205f0eaf9ddd815dcd5d37ce4"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"3a678d1af6202b133d4dc6f96d7e8d4170a453b392ee16b923ce1fd8a5829664"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"6b2a1078df63977c3b7e6347521cc2b3fbdf2af9afb6a31f22b7f9f8b88d14b0"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"f57f88cbb554fdf28a6abe6683fd3644df3d665af114f149dcd76db23c090db9"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: CaskHub/Services/Homebrew/Domain/LocalHomebrewError.swift: CaskHub/Services/Homebrew/Domain/LocalHomebrewError.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in LocalHomebrewError.errorDescription at line 143. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-15..2026-10-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-15 11:46:30 \u002B03:00\u0027 --until=\u00272026-10-13 11:46:30 \u002B03:00\u0027 --full-history --no-merges -- CaskHub/Services/Homebrew/Domain/LocalHomebrewError.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":"CaskHub/Services/Homebrew/Domain/LocalHomebrewError.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c39cb18d6516d54a0f8a197d3e38951dc44b026cf2765b34d012c1baf4b7bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: CaskHub/Services/Telemetry/CrashReporter.swift: CaskHub/Services/Telemetry/CrashReporter.swift changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CrashReporter.capture at line 84. 11 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-15..2026-10-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-15 11:46:30 \u002B03:00\u0027 --until=\u00272026-10-13 11:46:30 \u002B03:00\u0027 --full-history --no-merges -- CaskHub/Services/Telemetry/CrashReporter.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":"CaskHub/Services/Telemetry/CrashReporter.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a93a66a0ce5e1ad9eadb7f1b5c3331f74f0e99b98e687fb82d4338e3d1cef9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: CaskHub/Services/Homebrew/Infrastructure/InstallationIndexBuilder.swift: CaskHub/Services/Homebrew/Infrastructure/InstallationIndexBuilder.swift changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in InstallationIndexBuilder.resolveHomebrewApplicationState at line 114. 4 of those changes were fix/bug commits, and the other 4 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-07-15..2026-10-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-15 11:46:30 \u002B03:00\u0027 --until=\u00272026-10-13 11:46:30 \u002B03:00\u0027 --full-history --no-merges -- CaskHub/Services/Homebrew/Infrastructure/InstallationIndexBuilder.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":"CaskHub/Services/Homebrew/Infrastructure/InstallationIndexBuilder.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"be37c94b73327da05c86c9f9508136c0bb389424c28dd3fb0b10b355aa163be5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: CaskHub/Services/Homebrew/Domain/InstallReceipt.swift: CaskHub/Services/Homebrew/Domain/InstallReceipt.swift changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in InstallReceipt.init at line 14. 1 of those changes was a fix/bug commit, and the other 3 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-07-15..2026-10-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-15 11:46:30 \u002B03:00\u0027 --until=\u00272026-10-13 11:46:30 \u002B03:00\u0027 --full-history --no-merges -- CaskHub/Services/Homebrew/Domain/InstallReceipt.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":"CaskHub/Services/Homebrew/Domain/InstallReceipt.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ed6a96efc6cee45a32f8ec7ff92363326c3ea3cfedde2c32d223663e0d4294"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: CaskHub/Services/Homebrew/Coordination/HomebrewMutationCoordinator.swift: CaskHub/Services/Homebrew/Coordination/HomebrewMutationCoordinator.swift changed 17 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is HomebrewMutationCoordinator.handleFailure at line 342), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: recognize handled Homebrew cancellations\u201D; \u201Cfix: refresh installation state after failed repairs\u201D; \u201Cfix(homebrew): harden mutation execution and cancellation\u201D; \u201Cfix(homebrew): reject incompatible brew\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-07-15..2026-10-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-15 11:46:30 \u002B03:00\u0027 --until=\u00272026-10-13 11:46:30 \u002B03:00\u0027 --full-history --no-merges -- CaskHub/Services/Homebrew/Coordination/HomebrewMutationCoordinator.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":"CaskHub/Services/Homebrew/Coordination/HomebrewMutationCoordinator.swift"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8c54dff47ab9a91d65c54ab6331e7eb31e7b813951741971c8ed1216a1c930"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: CaskHub/Services/Homebrew/Infrastructure/HomebrewInstallationScanner.swift: CaskHub/Services/Homebrew/Infrastructure/HomebrewInstallationScanner.swift changed 14 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is HomebrewInstallationScanner.scanBinaryDirectories at line 240), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: keep uninstalls from stranding apps when data removal lacks Full Disk Access\u201D; \u201Cfix: Detect verified package and generic app artifacts\u201D; \u201Cfix: ignore Cellar formula shims in external CLI detection\u201D; \u201Cfix: limit payload filter to truncation, add askpass attention fallback\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-07-15..2026-10-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-15 11:46:30 \u002B03:00\u0027 --until=\u00272026-10-13 11:46:30 \u002B03:00\u0027 --full-history --no-merges -- CaskHub/Services/Homebrew/Infrastructure/HomebrewInstallationScanner.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":"CaskHub/Services/Homebrew/Infrastructure/HomebrewInstallationScanner.swift"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a7f657a8c2bcf252b3ff0bfc9b7e8f41ebe52e0380f56a492eab096a9a1ca5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: CaskHub/Views/Maintenance/MaintenanceDiskCard.swift: CaskHub/Views/Maintenance/MaintenanceDiskCard.swift changed 12 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is MaintenanceDiskCard.idleDescription at line 296), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Match Health and Shelf buttons to card sizing\u201D; \u201Cfix: right-align Health disk row actions\u201D; \u201Cfix: hide zero size on clean disk rows\u201D; \u201Cfix: resolve cache symlinks for installer listing, translucent scrim\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-07-15..2026-10-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-15 11:46:30 \u002B03:00\u0027 --until=\u00272026-10-13 11:46:30 \u002B03:00\u0027 --full-history --no-merges -- CaskHub/Views/Maintenance/MaintenanceDiskCard.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":"CaskHub/Views/Maintenance/MaintenanceDiskCard.swift"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"2509948df22521a27e0a64821afa5c669e5cd7072963e5b8a356b99cac307273"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: CaskHub/Services/Homebrew/Infrastructure/PackageReceiptResolver.swift: CaskHub/Services/Homebrew/Infrastructure/PackageReceiptResolver.swift changed 9 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is PackageReceiptResolver.verifiedReceiptCandidates at line 261), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: recognize reviewed products after Microsoft AutoUpdate\u201D; \u201Cfix: Resolve reviewed package products consistently\u201D; \u201Cfix: Prevent auxiliary package apps from claiming product ownership\u201D; \u201Cfix: Verify conditional package identities against installed receipts\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-07-15..2026-10-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-15 11:46:30 \u002B03:00\u0027 --until=\u00272026-10-13 11:46:30 \u002B03:00\u0027 --full-history --no-merges -- CaskHub/Services/Homebrew/Infrastructure/PackageReceiptResolver.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":"CaskHub/Services/Homebrew/Infrastructure/PackageReceiptResolver.swift"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e639f7ea7dc16f6c281d8bd210e33e9c04021858f63d31b596f717b72417bfac"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: CaskHub/Services/Homebrew/Infrastructure/HomebrewOutputDiagnostics.swift: CaskHub/Services/Homebrew/Infrastructure/HomebrewOutputDiagnostics.swift changed 7 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 4 (its worst body is HomebrewOutputDiagnostics.make 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: \u201Cfix: harden capture slicing and fragment order against review findings\u201D; \u201Cfix: classify field-mined brew failures, repair stderr capture fidelity\u201D; \u201Cfix: never capture task cancellation errors\u201D; \u201Cfix: keep brew error lines through progress floods and stop duplicate 5xx reports\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-07-15..2026-10-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-15 11:46:30 \u002B03:00\u0027 --until=\u00272026-10-13 11:46:30 \u002B03:00\u0027 --full-history --no-merges -- CaskHub/Services/Homebrew/Infrastructure/HomebrewOutputDiagnostics.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":"CaskHub/Services/Homebrew/Infrastructure/HomebrewOutputDiagnostics.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"52842271dc612bba66e0d39838c08ef7e42f86a231290bbe3634b1cb9c63247b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: CaskHub/Services/Homebrew/Coordination/CaskOperationFailureFactory.swift: CaskHub/Services/Homebrew/Coordination/CaskOperationFailureFactory.swift changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is CaskOperationFailureFactory.make 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: \u201Cfix: keep uninstalls from stranding apps when data removal lacks Full Disk Access\u201D; \u201Cfix: explain unaccepted Xcode license failures\u201D; \u201Cfix: make app conflict recovery explicit and safe\u201D; \u201Cfix: execute safe planned adoption workflows\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-07-15..2026-10-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-15 11:46:30 \u002B03:00\u0027 --until=\u00272026-10-13 11:46:30 \u002B03:00\u0027 --full-history --no-merges -- CaskHub/Services/Homebrew/Coordination/CaskOperationFailureFactory.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":"CaskHub/Services/Homebrew/Coordination/CaskOperationFailureFactory.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb2b36f5f8e692d219d8b662f61bdb1b9ea8a355d5dc2649f66b224f78174df"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: CaskHub/Services/Homebrew/Infrastructure/ApplicationDiscovery.swift: CaskHub/Services/Homebrew/Infrastructure/ApplicationDiscovery.swift changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is ApplicationOwnershipResolver.resolve at line 117), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: compare app builds for composite cask updates\u201D; \u201Cfix: make app conflict recovery explicit and safe\u201D; \u201Cfix: show verified installed app versions\u201D; \u201Cfix: require exact identity for external app ownership\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-07-15..2026-10-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-15 11:46:30 \u002B03:00\u0027 --until=\u00272026-10-13 11:46:30 \u002B03:00\u0027 --full-history --no-merges -- CaskHub/Services/Homebrew/Infrastructure/ApplicationDiscovery.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":"CaskHub/Services/Homebrew/Infrastructure/ApplicationDiscovery.swift"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedb6d075b13d522aa0c1eff7223d5c8059c1ce76e28d5bcd7c5ccb572b28f1f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: CaskHub/ViewModels/MaintenanceViewModel.swift: CaskHub/ViewModels/MaintenanceViewModel.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 9 (its worst body is MaintenanceViewModel.refreshDisk at line 243), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: mark clean disk rows with green check, sort rows by size\u201D; \u201Cfix: disk card loading spinner, Homebrew Doctor title, full-width Shelf Setup cards\u201D; \u201Cfix: align Health cards with top bar, animate checkup, run doctor with brew PATH\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-07-15..2026-10-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-15 11:46:30 \u002B03:00\u0027 --until=\u00272026-10-13 11:46:30 \u002B03:00\u0027 --full-history --no-merges -- CaskHub/ViewModels/MaintenanceViewModel.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":"CaskHub/ViewModels/MaintenanceViewModel.swift"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"17bca542ff482b43766405dbd4a5de5a987ca1da132f8ea79ef56064eb83388d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: CaskHub/Services/Homebrew/Domain/HomebrewCommandFailure.swift: CaskHub/Services/Homebrew/Domain/HomebrewCommandFailure.swift changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is HomebrewCommandFailure.diskImageKind at line 285), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: keep uninstalls from stranding apps when data removal lacks Full Disk Access\u201D; \u201Cfix: recover verified installs after cleanup failures\u201D; \u201Cfix: explain unaccepted Xcode license failures\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-07-15..2026-10-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-15 11:46:30 \u002B03:00\u0027 --until=\u00272026-10-13 11:46:30 \u002B03:00\u0027 --full-history --no-merges -- CaskHub/Services/Homebrew/Domain/HomebrewCommandFailure.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":"CaskHub/Services/Homebrew/Domain/HomebrewCommandFailure.swift"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c469bb556a54d35c0c67542e67e9033f113eacb501de0faee647ca7e71db12d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: CaskHub/Services/Homebrew/Coordination/InstallationCatalogBuilder.swift: CaskHub/Services/Homebrew/Coordination/InstallationCatalogBuilder.swift changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is InstallationCatalogBuilder.makeStoreSignatures at line 50), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: Resolve reviewed package products consistently\u201D; \u201Cfix: Verify conditional package identities against installed receipts\u201D; \u201Cfix: Detect verified package and generic app artifacts\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-07-15..2026-10-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-15 11:46:30 \u002B03:00\u0027 --until=\u00272026-10-13 11:46:30 \u002B03:00\u0027 --full-history --no-merges -- CaskHub/Services/Homebrew/Coordination/InstallationCatalogBuilder.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":"CaskHub/Services/Homebrew/Coordination/InstallationCatalogBuilder.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6287accff31b6ab797a86510868abffd71f5c967cb9b08fd7dd1c491a4a8f5c8"}},{"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 \u0060CaskHub.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHub.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dd72c4318de0117f176b437d1a959752bfea26e05069bd9fafbf5b4daef32e"}},{"ruleId":"D28","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":"f4832cce03a3549b73ec0e5e347e3c3b79ceee0d89fc8086c8dedcc0e5ce1600"},"properties":{"commitSha":"79668ad7c9169c7d9401419d06ed57630501d144"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","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":"67bec506ba617063bc687190d93ab6c21248cc6cf168486e80849d7b338e58d5"},"properties":{"commitSha":"79668ad7c9169c7d9401419d06ed57630501d144"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","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":"a4e4ee6d70c271c0beadd9c6d55f39c0f60626ccb61604c441cc7ebd424ea9a9"},"properties":{"commitSha":"79668ad7c9169c7d9401419d06ed57630501d144"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"c6d5f4aceb07250df7e5e7240bb6c36a721799c1e5e204a27fb815765aa93105"},"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":"00796af0082db75e3af8cc54c9bbb855cd7d6cac6e41838c43283accba9a40ec"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"693249723480b7d3690fbc9002e4acaa2fd5c4f5277d52948268b51530c89d1e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7adc332f2d68b4a8e35c8868ce3df7038dc1a68ece15e2a5c16dee165f7a002c"},"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":"ce03149def57ce0b5f3ec7a04394a472d579d57e8c2c464b2bc0a6079269883d"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"375aa49992373574035ff942ff8d8e3946c92773c7e2dbebafcb1f01a71ffa98"},"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":"1ddd4a3eacb5abc26b76d406ddb70aae9070bf3a368b86a2ade443eb3e11ee6d"},"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: CaskCardView.swift \u2194 CaskRowView.swift: \u0060CaskHub/Views/Shared/CaskCardView.swift\u0060 and \u0060CaskHub/Views/Shared/CaskRowView.swift\u0060 change together 80% of the time (8 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 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 8 shared commits counted here, the most recent 3 are \u0060b5c0b992\u0060 fix: draw cask icons at full tile size without a well and seat the ti\u2026; \u0060c0932c3e\u0060 feat: add a three-position catalog text size slider; \u0060fde9a7b4\u0060 fix: fit bounded catalog layouts on scaled displays \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHub/Views/Shared/CaskCardView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d694285d55442e8ad1d4cc51f6a3bf7ec51544cc7ae856199122cc3a5650343a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ContentView.swift \u2194 CaskCardView.swift: \u0060CaskHub/Views/ContentView.swift\u0060 and \u0060CaskHub/Views/Shared/CaskCardView.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 \u0060c0932c3e\u0060 feat: add a three-position catalog text size slider; \u0060fde9a7b4\u0060 fix: fit bounded catalog layouts on scaled displays; \u00603ee0ae78\u0060 Adopt the design system across the app UI (at that commit the file was still \u0060CaskHub/ContentView.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"CaskHub/Views/ContentView.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b717d699d8cb8e60fa5914bb1fe23ddf90baab398468f76c07fa7172589fecdc"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"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 5 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/release-freshness.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!$0.isMacAppStore \u0026\u0026 $0.isDirectlyInApplicationDirectory\u0060 appears character-identically in 2 files \u2014 CaskHub/Services/Homebrew/Domain/LocalHomebrewTypes.swift, CaskHub/Services/Homebrew/Infrastructure/PackageReceiptResolver.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":"CaskHub/Services/Homebrew/Domain/LocalHomebrewTypes.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed145edc292ba31c517695cfb39be44b2e027c301dca7a043033907ed6b76ea0"}},{"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":"CaskHub/ViewModels/MaintenanceViewModel.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"555d31e979dc260b3790e5c12e8017808abf75f873dc646aac180f65342030de"}},{"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":"CaskHub/Services/Homebrew/Infrastructure/HomebrewVersionLoader.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a07638a34606a6a9fa5e876c836bdfe7cf93148b3bd53fd8c2f72c976dcadec"}},{"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":"CaskHub/Services/Homebrew/Infrastructure/MaintenanceProbe.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"073677eb158c4caa9dd861ed35f1a9e9820bbb784ab8d44c4c56728facd567d1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060strings\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":"CaskHub/Models/Cask.swift"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38fd99f9721d5a4d47da478a53f1afeef2e5af741d98cbba7247128e74ddee0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060scanCaskroom\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":"CaskHub/Services/Homebrew/Infrastructure/HomebrewInstallationScanner.swift"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbf74e24426ed040fd2826b387e361cd8df3f121c267705ec40cdd28de662a7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060strandedCopyNames\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":"CaskHub/Services/Homebrew/Infrastructure/HomebrewInstallationScanner.swift"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca66443ce6ad1c6dc5ae1e07df8d6142b3a5af3ea0bdf5b77ac815fb8374347"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-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-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":20,"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."]}]}