{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"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":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"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":"Keychain.prettify (cyclomatic 17): Keychain.prettify has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Status.description (cyclomatic 404) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Keychain.swift"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"92df054ce9cd5095e482dcbc3f3444a286ff0aee0e8955fd9c8f7a599b5e262e"}},{"ruleId":"D1","level":"warning","message":{"text":"Keychain.prettify (cyclomatic 17): Keychain.prettify has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a0e4ffd3b58c482d66badd53b9687ad10c2d6ff591862f37a0a1220145067f"}},{"ruleId":"D2","level":"warning","message":{"text":"Keychain.set (cognitive 27): Keychain.set has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 1, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Keychain.swift"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04a487892914d09afaa77b74f6a2a322a9eedef0a0304b855d744f28a445009"}},{"ruleId":"D2","level":"warning","message":{"text":"Keychain.contains (cognitive 27): Keychain.contains has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 2, match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Keychain.swift"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51b97783b1b03579d3bbb9fd3bfb3ab68db8174aebdf9e13e5aaede198c1a00"}},{"ruleId":"D2","level":"warning","message":{"text":"Keychain.prettify (cognitive 27): Keychain.prettify has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (24 pts), ternaries 1 (2 pts), match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Keychain.swift"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d865b4f87d9a896bd774fadd819a69cc6a08269a667b44ec05eececeb14a0c3"}},{"ruleId":"D2","level":"warning","message":{"text":"Keychain.set (cognitive 27): Keychain.set has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 1, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8975cb34e04a9f5863db12692b24a75b3684b83564be258889ef6e6140ed15"}},{"ruleId":"D2","level":"warning","message":{"text":"Keychain.contains (cognitive 27): Keychain.contains has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 2, match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e6b568e38f4f9e53cfaf7e0a22be991cc011a43038e3444d4c5b37513cbefa"}},{"ruleId":"D2","level":"warning","message":{"text":"Keychain.prettify (cognitive 27): Keychain.prettify has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (24 pts), ternaries 1 (2 pts), match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f21bea45fef05941cd0e98456e551e00da785177ef720385c92236760d7257f"}},{"ruleId":"D2","level":"warning","message":{"text":"Options.attributes (cognitive 17): Options.attributes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Keychain.swift"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fcde8bbb7343074ac7db8eea52cf7c7e253e3416b4dbc1bf220d2e3f45c4ae"}},{"ruleId":"D2","level":"warning","message":{"text":"Keychain.requestSharedWebCredential (cognitive 16): Keychain.requestSharedWebCredential has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (16 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Keychain.swift"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb64bebd0b19566f4d0eb4fac59d6a2547d9f209462fb6d79fd0a3b00f7c242"}},{"ruleId":"D2","level":"warning","message":{"text":"Keychain.requestSharedWebCredential (cognitive 16): Keychain.requestSharedWebCredential has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (16 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":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"1870ab122a68228b4a81c76221cc745446d3592bf95d8f3a33744e910dde3cd1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Status.description: MethodTooLong \u2014 description runs 808 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 708 over it, 8.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Keychain.swift"},"region":{"startLine":2246}}}],"partialFingerprints":{"codehealthFindingId/v1":"79949e56fc10121e42a68a9ddf1510a6ad50e62c11ca0bb29430606db059649a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: KeychainAccess/Keychain.swift: FileTooLong \u2014 2440 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1940 over it, 4.88\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8e4f4ffca1a79c76361d3729467b928c8ae70e6034529b0483404b5ac5d0ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Sources/Keychain.swift: FileTooLong \u2014 2440 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1940 over it, 4.88\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Keychain.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"470c2ce44d70cdb2249b9eedfd6241d9b193a6de2fbc64c0bc807aeb85cb1936"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Keychain: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0b80fe55218942bb540ae0f6db3e0e0f7a4202d39ad6f98d4293c095a4d5fe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Keychain: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Keychain.swift"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"3507ccfa86b52867787c46b9447924d74e8a37a04f2b14f5e04ee66a84dbfe6b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Keychain: ClassTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 120 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b7c824dac7b08f65daee727191778d0b9a262c52b886606269d72f96fc5ccc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Keychain: ClassTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 120 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Keychain.swift"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"9815ffcb7109b0d17c4cbcce0ad4ddcdc0ca96b7ea25349486f3416ebe1284a8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Status: ClassTooLong \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Keychain.swift"},"region":{"startLine":1830}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcffab8a42fa7f4902a9bd55f9778e06515e205c34416bf961e8625236a4c0c2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Status: ClassTooLong \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded), 0 methods. The bar is 400 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":1830}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f01587dbfb681ddb32c598bb0c5ffa85a0c77fd5af16ad91a2b10e6ccbd1db5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Lib/KeychainAccess/Keychain.swift:926-950 | Lib/KeychainAccess/Keychain.swift:1099-1122 | Sources/Keychain.swift:926-950 | Sources/Keychain.swift:1099-1122 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1ba163fcf3a0551c66c8dd9b7b1bd443784c24d12654b8400f980473563782"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Lib/KeychainAccess/Keychain.swift:999-1002 | Sources/Keychain.swift:999-1002 \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":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"13214afaa765b0b25ba43759bd607c52cedc7c879d0b3755c56b57410de2420c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 4\u002B corresponding lines): Lib/KeychainAccess/Keychain.swift:1031-1034 | Lib/KeychainAccess/Keychain.swift:1038-1041 | Lib/KeychainAccess/Keychain.swift:1045-1048 | Sources/Keychain.swift:1031-1034 | Sources/Keychain.swift:1038-1041 | Sources/Keychain.swift:1045-1048 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"93eb79326e137cbdd6ea8901a42c5e9a131b35e0f7473954fb02ef6a142ccf4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Lib/KeychainAccess/Keychain.swift:1024-1027 | Sources/Keychain.swift:1024-1027 \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":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8570e69e70f92e0578cd9c2bc60aa5513877f198545212d53aeebfc1e95ecdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Lib/KeychainAccess/Keychain.swift:504-506 | Sources/Keychain.swift:504-506 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f695f954ab5f49f275bb6901482ceb145330269c2ee1984806f9270a880d47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Lib/KeychainAccess/Keychain.swift:952-954 | Sources/Keychain.swift:952-954 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"f682efc9622f7d14b7f206dab2017981a0884c778817c3ea611769995b14487b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Lib/KeychainAccess/Keychain.swift:589-591 | Sources/Keychain.swift:589-591 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3dff8949b9bb009cc57d6b22f23453aa8a40684326c3e5c70743e7b6bf9a08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (75 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:666-740 | Sources/Keychain.swift:666-740 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Lib/KeychainAccess/Keychain.swift:666\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":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14bfe4f0cb69640094824257d6e8a31ba53936e2e794bac3b7c39f2f1dfea68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:1124-1178 | Sources/Keychain.swift:1124-1178 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e510cfef99fedc57feff3b809c82434c86781d31f31f2ef644ee857fdbc088"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:832-880 | Sources/Keychain.swift:832-880 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Lib/KeychainAccess/Keychain.swift:832\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":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51af1bcb1e10d63bc32c76341b0fe9508632186ffa13817883e11a8e7d14773"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:884-913 | Sources/Keychain.swift:884-913 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4350ecc1cd69538cabb37c6e185a3e89ba17cab7e5d8664dd51d1dc915afc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:1054-1083 | Sources/Keychain.swift:1054-1083 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5178018088c6a33089e16f657359875c7551969390d1eae0787450325aa443"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:628-654 | Sources/Keychain.swift:628-654 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b50082225fa21b134b7f28442dab45860e4533010818e06ab13efcef4589a18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:926-950 | Sources/Keychain.swift:926-950 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"15925de582f07efee50ffab7d41ed03ef50dbe6867ea95f31f66586572b52bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:1099-1122 | Sources/Keychain.swift:1099-1122 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed68837203793e72ded8b00875cac097c25c1f72b7e34832ed2745fe38887d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:604-626 | Sources/Keychain.swift:604-626 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"0157adbf179dd7d2e018b96bb0ff44a23fd6ee7924e7d01e96226888a95b1525"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:977-995 | Sources/Keychain.swift:977-995 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa31be0cae384273e1e16054f4697356cadadc5651856ae277827c8e02dbd5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:957-973 | Sources/Keychain.swift:957-973 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"123bcb9f22290b2213ba6be0d32a51b01e372095031db3dcdf54fe1dfe92f52e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:1006-1020 | Sources/Keychain.swift:1006-1020 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"9399a600acd75db410f827603990583c742eea4cc986ad799d7f38b6bc945011"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): Lib/KeychainAccess/Keychain.swift:929-940 | Lib/KeychainAccess/Keychain.swift:1101-1112 | Sources/Keychain.swift:929-940 | Sources/Keychain.swift:1101-1112 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Lib/KeychainAccess/Keychain.swift:929\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea50b5e948dd31c972ec9fd89ac925998287c2275b39f38a03c982df6b6e67ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:818-828 | Sources/Keychain.swift:818-828 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebc05aa2b5e0abf2cb6560736ca975758014f72ab5b6a7fff1fd3af8f0affad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:593-602 | Sources/Keychain.swift:593-602 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b38ca0b7dff1304279473eeba4f2c68fb66655e27d47e522569e1c0c57a129f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:508-516 | Sources/Keychain.swift:508-516 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b6669db06ab8781e5c345e66f6dd20b7ea182b48d06f99020d6a7d11bb869c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:808-816 | Sources/Keychain.swift:808-816 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ab42070fb482ea68e9cea4c284937b756385c03c7a980dfa6c8728f3dd881b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:915-924 | Sources/Keychain.swift:915-924 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab4081e35ffd603e1d316ea8cccd0bbef9a015968d12b12ac4e24f6188589b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:530-537 | Sources/Keychain.swift:530-537 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86e36892628dc3d481ca52c46539748c69b746fc89210b520534184aefae47c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:658-664 | Sources/Keychain.swift:658-664 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdef084db6b3f99605dcb5b53f055ffb2f49fdf537153d4c6204f6cb2e36e13b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:325-334 | Sources/Keychain.swift:325-334 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Lib/KeychainAccess/Keychain.swift:325\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ce766f9a8afdb8883538e9fc13c610d3d22168dea994875ca485dda68d31d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:480-486 | Sources/Keychain.swift:480-486 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"731e8cc4f04675c5f5b71f36857a967c0ac14bd5b839a093c09b6e4f775c793f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:488-495 | Sources/Keychain.swift:488-495 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"066431641668b76356d3fd8f0ee07c6ff3ac80449164f74f643f3caec26f4486"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:497-502 | Sources/Keychain.swift:497-502 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"6863e6f8e735f0f0c503a94b9d76fc3bbe9d7c67b6ff71eb2194740571dce383"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:557-561 | Sources/Keychain.swift:557-561 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"57918f7bbdc012605c4986f53636e11dbf8997c1051664606e11133920318480"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:563-569 | Sources/Keychain.swift:563-569 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73a87a32879c9df4efbb8367444627e0f49220f8c8eb2a3c5017d48583b9336"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:571-576 | Sources/Keychain.swift:571-576 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"257b618a2c6d334abaadbc1b0dffa9bc0ca851a1b36f0422542d8088cc9a8e94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:579-584 | Sources/Keychain.swift:579-584 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c53a8ae783ef348820d5aa87360949d8c35b220fbea621b4d51aea5a6b2a42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Lib/KeychainAccess/Keychain.swift:1182-1190 | Sources/Keychain.swift:1182-1190 \u2014 before extracting anything, compare \u0060Lib/KeychainAccess/Keychain.swift\u0060 and \u0060Sources/Keychain.swift\u0060 as WHOLE FILES: this scan already matched 29 separate duplicated blocks between them, totalling at least 529 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"8200ba4f7f7d946cd3f8fe55584070a94e00ab6b97e0928f65746dce8f4e9573"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Examples/Example-iOS/Example-iOS/AccountsViewController.swift:87-104 | Examples/Example-iOS/Example-iOS/AccountsViewController.swift:107-124 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Examples/Example-iOS/Example-iOS/AccountsViewController.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"107d07eaffde0a1e3a312133d5c2209e9b0b7ef21d1e5af8fee014d4fa690c3c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: InputViewController (LCOM4 4): InputViewController\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":"Examples/Example-iOS/Example-iOS/InputViewController.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"301e3a6ee76d40274994dcce6c2096800de02a4cd2910ac8c175da2aeee989d5"}},{"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 \u0060Lib/TestHost-MacCatalyst/TestHost-MacCatalyst.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/TestHost-MacCatalyst/TestHost-MacCatalyst.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa7f1410de518ae86487c6286c0469f5796733deb8e3d540f54ef869de93baf"}},{"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":"b923d2a6d4bf9f3d17a069114b8d29dce8e6bc49ce4ae2931de0efd9a515de40"},"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":"277e94fc8909ab8d2f97ad18955fb601e90a1d45f15142f292c65b1f4cec9c1a"},"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":"77be6b8aeff0d03438e9a3d4369eddcce424d5b81f795be7612d49bb9d5e67fe"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a3f8e1b2d2da24b3ad6f0bb8f4c674efbef1f9371696487403ea759316fcda"}},{"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":"bee16a916192bc47803c755fa5c777c01a15fb56e69ce46b43bdf718adcb77fa"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"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 1 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/test.yml"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os(iOS) \u0026\u0026 !targetEnvironment(macCatalyst)\u0060 appears character-identically in 2 files \u2014 Lib/KeychainAccess/Keychain.swift, Sources/Keychain.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":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f9871163df686c65ad709a25dd153ccf664dd42d0bccdf69602c5d6a2e2fb2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status != errSecSuccess \u0026\u0026 status != errSecItemNotFound\u0060 appears character-identically in 2 files \u2014 Lib/KeychainAccess/Keychain.swift, Sources/Keychain.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":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3188075e1dd1a6f8bff38a5cc4e5ed85a66899f327eebed28056abf7666064"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status == errSecInteractionNotAllowed \u0026\u0026 floor(NSFoundationVersionNumber) \u003C= floor(NSFoundationVersionNumber_iOS_8_0)\u0060 appears character-identically in 2 files \u2014 Lib/KeychainAccess/Keychain.swift, Sources/Keychain.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":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8ac3ef1c91ea316cab082195c2d47cbbda78de9f9fca72a461076de2dd22bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Keychain.swift"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a39de531b3fc5c715c134bf9d1ca53655b92366649a7ef4603018660aaa761"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Keychain.swift"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2a7b1cbcb51a2403118aedb88908174fb83a727bd965e344db500342576473"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Keychain.swift"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"a598ca19326e3a7fc6b9b90d69977f01d1237f7caa7ed7c12dfa6b9e22cd21cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/Keychain.swift"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e894d55600c74c4376670827de8396bb2b1f80d178b8bbc23260d42550a6be"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"c458052dfa18c1ab7179090ad3e4a0c8884f6231ba66b1e3a68df4aac80a7805"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"c600c87bf7e933a9dc8a23372e9c23cd0cc634ccec989b5f0170a44ad5a3a2a3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddebda2fd748b6f40a2b1bb34b64ed7f88e50ac6eb7d8a3cec450d9024300479"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Lib/KeychainAccess/Keychain.swift"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d83af57136131ccbb34708ed25a46a192b6cfc4e4eb42aebdf3938367385088"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":6,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}