{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"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":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"CredentialsManager.retrieveCredentialsWithRetry (cyclomatic 16): CredentialsManager.retrieveCredentialsWithRetry 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":"Auth0/CredentialsManager.swift"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76218ee6ca7159ba63288c7b0ea2d093efa5475880815c1014bdd814a17681e"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialsManager.retrieveCredentialsWithRetry (cognitive 29): CredentialsManager.retrieveCredentialsWithRetry has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (17 pts), error handling 3 (5 pts), boolean chains 3, match/switch 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: Auth0/CredentialsManager.swift holds 2 of the 4 methods over the threshold \u2014 including the worst \u2014 and 22 of the 26 points over it (85%), 7.3\u00D7 the next-largest file (App/ContentView.swift at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/CredentialsManager.swift"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d9bb40c9145e74edc843b575e777801ceec0b1c5513c9d9aef82ef9d8bed7c"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialsManager.retrieveAPICredentials (cognitive 23): CredentialsManager.retrieveAPICredentials has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 3 (5 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This file is where this pass\u0027s cognitive complexity CONCENTRATES: Auth0/CredentialsManager.swift holds 2 of the 4 methods over the threshold \u2014 including the worst \u2014 and 22 of the 26 points over it (85%), 7.3\u00D7 the next-largest file (App/ContentView.swift at 3). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/CredentialsManager.swift"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4e3ca830f2381eacaef0d7d1704b8b2ebcf0c590e7e1ab6c34230e5a00f6d4"}},{"ruleId":"D2","level":"warning","message":{"text":"OTPInputView.body (cognitive 18): OTPInputView.body has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 2 (3 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"App/ContentView.swift"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b6c89817a19bc875b89846ce6751433d20d1a1f9d7d45f22fcd32974411d40"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentViewModel.finalizePasskeySignupVerification (cognitive 16): ContentViewModel.finalizePasskeySignupVerification has cognitive complexity 16 (threshold 15). Drivers by points: error handling 6 (8 pts), if/else 5 (7 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"App/ContentViewModel.swift"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d44b13949fccae5ea68ddc1e2f35c1844dd38916ce4ef15a166d17e2e3b9d7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CredentialsManager: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/CredentialsManager.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"843fbd65047eebb767b1977bcee596d729d96610912b76dbb790581bada60b35"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CredentialsManager: ClassTooLong \u2014 484 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 400 significant lines; this is 84 over it, 1.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/CredentialsManager.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed17236ceaf5454e0375fb47054d7a5ab15d54394b29715543071800822f9aaf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Auth0/CredentialsManager.swift: FileTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: CredentialsManager (27-1184). The bar is 500 significant lines; this is 89 over it, 1.18\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/CredentialsManager.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ca075bb17a48ca8c221c136718202452700de74d8b117e5768c923be14d811"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Auth0Authentication: ClassTooLong \u2014 444 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 44 over it, 1.11\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":"Auth0/Auth0Authentication.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fe193a39e2a12522d6cfc08bd0c7afcf75a791bec7a72e9e5316afca6b8606"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Auth0WebAuth: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/Auth0WebAuth.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5981685652668fd187cecf19683b2cf4b5c34ff9d7347c1194abadc4f301c421"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): Auth0/MyAccount/AuthenticationMethods/EmailEnrollmentChallenge.swift:19-31 | Auth0/MyAccount/AuthenticationMethods/PasskeyEnrollmentChallenge.swift:58-77 | Auth0/MyAccount/AuthenticationMethods/PasswordEnrollmentChallenge.swift:25-38 | Auth0/MyAccount/AuthenticationMethods/PhoneEnrollmentChallenge.swift:19-31 | Auth0/MyAccount/AuthenticationMethods/PushEnrollmentChallenge.swift:29-43 | Auth0/MyAccount/AuthenticationMethods/RecoveryCodeEnrollmentChallenge.swift:25-38 | Auth0/MyAccount/AuthenticationMethods/TOTPEnrollmentChallenge.swift:29-43 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/MyAccount/AuthenticationMethods/EmailEnrollmentChallenge.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d909ae6fbedb80c09351e9ac301f695846854f8705e8c61e6b7ad6a771d7fb71"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:83-95 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:97-109 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:111-123 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:125-138 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:140-155 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:157-172 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c1794bf7e01657a2eaacdf6f27ec6b452e18a1e14dc0a95a5b382c05cb8248"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:174-189 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:191-206 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:208-223 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:225-239 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:241-256 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:258-271 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06507cd80e0d1c880542a2c4ce768606b173c1daaf862a5eeced5118f73e79e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Auth0/AuthenticationHandlers.swift:3-20 | Auth0/MFA/MFAHandlers.swift:3-20 | Auth0/MFA/MFAHandlers.swift:22-39 | Auth0/MFA/MFAHandlers.swift:41-58 \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":"Auth0/AuthenticationHandlers.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b320d62526cb4807965ff41d347e9b9438b275d1924b9554b720de278ceb0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): Auth0/Auth0Authentication.swift:150-194 | Auth0/Auth0Authentication.swift:214-264 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/Auth0Authentication.swift"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b3b1c44128f52f1d24ac69b597a7b6ee3d2478034235f0319e3dfc5883c711"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Auth0/MyAccount/AuthenticationMethods/PasskeyAuthenticationMethod.swift:114-138 | Auth0/PublicKeyCredentialCreationOptions.swift:39-61 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/MyAccount/AuthenticationMethods/PasskeyAuthenticationMethod.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28ef75af8844724f4bde0b5d037d783dfde016f0a86413396e22d9f4bfe4120"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): Auth0/MyAccount/MyAccountHandlers.swift:3-20 | Auth0/MyAccount/MyAccountHandlers.swift:44-61 | Auth0/MyAccount/MyAccountHandlers.swift:63-80 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/MyAccount/MyAccountHandlers.swift"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6522f7aac900160d024c372d325a3fc8bb1ca31642a8939977be4616f6bb7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): Auth0/Auth0Authentication.swift:282-306 | Auth0/Authentication.swift:1385-1410 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/Auth0Authentication.swift"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5ccf92a02f85a74f99c5c978b9d434cab5b8ef76db93af03c2cf146a5978f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): Auth0/Auth0Authentication.swift:32-54 | Auth0/Auth0Authentication.swift:438-465 | Auth0/Auth0Authentication.swift:546-565 | Auth0/Auth0Authentication.swift:573-594 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/Auth0Authentication.swift"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"35464b20ad729aa36151dabd39d2d0ca05eced186739a977c0344bd263d9a7b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Auth0/Auth0Authentication.swift:509-525 | Auth0/Auth0Authentication.swift:527-544 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/Auth0Authentication.swift"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6cd15219aec672ceb61cdd965a28064122d48bb2ee4153af5072623387ccf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): Auth0/Auth0Authentication.swift:369-385 | Auth0/Auth0Authentication.swift:387-402 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/Auth0Authentication.swift"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"4660185f065b309808652ec625ad7272438484bfe8836ceaf9bb1599e13de18f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): Auth0/Request.swift:156-172 | Auth0/Request.swift:179-193 \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":"Auth0/Request.swift"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca894d8a3e05b0978d6321e05f5eb7623825702222c73e9dfa66dd13aee21357"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): Auth0/Auth0Authentication.swift:622-634 | Auth0/MFA/Auth0MFAClient.swift:163-175 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/Auth0Authentication.swift"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad22d99dfc0210f90de0728064f26d4f876c1388c8ed1b2307aaa42ccf50a48c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): Auth0/MFA/Auth0MFAClient.swift:35-49 | Auth0/MFA/Auth0MFAClient.swift:51-65 | Auth0/MFA/Auth0MFAClient.swift:81-93 | Auth0/MFA/Auth0MFAClient.swift:135-149 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/MFA/Auth0MFAClient.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd959124cd68e58f5c40cd5fe08268ce2d2b5409e82704fa9c7f74606a66e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): Auth0/Auth0Authentication.swift:266-280 | Auth0/Authentication.swift:1308-1321 | Auth0/Authentication.swift:1328-1345 | Auth0/Authentication.swift:1367-1383 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/Auth0Authentication.swift"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"56dbda2424588b6becdabf5e6ec162e0800bbc547b364e447369314ba1343a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Auth0/AuthenticationHandlers.swift:64-74 | Auth0/MyAccount/MyAccountHandlers.swift:32-42 \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":"Auth0/AuthenticationHandlers.swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedf7b8be0e558fb57ead34ccac180235ea0bc06b61d9b9c6a59facf06c539d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): Auth0/CredentialsManager.swift:645-657 | Auth0/CredentialsManager.swift:767-776 \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":"Auth0/CredentialsManager.swift"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"0524f81de228a21d8d256991a447c555e710d8ecd5cab9b983a73445b8908565"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): Auth0/CredentialsManager.swift:1310-1323 | Auth0/CredentialsManager.swift:1401-1416 | Auth0/CredentialsManager.swift:1486-1495 | Auth0/CredentialsManager.swift:1542-1551 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/CredentialsManager.swift"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f43191d1cf3518307363e6810c365c21a4141acc9de93499c6594653e81e9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:273-282 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:300-309 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:311-320 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"8999fc815bbc9d1f2dc2c8913dd3ce628814e9be2c3480bd7bc9f3884c44c17a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Auth0/AuthenticationHandlers.swift:23-30 | Auth0/MyAccount/MyAccountHandlers.swift:23-30 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/AuthenticationHandlers.swift"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda6403279361b9a50541548638be8d8a0917580faa17b30811d644626060545"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Auth0/SafariProvider.swift:108-121 | Auth0/WebViewProvider.swift:153-163 \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":"Auth0/SafariProvider.swift"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eec5b4e4e606a406ed0ed40509ea3b6b1498b95d67c7350e9ab491aa821bee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Auth0/Auth0Authentication.swift:24-26 | Auth0/Auth0Authentication.swift:28-30 \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":"Auth0/Auth0Authentication.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4bafc4f154ed61c09f0724ad3f1058de1ed0c3e77c4f4a3db7ebce44bc6b03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): Auth0/WebViewProvider.swift:203-208 | Auth0/WebViewProvider.swift:210-215 \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":"Auth0/WebViewProvider.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44cc49a347101993e7a90c3444868dcd975368471276531bf6d80e372a1f57d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Auth0/TokenRequest.swift:210-220 | Auth0/TokenRequest.swift:222-232 | Auth0/TokenRequest.swift:234-244 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/TokenRequest.swift"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12303d6ef18e85b7ccb040f3781a59aeb3df48b4a1b951b28f875c0f80c94b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Auth0/Auth0Authentication.swift:482-490 | Auth0/MFA/Auth0MFAClient.swift:153-161 \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":"Auth0/Auth0Authentication.swift"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"71551c73bddb88d9adc9e7a50869dbe778368c8e2ae71025c019fde8312775c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Auth0/AuthenticationError.swift:186-196 | Auth0/MFA/MFAErrors.swift:50-60 \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":"Auth0/AuthenticationError.swift"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3841295250e9b9b8b43690d3dfc1fdec2888e083cbc4b230e1772dbdcebd74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): Auth0/Authentication.swift:1269-1271 | Auth0/Authentication.swift:1273-1283 | Auth0/Authentication.swift:1285-1293 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":"Auth0/Authentication.swift"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aabbc2b78534e3fbd5febdca3ba57e6759f5a5c7baafb009bbe0f7fef280f8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Auth0/APICredentials.swift:34-41 | Auth0/SSOCredentials.swift:46-54 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/APICredentials.swift"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e450a37cbc4540cf6704abfc4d4c34bdb2d4bb7931f1d7f4048127ec75bd9976"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): Auth0/Auth0WebAuth.swift:441-450 | Auth0/CredentialsManager.swift:1229-1236 | Auth0/PARWebAuth.swift:209-218 \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":"Auth0/Auth0WebAuth.swift"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"36eded95819868365fede52ef2b44d0bc0004ab8722c843034120bc4e757c2c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Auth0/Auth0.swift:60-62 | Auth0/MyAccount/MyAccount.swift:26-28 \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":"Auth0/Auth0.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a95ed17a03c73c32a2ec297a5b30cadb44a618e710bec2499f021ddf364d02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): Auth0/CredentialsManagerError.swift:151-153 | Auth0/DPoP/DPoPError.swift:79-81 | Auth0/WebAuthError.swift:107-109 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":"Auth0/CredentialsManagerError.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18a4dd2cf65b51f93b3f9ae7095c24937f0f705ba752d6c0258f3ffdc15a2d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): Auth0/MyAccount/Profile/MyAccountProfile.swift:193-195 | Auth0/PasskeyVerificationMethod.swift:65-67 \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":"Auth0/MyAccount/Profile/MyAccountProfile.swift"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f55399359f8a521cb8a9066d02d5996517cac422e2401de1cba77ff7d2e0f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): Auth0/LoginTransaction.swift:65-68 | Auth0/LogoutTransaction.swift:24-27 | Auth0/PARTransaction.swift:57-60 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/LoginTransaction.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c09a3cb40be719a9e5e607a8f4b9b47d7d10559980c653aaab814a5990829cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Auth0/CredentialsManager.swift:988-1004 | Auth0/CredentialsManager.swift:1055-1071 \u2014 both copies are in the same file, so extract the block 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 \u0060Auth0/CredentialsManager.swift:988\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":"Auth0/CredentialsManager.swift"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbf164598856c0b3b23be687684bec982030462302a16f1706a7b6f1ee3f059"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): Auth0/Auth0Authentication.swift:369-383 | Auth0/Auth0Authentication.swift:387-400 \u2014 both copies are in the same file, so extract the block 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 \u0060Auth0/Auth0Authentication.swift:369\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/Auth0Authentication.swift"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c331097414b91636e126cac407984e4b7662a1007da00b24ed8e2f9892e21e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Auth0/CredentialsManager.swift:932-946 | Auth0/CredentialsManager.swift:1085-1099 \u2014 both copies are in the same file, so extract the block 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 \u0060Auth0/CredentialsManager.swift:932\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Auth0/CredentialsManager.swift:1084\u0060 calls \u0060store\u0060 and \u0060Auth0/CredentialsManager.swift:931\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/CredentialsManager.swift"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c993281e61a262bbbe526c29c506e32916509e043a6dfc1fd5149a86b63b71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): Auth0/Auth0Authentication.swift:41-54 | Auth0/Auth0Authentication.swift:64-77 \u2014 both copies are in the same file, so extract the block 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 \u0060Auth0/Auth0Authentication.swift:41\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/Auth0Authentication.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf09df53e6387344339a0b9add7c1550ec746fef2b53f1c4d7600a80edcd68cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Auth0/MFA/Auth0MFAClient.swift:37-49 | Auth0/MFA/Auth0MFAClient.swift:137-149 \u2014 both copies are in the same file, so extract the block 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 \u0060Auth0/MFA/Auth0MFAClient.swift:37\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/MFA/Auth0MFAClient.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f78058d236506c2ff440e0c6005b98168c41b34b766addd76d6e11aed69c32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): Auth0/Auth0Authentication.swift:374-385 | Auth0/Auth0Authentication.swift:392-402 | Auth0/Auth0Authentication.swift:470-480 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Auth0/Auth0Authentication.swift:374\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/Auth0Authentication.swift"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"292006a160a7edd21c2fff4e8c20b6e146e92b3003b3dcfe500fb0c7b124c2a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Auth0/Auth0Authentication.swift:514-525 | Auth0/Auth0Authentication.swift:533-544 \u2014 both copies are in the same file, so extract the block 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 \u0060Auth0/Auth0Authentication.swift:514\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/Auth0Authentication.swift"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f40d0448c9e2d76554dfd8b7c44f2319aa4f89e1b08de188f72bd3c78f6013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Auth0/Auth0Authentication.swift:95-105 | Auth0/Auth0Authentication.swift:113-122 \u2014 both copies are in the same file, so extract the block 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 \u0060Auth0/Auth0Authentication.swift:95\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/Auth0Authentication.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5604e41449398de829307ef67aa0630681f28b0a8d1f8fe46ee03084720bb655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Auth0/Auth0Authentication.swift:226-236 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:54-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/Auth0Authentication.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"666c2c119de449c1d7054eab0018f5d2c1fd580af2828eaa56ffba1802570983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Auth0/Auth0Authentication.swift:282-292 | Auth0/Auth0Authentication.swift:308-318 \u2014 both copies are in the same file, so extract the block 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 \u0060Auth0/Auth0Authentication.swift:282\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":"Auth0/Auth0Authentication.swift"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4303d2c88d9b3965c876bf8d93913670566153011bd0eb6e65f7c44eb21462b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:86-95 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:100-109 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:114-123 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:129-138 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:146-155 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:163-172 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:86\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f531d3fbc636b660dc3d3354570d2aec5759822a40b71ce6c1db15a544a2a560"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): Auth0/MyAccount/AuthenticationMethods/EmailEnrollmentChallenge.swift:19-28 | Auth0/MyAccount/AuthenticationMethods/PasskeyEnrollmentChallenge.swift:58-67 | Auth0/MyAccount/AuthenticationMethods/PhoneEnrollmentChallenge.swift:19-28 | Auth0/MyAccount/AuthenticationMethods/PushEnrollmentChallenge.swift:29-38 | Auth0/MyAccount/AuthenticationMethods/RecoveryCodeEnrollmentChallenge.swift:25-34 | Auth0/MyAccount/AuthenticationMethods/TOTPEnrollmentChallenge.swift:29-38 \u2014 before extracting anything, compare \u0060Auth0/MyAccount/AuthenticationMethods/EmailEnrollmentChallenge.swift\u0060 and \u0060Auth0/MyAccount/AuthenticationMethods/PhoneEnrollmentChallenge.swift\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Auth0/MyAccount/AuthenticationMethods/EmailEnrollmentChallenge.swift:19\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Auth0/MyAccount/AuthenticationMethods/RecoveryCodeEnrollmentChallenge.swift:36\u0060 calls \u0060decode\u0060 and \u0060Auth0/MyAccount/AuthenticationMethods/EmailEnrollmentChallenge.swift:30\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/MyAccount/AuthenticationMethods/EmailEnrollmentChallenge.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3cdda917ad8756d199c59d9715efa82474beaba2849bb3701be9bce985f9e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Auth0/CredentialsManager.swift:892-901 | Auth0/CredentialsManager.swift:984-993 \u2014 both copies are in the same file, so extract the block 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 \u0060Auth0/CredentialsManager.swift:892\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":"Auth0/CredentialsManager.swift"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"331d9a9afd588326bc2bf9d1a3a54c6c9de81c05777c7bdeba53e7aafed562cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Auth0/DPoP/KeychainKeyStore.swift:45-54 | Auth0/DPoP/SecureEnclaveKeyStore.swift:40-49 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/DPoP/KeychainKeyStore.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d0ca096e68c948901856a34a3b77881a1d6c8d74c3d1f324107ab4b1596dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:180-189 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:197-206 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:214-223 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:230-239 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:247-256 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:262-271 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:180\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9fa2e0bdd2d678078d0cfbeae599c23cdfb3bb11230f3f704c8255b1bb6b58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Auth0/CredentialsManager.swift:895-903 | Auth0/CredentialsManager.swift:987-995 | Auth0/CredentialsManager.swift:1054-1062 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/CredentialsManager.swift"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d78fc9eeb79339e94015c20a697373f0cde9d3a851079557485d093d947bf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Auth0/Auth0Authentication.swift:157-165 | Auth0/Auth0Authentication.swift:223-231 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Auth0/Auth0Authentication.swift:157\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":"Auth0/Auth0Authentication.swift"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3d8795e87b9ae838cdf3433fac4d56059d12d29b830917e3df8b4336e71a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): Auth0/MyAccount/AuthenticationMethods/EmailEnrollmentChallenge.swift:22-29 | Auth0/MyAccount/AuthenticationMethods/PasswordEnrollmentChallenge.swift:28-35 | Auth0/MyAccount/AuthenticationMethods/PhoneEnrollmentChallenge.swift:22-29 | Auth0/MyAccount/AuthenticationMethods/PushEnrollmentChallenge.swift:32-39 | Auth0/MyAccount/AuthenticationMethods/RecoveryCodeEnrollmentChallenge.swift:28-35 | Auth0/MyAccount/AuthenticationMethods/TOTPEnrollmentChallenge.swift:32-39 \u2014 before extracting anything, compare \u0060Auth0/MyAccount/AuthenticationMethods/EmailEnrollmentChallenge.swift\u0060 and \u0060Auth0/MyAccount/AuthenticationMethods/PhoneEnrollmentChallenge.swift\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Auth0/MyAccount/AuthenticationMethods/EmailEnrollmentChallenge.swift:22\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Auth0/MyAccount/AuthenticationMethods/PasswordEnrollmentChallenge.swift:36\u0060 calls \u0060decode\u0060 and \u0060Auth0/MyAccount/AuthenticationMethods/EmailEnrollmentChallenge.swift:30\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/MyAccount/AuthenticationMethods/EmailEnrollmentChallenge.swift"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed5321183549af993e37833bfd3f48231a9c8b81dc8eb5f1d14c0615e0e57c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): Auth0/AuthenticationHandlers.swift:5-12 | Auth0/MFA/MFAHandlers.swift:5-12 | Auth0/MFA/MFAHandlers.swift:24-31 | Auth0/MFA/MFAHandlers.swift:43-50 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Auth0/AuthenticationHandlers.swift:5\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":"Auth0/AuthenticationHandlers.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa27a294a7c158d281c6fd522880a77d542aed0e36cbd09e926daaaa5d00995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Auth0/Auth0Authentication.swift:158-165 | Auth0/Auth0Authentication.swift:224-231 | Auth0/MyAccount/AuthenticationMethods/Auth0MyAccountAuthenticationMethods.swift:52-59 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Auth0/Auth0Authentication.swift:158\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":"Auth0/Auth0Authentication.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20ef4011904241edd9a3679919752ac004368dd9b80d1cabc47f2c1119e4f0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): Auth0/Auth0Authentication.swift:33-38 | Auth0/Auth0Authentication.swift:57-63 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Auth0/Auth0Authentication.swift:33\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/Auth0Authentication.swift"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"34757e37306c5891159f91e4a2b9bee2a5e64a831c7f04302d1916895d407afd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): Auth0/MyAccount/MyAccountHandlers.swift:5-9 | Auth0/MyAccount/MyAccountHandlers.swift:46-50 | Auth0/MyAccount/MyAccountHandlers.swift:65-69 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Auth0/MyAccount/MyAccountHandlers.swift:5\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":"Auth0/MyAccount/MyAccountHandlers.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7388ccdae99cb0173d871e2c238ea618e9c6744ae0defa4306c6565c206d85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Auth0/Auth0Authentication.swift:17-22 | Auth0/MFA/Auth0MFAClient.swift:12-20 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/Auth0Authentication.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73e1fc655ed018e8d88059e5053e6b815ddee4c8f2d7f4a659e68fbf308ed79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Auth0/Requestable.swift:39-44 | Auth0/TokenRequestable.swift:117-122 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/Requestable.swift"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"852de3a0525512f2f24aafc1bf3c99f19c7ec450d77d5d814701f30b6757bfb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Auth0/AuthenticationError.swift:236-240 | Auth0/MyAccount/MyAccountError.swift:89-93 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/AuthenticationError.swift"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"544ac1026762486af7f875344a006e745eb246e0040390b6120ee8406c2771f2"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Auth0: Auth0: abstractness 0.23, instability 0.00, distance 0.77 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d087a4dab49c851195bcc4eb31e242a6a7dae5c8306963eb5c7080a86b669443"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: scripts/DocsVersions/Sources/DocsVersions/main.swift: 0.0% line coverage (0/204)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/DocsVersions/Sources/DocsVersions/main.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbac2f4661167f8217195364ae90315703b98ce7ef51d45c0fe248bfcbf77e65"}},{"ruleId":"D10","level":"error","message":{"text":"Assertions commented out: example: The test body contains commented-out assertion calls and no live one \u2014 it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"AppTests/AppTests.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"684f635341a97b1d7a169e8fc81eae899c63187fbf15b4ca7bd3b394d7b35b43"}},{"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":"fc97582d21f75a620cff5b27873da993128571b328d6896141f45e7bae74dd88"},"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":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: Auth0/CredentialsManagerError.swift, Auth0/MFARequiredErrorPayload.swift. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c4ba1bac3031593baac6d0b4ed3a535de3280c6bf835400b8b9e46f83bef1bc"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (4 single-owned of 68 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 68 of the 135 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: scripts/DocsVersions/Sources/DocsVersions/Retention.swift, Auth0/Logger.swift."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"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 \u0060Auth0.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"327adea33420b88164c325bdb71e06d3aa7298192d2f9db6a25e33bcf9696294"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060certUrl\u0060 spells \u0060Url\u0060 where 31 names in the project spell it \u0060URL\u0060: 31 of 32 names in project repository spell the token \u0060URL\u0060 (31 of 32; unit: names in project repository containing \u0060URL\u0060). Peers: WebAuthentication.asProvider(redirectURL) (Auth0/ASProvider.swift:7); Auth0WebAuth.invitationURL (Auth0/Auth0WebAuth.swift:39); Auth0WebAuth.overrideAuthorizeURL (Auth0/Auth0WebAuth.swift:40); Auth0WebAuth._redirectURL (Auth0/Auth0WebAuth.swift:46); Auth0WebAuth.redirectURL (Auth0/Auth0WebAuth.swift:48). Rename to \u0060certURL\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/JWKS.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb226885571b60fc1af617aee8c51cd0897f0e3da962200c6b02f319dfe19b5"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (14690 LoC, 233 module-visible types across 7 directories) overshoots its size bounds. 1 of 2 build unit(s) (Bundler, SwiftPM) overshoot their size bounds, lowering Project Cohesion to 0.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Gemfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93967a6eaa12f32f163fcd4f79c6158b883c5a929bdba9448bfd9390b5ddd5c8"}},{"ruleId":"D27","level":"note","message":{"text":"High interface indirection: 31 % of calls go through an interface \u2014 tracing a call means resolving the implementation each hop. Prefer concrete types where there\u0027s a single implementation."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cdce37f9abf7531f8d28e92afaa9d119cadea0ab8dd2d3958949c20b31f486ec"}},{"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":"ce07403f963d66de32b4d2c543905c54ec7e0bbf7d032a75a4366502b4044650"},"properties":{"commitSha":"0e0a87b63e6ebc9d3833dad3a5af0b64aa20fa36"},"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"052b790a3fbbe789a6aab1b5890780682bd9b57b54c6e600bce79a2a20f1d99c"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66de4ac27d5379d9e26997cf4285cec3f7f6861b497443cf45f4630eca020dea"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06536871c773bf447729a0776c6cc41c1571fb71733569002c707e72d5df3bb9"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 21 of 68 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 68 of the 135 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: Auth0/ClaimValidators.swift, Auth0/DPoP/DPoP.swift, Auth0/MyAccount/AuthenticationMethods/PasskeyAuthenticationMethod.swift, Auth0/DPoP/KeychainKeyStore.swift, Auth0/SSOCredentials.swift, Auth0/Auth0Log.swift, Auth0/Auth0ClientInfo.swift, Auth0/OAuth2Grant.swift (and 13 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/ClaimValidators.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3ba12941e5027feef3b682b5216600ef31a747adc5bf227e005218ef0ba71c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/DPoP/DPoP.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45321f5dfce24b28f56f24d9ddcd7d0bb036cec2719dd711817a2f0e0bcadc9a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/MyAccount/AuthenticationMethods/PasskeyAuthenticationMethod.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e170e0a07ff5f48f1d80d76f552805d0ec3f3c862984b1ffe767b664b4ed99"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/DPoP/KeychainKeyStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d3047d3d6b3affafdd9afa6cbe685bf63d52d7c0033eee5fc9caff7568def8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/SSOCredentials.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b3761411ece94876ce3e9f1971d22a6b2d4b2cca0df04e876c8e5d7b48a22b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/Auth0Log.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc32178f1952decf9a2e1ecc19de8ba83c43ed778e48abc56168c8b8526af36"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/Auth0ClientInfo.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3cb10f87d5ad97f23f7de031aaedc5c56a0592271c79c098fec27cf54529c3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/OAuth2Grant.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cd68af66dd6817b13c9b2afa6beeb1c7ae2a38f6a46b26d7073cadf6770ccb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/MyAccount/MyAccount.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b62f8d5eae04a48ea2301d63ba1e51b0253d2d356094fd2987638da594ac6c9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/IDTokenValidator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0b968537cd5a5676795e902fb2e2a33c7ec7159cd00190e36fdf9214d4a451"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/DPoP/DPoPKeyStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efccd412636b06544d74f63d69957dbdc2b3a70348ad065ea8fde5f847e6fb1b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/DPoP/DPoPError.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8842638c375262e5a5d33704fc042f1245229f8ffa5140bf787d97721af5120"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/DPoP/SecureEnclaveKeyStore.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19756971dec35167d42781973c92e0876e0c7e92153b298e2cac2cbffcc19838"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/MyAccount/MyAccountError.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f39a5d5a77b5091c823e50a9f96ff4a98d2d702a7d16a8d6583f55fe74471d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/AuthenticationHandlers.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b20c14b6cf7b429ba236b9fb0a6c53684bc52eb734ae717db87f7d78b9e627"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/PARAuth.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93cd9976c2d3c3f0e7edbc4e6bfcc940059db8348254ae0fb94962cbcae7036"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/APICredentials.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f41ccc68fdb0efc0a3cc8c6dc6bee746f56fd899b70d7f53847c05f1a31f1a4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/SynchronizationBarrier.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdf4b99314476f3a99b289738adaba46a8b2cc575d34f2db5fff08e82b0cffd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/OSUnifiedLoggingService.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb0bec0ba00d4ffa76383985e9a980928524d378619e8ba01122b356f5b9e9b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/IDTokenSignatureValidator.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ca4a92a9dee76a0e330535622e04dcf81011f64d0090de6648c638192dda52"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/LoginTransaction.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bea5bd2202e78dc62e54565d7bd14ac05154a5004ee0957e21b92779d3805b1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ASProvider.swift \u2194 Auth0WebAuth.swift: \u0060Auth0/ASProvider.swift\u0060 and \u0060Auth0/Auth0WebAuth.swift\u0060 change together 73% of the time (8 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00607fd211b2\u0060 feat: Swift 6 strict concurrency compliance for WebAuth Part 1 (#1123); \u0060ce15b932\u0060 feat: Multi window support for in app browser  (#1089); \u0060af43652f\u0060 \u003E=5.10 swift compiler checks removed after updating to Xcode 16 (#937) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/ASProvider.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d6bacba48a1ffbd75deb98c2b6a3b0d630b52e9ed075ed912b585b1aa11670"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: WebAuth.swift \u2192 ASProvider.swift, LoginTransaction.swift, MobileWebAuth.swift: \u0060Auth0/WebAuth.swift\u0060 changes together with 3 other files \u2014 \u0060Auth0/ASProvider.swift\u0060, \u0060Auth0/LoginTransaction.swift\u0060, \u0060Auth0/MobileWebAuth.swift\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/WebAuth.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1670a77275de5c4306542b1d58c5359819bef18d8db4c13c4e0c26e05a6a9230"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: LoginTransaction.swift \u2194 Request.swift: \u0060Auth0/LoginTransaction.swift\u0060 and \u0060Auth0/Request.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 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 5 shared commits counted here, the most recent 3 are \u0060932057d3\u0060 feat: add @Sendable annotations to closure parameters for Swift 6 com\u2026; \u0060c08e936e\u0060 Use strictly-typed result and error types [SDK-2977] (#558) (at that commit the file was still \u0060Auth0/BaseTransaction.swift\u0060); \u0060967000b5\u0060 Migrate all errors to structs [SDK-2968] (#552) (at that commit the file was still \u0060Auth0/BaseTransaction.swift\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/LoginTransaction.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1235d4356c8435480a54bec4baa2662d5349115e81919bfe102ceb6ad0bd32c5"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"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":"5e7c82bc127efe3c46a3daa1b4bdb3c64fbf01cdaa7831b32f95976ba420ee4f"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: WebAuth (23 requirements): \u0060WebAuth\u0060 declares 23 requirements: \u0060connection\u0060, \u0060scope\u0060, \u0060connectionScope\u0060, \u0060state\u0060, \u0060parameters\u0060, \u0060headers\u0060, \u0060redirectURL\u0060, \u0060authorizeURL\u0060, \u0060audience\u0060, \u0060nonce\u0060, \u0060issuer\u0060, \u0060leeway\u0060, \u0060maxAge\u0060, \u0060useHTTPS\u0060, \u0060useEphemeralSession\u0060, \u0060invitationURL\u0060, \u0060organization\u0060, \u0060provider\u0060, \u0060useCredentialsManager\u0060, \u0060onClose\u0060, \u0060presentationWindow\u0060, \u0060start\u0060, \u0060logout\u0060. Counted over its method requirements (members with no body), once per name; a default supplied by a protocol extension is not counted, because no conformer is forced to write it. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Auth0/WebAuth.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e4316b30b495fdf0c32f736f3038a069eab94d0bdcaed9cd6d7989e2d477b5"}},{"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":"P3","level":"warning","message":{"text":"SAST runs, but gates no merge: \u0060sca_scan.yml\u0060 run(s) a static-analysis scan, but no workflow that runs one is triggered by a pull request (or a merge queue, or an unfiltered push) \u2014 the scan fires on a schedule or a manual dispatch only. A vulnerable change therefore merges clean and is reported on the next scheduled run, by which time it is on the default branch and the only remedy is a follow-up fix. Add the pull-request trigger to the workflow that runs the scan so the finding arrives before the merge rather than after it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"73211886541038635ced0208da9cedd27ed1caa9132fd6aa5e44d2976a4de6d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(status == errSecSuccess) || (status == errSecItemNotFound)\u0060 appears character-identically in 2 files \u2014 Auth0/DPoP/KeychainKeyStore.swift, Auth0/DPoP/SecureEnclaveKeyStore.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":"Auth0/DPoP/KeychainKeyStore.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"999ee8c9fd12bee4a793af9cf94cbac5d6686748e9e6fb51c467a6dfe92489f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lhs.code == rhs.code \u0026\u0026 lhs.localizedDescription == rhs.localizedDescription\u0060 appears character-identically in 3 files \u2014 Auth0/CredentialsManagerError.swift, Auth0/DPoP/DPoPError.swift, Auth0/WebAuthError.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":"Auth0/CredentialsManagerError.swift"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"9caa3447d7eaac6533db20813d85a796226f85cd6a1c97b48dc0ee57e318aee6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lhs.code == rhs.code \u0026\u0026 lhs.statusCode == rhs.statusCode \u0026\u0026 lhs.localizedDescription == rhs.localizedDescription\u0060 appears character-identically in 2 files \u2014 Auth0/AuthenticationError.swift, Auth0/MyAccount/MyAccountError.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":"Auth0/AuthenticationError.swift"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"1567b6d0552bd47dd25ba2f32032369dd788068bec5908cbc3646e090ece72c3"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"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-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-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":13,"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."]}]}