{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"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":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D40","name":"Network Egress Confinement","shortDescription":{"text":"Network Egress Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D40"},{"id":"D41","name":"Kernel \u0026 Syscall Confinement","shortDescription":{"text":"Kernel \u0026 Syscall Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D41"},{"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":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility","shortDescription":{"text":"Runtime accessibility"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"ED2","name":"Event/command shape","shortDescription":{"text":"Event/command shape"},"helpUri":"https://codehealth.canine.dev/dimensions/ED2"},{"id":"ED3","name":"Event naming","shortDescription":{"text":"Event naming"},"helpUri":"https://codehealth.canine.dev/dimensions/ED3"},{"id":"ED4","name":"Outbox / dual-write","shortDescription":{"text":"Outbox / dual-write"},"helpUri":"https://codehealth.canine.dev/dimensions/ED4"},{"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"jsonschemax.listPaths (cyclomatic 62): jsonschemax.listPaths has cyclomatic complexity 62 (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":"oryx/jsonschemax/keys.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"323169024a98de19db181dac825f6e8d9cd9c334b0fd35b11799957d44264312"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.NewLoginFlow (cyclomatic 43): Handler.NewLoginFlow has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/handler.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b02e13dd4ddcf491a99d8e36b1efecc88712451d56cb73e272c216be4789e1"}},{"ruleId":"D1","level":"warning","message":{"text":"decoderx.decodeURLValues (cyclomatic 43): decoderx.decodeURLValues has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/decoderx/http.go"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3789d8b67ff9ba5469fca07d398719ff70a196636129107b73d2f09a5139e5"}},{"ruleId":"D1","level":"warning","message":{"text":"MigrationBox.UpTo (cyclomatic 39): MigrationBox.UpTo has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 13 of the 39 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 189, 163). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/popx/migrator.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0b9874c434917a4fa4a66400232bc0eb2eaab21f78471119d368f0a1ad1b87"}},{"ruleId":"D1","level":"warning","message":{"text":"IdentityPersister.ListIdentities (cyclomatic 37): IdentityPersister.ListIdentities has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 9 of the 37 points are its own statements and the rest belongs to one function literal inside it that branches (line 1149). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d194ac05f54149318e783c197686cd3224008ba4355ba96a815bd9ea32b2da41"}},{"ruleId":"D1","level":"warning","message":{"text":"HookExecutor.PostRegistrationHook (cyclomatic 35): HookExecutor.PostRegistrationHook has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/registration/hook.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34408209494a94c08e72845aa7b7c9fea39b95a6036b00c94b4b7a0caec44a0"}},{"ruleId":"D1","level":"warning","message":{"text":"IdentityPersister.CreateIdentities (cyclomatic 34): IdentityPersister.CreateIdentities has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 9 of the 34 points are its own statements and the rest belongs to one function literal inside it that branches (line 832). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c72721a78674ed815425c10fe8911b02b546b1ee92b0f0bc98aaa585071779f"}},{"ruleId":"D1","level":"warning","message":{"text":"HookExecutor.PostLoginHook (cyclomatic 33): HookExecutor.PostLoginHook has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/hook.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa136c1308d0a6733a5101bf48a9a0674aaa5f94c3c72f91bfcb75854f318a8d"}},{"ruleId":"D1","level":"warning","message":{"text":"argon2.newCalibrateCmd (cyclomatic 30): argon2.newCalibrateCmd has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to one function literal inside it that branches (line 94). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/hashers/argon2/calibrate.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"080de26552c47b0bc93bffdc878c6b5f054c98907b49ade449b41e0ffcda365d"}},{"ruleId":"D1","level":"warning","message":{"text":"Manager.findExistingAuthMethod (cyclomatic 30): Manager.findExistingAuthMethod has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/manager.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"879a824d7ae9e1ed5a1993556b3c617df59f274ae95391d7f585b804bd0e0017"}},{"ruleId":"D1","level":"warning","message":{"text":"watcherx.streamFileEvents (cyclomatic 30): watcherx.streamFileEvents has cyclomatic complexity 30 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/watcherx/file.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21cf7ba0f13b0d286f487de6d5c2ddbf314ea87c2d76036f5b145e6fda3406b"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.updateVerificationFlow (cyclomatic 29): Handler.updateVerificationFlow has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/verification/handler.go"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"473b072c4b117bd4b467372ff01ddecbb472cf7311d65915a2f241bdb0d7ae97"}},{"ruleId":"D1","level":"warning","message":{"text":"VerifyNewAddress.execute (cyclomatic 28): VerifyNewAddress.execute has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/verify_new_address.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea72979a67c5a92af3c66a81b382951f25644b4afd6fd869fea6ae0a7475f070"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemory.Search (cyclomatic 28): InMemory.Search has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/mailhog/memory.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fbed96b0fe295cf56b92331554e144f1d400ab8a0680619aba35f9f393a0e5"}},{"ruleId":"D1","level":"warning","message":{"text":"courier.NewEmailTemplateFromMessage (cyclomatic 27): courier.NewEmailTemplateFromMessage has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/email_templates.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1d6279b4630cee7b174bfe662f8d2b455460b55cc818fc4913707dddf2d53f"}},{"ruleId":"D1","level":"warning","message":{"text":"RegistryDefault.Init (cyclomatic 27): RegistryDefault.Init has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 11 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 704). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/registry_default.go"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb25f02fc415413f70813a855c0dadc412f2a9e351b2dee7b7bd429375077b36"}},{"ruleId":"D1","level":"warning","message":{"text":"HookExecutor.PostSettingsHook (cyclomatic 27): HookExecutor.PostSettingsHook has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/settings/hook.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"45196a3ad0b0cffa08007c00fd60e2936adc120e1db46e7b248524832b377319"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.HandleCallback (cyclomatic 27): Strategy.HandleCallback has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e978f59bcf6495a32c120687e5bfa3bf327d1d6c9c7bbde591df81ff3c2429"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.UpdateIdentityFromClaims (cyclomatic 27): Strategy.UpdateIdentityFromClaims has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c3758dab5296ef738ea4539fc0fed0ffaeeb098199c0490906da6de2ae9b52"}},{"ruleId":"D1","level":"warning","message":{"text":"argon2.runLoadTest (cyclomatic 26): argon2.runLoadTest has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 7 of the 26 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 157, 122, 188, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/hashers/argon2/loadtest.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f631d2f547d7eaa5c540ed5d409deccb1086bf8dbb8444bf6921206b1a93d1"}},{"ruleId":"D1","level":"warning","message":{"text":"SMTPChannel.Dispatch (cyclomatic 26): SMTPChannel.Dispatch has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/smtp_channel.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"875ea0a0c53d30f0d471f2e3e44f8380ccedecf4e0440d3090a9fd8029deb7ea"}},{"ruleId":"D1","level":"warning","message":{"text":"x.IsValidNumber (cyclomatic 26): x.IsValidNumber has cyclomatic complexity 26 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"x/json_number.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ced17f2251daaa0e14c5d1c6dc888318c55f8a603812d3c6ff584582c5067d0"}},{"ruleId":"D1","level":"warning","message":{"text":"corpx.registerFakes (cyclomatic 25): corpx.registerFakes has cyclomatic complexity 25 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 9 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corpx/faker.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d9e5a412dbaa19c5282ece81d20143795c87cc68320ced392a29113a584b74"}},{"ruleId":"D1","level":"warning","message":{"text":"driver.getHooks (cyclomatic 25): driver.getHooks has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/registry_default_hooks.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7238dff8e1e0937765cbda185c8d4baab5ac14b22fc5c691a1e38a55496507b0"}},{"ruleId":"D1","level":"warning","message":{"text":"ErrorHandler.WriteFlowError (cyclomatic 24): ErrorHandler.WriteFlowError has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/settings/error.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"625fb4fa6283787167267dd8a61f84a78f240b063f6cd1fbd1536bf13c75e159"}},{"ruleId":"D1","level":"warning","message":{"text":"WebHook.execute (cyclomatic 24): WebHook.execute has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 6 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 318). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/web_hook.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"da03f75416ee10fc28edada7646a430633ca6fbe42b40ebc07e9b17d82011a48"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.Login (cyclomatic 24): Strategy.Login has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_login.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec2954d0932473456b5e005f9c46d557d4a5211975ccb042e422da91217c213"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.ProcessLogin (cyclomatic 24): Strategy.ProcessLogin has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac6ec8c085b0fb25525a902ffb6b8ac194f253fcdd317f3b4fd251081961dfe"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.Login (cyclomatic 24): Strategy.Login has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"d544a8bcd4e98fd3ae9a915132b0b8f0a38f0364294e7f2c830853dfa885e7c9"}},{"ruleId":"D1","level":"warning","message":{"text":"Env.extract (cyclomatic 24): Env.extract has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/configx/koanf_env.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a9bb2749a6127645c03cf45175f22574eeff961ecb30728106ff42d1589d0f"}},{"ruleId":"D1","level":"warning","message":{"text":"jwksx.generate (cyclomatic 24): jwksx.generate has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/jwksx/generator.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfbc2dd5f1288d8cffaa8aced36bfcb5e4c44852a91a88b9eaab7d286d57c90"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.populateChooseMethodFlow (cyclomatic 23): Strategy.populateChooseMethodFlow has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eaea6ea4174fbcca4a8ee03ecd387e7257f6da895cfa838b24d6b28d0985218"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.Login (cyclomatic 23): Strategy.Login has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/idfirst/strategy_login.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f273feb6c290ecf06dc55c69a55060f93a8d2c0ba45bc4d35b49539afc9366a"}},{"ruleId":"D1","level":"warning","message":{"text":"main.validateAllMessages (cyclomatic 22): main.validateAllMessages has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clidoc/main.go"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"0733df461c7c79975bae0c060580a7a742c255e5f7247f7ab7aa658ca6442c7a"}},{"ruleId":"D1","level":"warning","message":{"text":"IdentityPersister.UpdateIdentity (cyclomatic 22): IdentityPersister.UpdateIdentity has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 4 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 1693). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":1668}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c4b6380ba1429eeb56cef064122dfdfb856d4f2b80986761aa623408524eb2"}},{"ruleId":"D1","level":"warning","message":{"text":"HookExecutor.ApplyPendingTraitsChange (cyclomatic 22): HookExecutor.ApplyPendingTraitsChange has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 426). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/settings/hook.go"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a3199318dced949886c3f24b3eeb0dc709357c738e9903c33a5e4220b66782"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.Recover (cyclomatic 22): Strategy.Recover has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_recovery.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd4a0aea7a05a62c495ee8b72a743ebd1bb2c2bd3b3e913820354bfa0b62677"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.Register (cyclomatic 22): Strategy.Register has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_registration.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db059c948274cda370df06646fa3d4bdc359eee877fec8fd3602f6f0d6f9b86"}},{"ruleId":"D1","level":"warning","message":{"text":"popx.TransactionWithOptions (cyclomatic 22): popx.TransactionWithOptions has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 86, 58). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/popx/transaction.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff5f6fe414e9089e9460a163cde27263c815b66ce6cbe115f49f3c3009cb060"}},{"ruleId":"D1","level":"warning","message":{"text":"hook.parseWebhookResponse (cyclomatic 21): hook.parseWebhookResponse has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/web_hook.go"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e403681e5560ecf11bae68d581801d48da587fe1b22a3f7eaa54826bd8447f"}},{"ruleId":"D1","level":"warning","message":{"text":"Verifier.do (cyclomatic 21): Verifier.do has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/verification.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3671ba3c2427439ce8650500fcef84e49f621d0eda278988afc13cfae0aa77f2"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.populateEmailSentFlow (cyclomatic 21): Strategy.populateEmailSentFlow has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy.go"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e9997369557d4959dde1598fcf6927156226761f501e6cf4f68e7d45800fcc"}},{"ruleId":"D1","level":"warning","message":{"text":"ManagerHTTP.DoesSessionSatisfy (cyclomatic 21): ManagerHTTP.DoesSessionSatisfy has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"session/manager_http.go"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"581055a2fc87e44ed88bb8d6ed38f424f908cb782e88eba494b65e106ced3fdc"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.updateLoginFlow (cyclomatic 20): Handler.updateLoginFlow has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/handler.go"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9b46d04fc590e5a85a9db863891c88d0e212ca56b5f435a6ec497b4ff7c05e"}},{"ruleId":"D1","level":"warning","message":{"text":"ErrorHandler.WriteFlowError (cyclomatic 20): ErrorHandler.WriteFlowError has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/registration/error.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb02a5d14e1432509b35cd1b5e46085baa6b5a4eec59745b6084459a51c01ba"}},{"ruleId":"D1","level":"warning","message":{"text":"AddressVerifier.ExecuteLoginPostHook (cyclomatic 20): AddressVerifier.ExecuteLoginPostHook has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/require_verified_address.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5a68c660b088b2dae1d5ee15aadb0e8e2472c1fa77010bf1674283ff881fcc"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.verificationHandleFormSubmission (cyclomatic 20): Strategy.verificationHandleFormSubmission has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_verification.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"1260913f4474154ea7f41a11ab6eb76b6aa9616ee83edd18682a053c2fbeea85"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.verificationUseCode (cyclomatic 20): Strategy.verificationUseCode has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_verification.go"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e08ef7a6e99c634a13d5c8bae90b3638dd8ca081aa9941560ecfb3049690a61"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.PopulateSettingsMethod (cyclomatic 20): Strategy.PopulateSettingsMethod has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_settings.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"95459259b4f79bf2816f9dce1e786d3d8925fdea4cc659a499a0e4248550ef9b"}},{"ruleId":"D1","level":"warning","message":{"text":"MigrationBox.Down (cyclomatic 20): MigrationBox.Down has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 341). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/popx/migrator.go"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddd53294035e7b20a328d82d4272f6f2dda1690af0acd70a160b6c27194530b"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.ValidateCallback (cyclomatic 19): Strategy.ValidateCallback has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d6c607d1ab56d2803fad0e8d4f735a243954d6f8bdb34d72c2a6274e761c75"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.populateAccountLinkingUI (cyclomatic 19): Strategy.populateAccountLinkingUI has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9653434b75022b5de0c8b9aacfc70fe399b7d71d1fcfd02b89cff3fa39b75ea"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.Settings (cyclomatic 19): Strategy.Settings has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_settings.go"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a83ae0b9208e8d348103fdba2650107e6e3075dc85bd173843ce16ee6850c7c"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.Register (cyclomatic 19): Strategy.Register has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/webauthn/registration.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"55809aa7929aef2c782f56d58054091be71bdb440b787dd62b815f6ee360d611"}},{"ruleId":"D1","level":"warning","message":{"text":"jsonx.embed (cyclomatic 19): jsonx.embed has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/jsonx/embed.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2824759985e7ca91bb28736d4e0c4f9c8835961c3c0c1a1a752cac8aa04438"}},{"ruleId":"D1","level":"warning","message":{"text":"IdentityPersister.UpdateCredentialsConfig (cyclomatic 18): IdentityPersister.UpdateCredentialsConfig has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 1458). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"c998cadc46943fb0b851a482b00789fee2fb6120d0a1bd73f954b3869276e9b7"}},{"ruleId":"D1","level":"warning","message":{"text":"ErrorHandler.WriteFlowError (cyclomatic 18): ErrorHandler.WriteFlowError has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/error.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a0b12da7248c5c96fdd6b593c6b9c41da598b2b405e230f3e0036e09d39b18"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.FastLogin1FA (cyclomatic 18): Strategy.FastLogin1FA has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_login.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c660471d9c429f9d271aabeeb134ae6f3393a0e6b88d114b4936a59e3c74c206"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.recoveryIssueSession (cyclomatic 18): Strategy.recoveryIssueSession has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_recovery.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a283cd7d605efbc5ca12179f9044b43899a0528d5d848dcdcf3edb3c6694134"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.verificationUseToken (cyclomatic 18): Strategy.verificationUseToken has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/link/strategy_verification.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a46902bba2940be29bec287d823daacf4ab3c298fd2d9f960bfeba7c3ed18e"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.HandleError (cyclomatic 18): Strategy.HandleError has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b7eb3ad4e1ebf779adb6c9a6f64e068d7e1b941a2a2f537bc785102ce3b7f2"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.Register (cyclomatic 18): Strategy.Register has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/passkey/passkey_registration.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49e82db2d7c2d666ccd1c1bc68442832b51ccc994d5377e3cebdf38158e9757"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultPasswordValidator.validate (cyclomatic 18): DefaultPasswordValidator.validate has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/password/validator.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e351440b08995071e12b79a9246b678e49d6ca74e4d5432d106f8c3cf3397300"}},{"ruleId":"D1","level":"warning","message":{"text":"Nodes.SortBySchema (cyclomatic 18): Nodes.SortBySchema has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 314, 285). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/node/node.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"40449d00a316e0e3ae319f73519e8c3919bac272a25b794de18c3819198c7124"}},{"ruleId":"D1","level":"warning","message":{"text":"osx.readFile (cyclomatic 18): osx.readFile has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/osx/file.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b565b9207c5f53ed99f0151fadce545d1ac17f8274a50646b7ae1b4b0cac97"}},{"ruleId":"D1","level":"warning","message":{"text":"keysetpagination.BuildWhereAndOrder (cyclomatic 18): keysetpagination.BuildWhereAndOrder has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/pagination/keysetpagination_v2/query_builder.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c9b4de26e19a946524cc527304fe510ee97f77063f31601fb757eb11c76b59"}},{"ruleId":"D1","level":"warning","message":{"text":"Identity.WithDeclassifiedCredentials (cyclomatic 17): Identity.WithDeclassifiedCredentials has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 498). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/identity.go"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"255c15bcdb1651e827bb682873408e0afec64ecec1195a255a6c5f2408b756d9"}},{"ruleId":"D1","level":"warning","message":{"text":"IdentityPersister.createIdentityCredentials (cyclomatic 17): IdentityPersister.createIdentityCredentials has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f419d90c36c7161b7b87b91115f554f5fcd4733965555e6938db2bfd7059b08"}},{"ruleId":"D1","level":"warning","message":{"text":"preValidator.walk (cyclomatic 17): preValidator.walk has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"schema/prevalidate.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0e39ee463f602eb5cca7bc418626f44757fe40752f7ef7cc8b2312f042cd0a"}},{"ruleId":"D1","level":"warning","message":{"text":"ErrorHandler.WriteFlowError (cyclomatic 17): ErrorHandler.WriteFlowError has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/recovery/error.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f6c77c91c2a8f301f5a316448dd361c51e85de37469e8ac6a1c08e95478480"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.NewRegistrationFlow (cyclomatic 17): Handler.NewRegistrationFlow has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/registration/handler.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0915c5a92b5c1578290df5af1438e92d345b696ed72eeb58af74e3381655ce3e"}},{"ruleId":"D1","level":"warning","message":{"text":"Tokenizer.TokenizeSession (cyclomatic 17): Tokenizer.TokenizeSession has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"session/tokenizer.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f309ef9e2ca8915c25289e95fbe55b0af650b1df41575ed69afc898c5b1516fd"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.deleteIdentityCredentials (cyclomatic 16): Handler.deleteIdentityCredentials 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":"identity/handler.go"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"031617c31dcd688363016e2cd54b2e83e52d4f2a496d42e2c8f23d0e6b1e1047"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.importCredentials (cyclomatic 16): Handler.importCredentials 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":"identity/handler_import.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9510758749a88e07ae159604560fcdc04450c93a69c7fce798dd6bf7238e26b"}},{"ruleId":"D1","level":"warning","message":{"text":"Sender.SendCode (cyclomatic 16): Sender.SendCode 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":"selfservice/strategy/code/code_sender.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"929a63a2cc0960002c2b9a17ac1290d0b48ef2f7f0c0066dab58db5832fccdd7"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.FastLogin2FA (cyclomatic 16): Strategy.FastLogin2FA 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":"selfservice/strategy/code/strategy_login.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"067fe72f1edde2f0bc6a9887efd46d14b22cce8ad1e047411fa1b5ae4496a0fb"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.loginVerifyCode (cyclomatic 16): Strategy.loginVerifyCode 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":"selfservice/strategy/code/strategy_login.go"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"18882df931a29cadb8758ca9756d05cab29d9b189b8ddcb0d3f128e1fd96a891"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.Login (cyclomatic 16): Strategy.Login has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/lookup/login.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf0c5541fe576b2d6bf4ff7ad2b47437f1f157e58383102a6bbbb24d3c68dcc"}},{"ruleId":"D1","level":"warning","message":{"text":"oidc.CountActiveFirstFactorCredentials (cyclomatic 16): oidc.CountActiveFirstFactorCredentials 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":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a72edf81b4b46dc1e8857e5f67929fe3200f2ab6bc7f0d0937e465dbbd5d1e7"}},{"ruleId":"D1","level":"warning","message":{"text":"Strategy.continueSettingsFlowAdd (cyclomatic 16): Strategy.continueSettingsFlowAdd has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/webauthn/settings.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fca22e9bbdcbe0c22f2be85ff877fb6b44acb6ee2345c07e9d1bfb53d2731d"}},{"ruleId":"D1","level":"warning","message":{"text":"josex.NewSigningKey (cyclomatic 16): josex.NewSigningKey has cyclomatic complexity 16 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/josex/generate.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdfb2ff764f6c7ee9a1cb85f611ab06cc8e29232ce69264079b5bba4de95fe1"}},{"ruleId":"D1","level":"warning","message":{"text":"tlsx.GetCertificate (cyclomatic 16): tlsx.GetCertificate has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 161, 203). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/tlsx/cert.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f7ee8ee8b5c22f3c99359f856ad43e70e8bcbfb92cc1f39a1af0052c35730c"}},{"ruleId":"D2","level":"warning","message":{"text":"decoderx.decodeURLValues (cognitive 117): decoderx.decodeURLValues has cognitive complexity 117 (threshold 15). Drivers by points: if/else 19 (72 pts), match/switch 5 (30 pts), loops 5 (14 pts), boolean chains 1 (nesting depth added 87). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/decoderx/http.go"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3ebf340fcf6d90b0de3a10a6e40ff1b341dc465f7b64161f05fa7ff5472dce"}},{"ruleId":"D2","level":"warning","message":{"text":"jsonschemax.listPaths (cognitive 95): jsonschemax.listPaths has cognitive complexity 95 (threshold 15). Drivers by points: if/else 31 (61 pts), loops 8 (16 pts), match/switch 5 (15 pts), boolean chains 3 (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/jsonschemax/keys.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6733ffb1dfc8aa5698a2e983533e07df08d16bc3aefba0d055c173c22efa7a7d"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemory.Search (cognitive 78): InMemory.Search has cognitive complexity 78 (threshold 15). Drivers by points: if/else 16 (51 pts), loops 7 (24 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 53). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/mailhog/memory.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45d9763802c708b8a793987c47a95c1a6855203e0458738ac2b86d037ae8b7b"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrationBox.UpTo (cognitive 78): MigrationBox.UpTo has cognitive complexity 78 (threshold 15). Drivers by points: if/else 34 (72 pts), boolean chains 5, loops 1 (nesting depth added 38). Of this number, 24 points are the body\u0027s own statements and 54 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/popx/migrator.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57e86d0d9e2538bc48756b9897d045ae55ba677678c86deeb9d784076cf04c4"}},{"ruleId":"D2","level":"warning","message":{"text":"IdentityPersister.CreateIdentities (cognitive 75): IdentityPersister.CreateIdentities has cognitive complexity 75 (threshold 15). Drivers by points: if/else 30 (51 pts), loops 10 (24 pts) (nesting depth added 35). Most of this is not in the body itself: 13 of the 75 points are its own statements and the rest belongs to one function literal inside it that branches (line 832). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"262830c8b3c2edf03de847052536bbab12eb7d70e583cc090facbfe9efeeb80d"}},{"ruleId":"D2","level":"warning","message":{"text":"watcherx.streamFileEvents (cognitive 72): watcherx.streamFileEvents has cognitive complexity 72 (threshold 15). Drivers by points: match/switch 9 (40 pts), if/else 10 (31 pts), loops 1 (nesting depth added 52). Of this number, 69 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/watcherx/file.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a6492435de0adfea73670ae8f98fb455773f24841b6a809978734db5cf335a"}},{"ruleId":"D2","level":"warning","message":{"text":"main.validateAllMessages (cognitive 66): main.validateAllMessages has cognitive complexity 66 (threshold 15). Drivers by points: if/else 11 (43 pts), loops 7 (19 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 46). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clidoc/main.go"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea820b2fea872bb590ce5a42701a21fd239fb8f61b97dd828ae6dc8ce0c95a1"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.NewLoginFlow (cognitive 65): Handler.NewLoginFlow has cognitive complexity 65 (threshold 15). Drivers by points: if/else 24 (38 pts), match/switch 6 (17 pts), boolean chains 4, jumps 3, loops 3 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/handler.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"49180df35052984064ad1df46ee84808d857c37507219923ed1edd184f2320a7"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.ProcessLogin (cognitive 64): Strategy.ProcessLogin has cognitive complexity 64 (threshold 15). Drivers by points: if/else 18 (58 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 42). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ae8000705425355c037fcf1bda8fdb636d61bf44476402f93acb96e815e65b"}},{"ruleId":"D2","level":"warning","message":{"text":"HookExecutor.PostLoginHook (cognitive 61): HookExecutor.PostLoginHook has cognitive complexity 61 (threshold 15). Drivers by points: if/else 30 (59 pts), boolean chains 1, loops 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/hook.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"1344603b55c078e40835464d7ab1ad42dd7eddcf343556a0f0a334f35288ecdc"}},{"ruleId":"D2","level":"warning","message":{"text":"HookExecutor.PostRegistrationHook (cognitive 60): HookExecutor.PostRegistrationHook has cognitive complexity 60 (threshold 15). Drivers by points: if/else 29 (53 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/registration/hook.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc79fa8b7ac918f8b560308fd974c5734dedfa6424d4222bedb5d95958044dea"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.findExistingAuthMethod (cognitive 55): Manager.findExistingAuthMethod has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (39 pts), loops 5 (11 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/manager.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e22a4ef36aaad4abb6adb9c29f61900d346537b53444efde8909cfaf200dd20"}},{"ruleId":"D2","level":"warning","message":{"text":"IdentityPersister.ListIdentities (cognitive 55): IdentityPersister.ListIdentities has cognitive complexity 55 (threshold 15). Drivers by points: if/else 27 (40 pts), loops 6 (12 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 20). Most of this is not in the body itself: 14 of the 55 points are its own statements and the rest belongs to one function literal inside it that branches (line 1149). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e66160fae7bca6293ca85972222c3e7fb86c4e75a530246d08344ffc62b9006"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.populateChooseMethodFlow (cognitive 55): Strategy.populateChooseMethodFlow has cognitive complexity 55 (threshold 15). Drivers by points: if/else 16 (44 pts), loops 3 (9 pts), boolean chains 1, match/switch 1 (nesting depth added 34). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"350022238573960c96870d09c847423af5b53c2da4ce31d2c968d9d819ce708b"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.updateVerificationFlow (cognitive 53): Handler.updateVerificationFlow has cognitive complexity 53 (threshold 15). Drivers by points: if/else 22 (47 pts), boolean chains 5, loops 1 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/verification/handler.go"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea6f8e3d29d281ab624719f8e0443cf9c82676760ace7708795509c0d53e79f"}},{"ruleId":"D2","level":"warning","message":{"text":"argon2.newCalibrateCmd (cognitive 51): argon2.newCalibrateCmd has cognitive complexity 51 (threshold 15). Drivers by points: if/else 20 (40 pts), loops 6 (7 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 22). None of this is in the body itself: all 51 points belong to one function literal inside it that branches (line 94). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/hashers/argon2/calibrate.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c1e0c2ea39a7072353ff2b5c7d3ad7ea1d8810fc29649429c1b41116fe4c09"}},{"ruleId":"D2","level":"warning","message":{"text":"driver.getHooks (cognitive 50): driver.getHooks has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (43 pts), loops 2 (4 pts), match/switch 1 (2 pts), jumps 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/registry_default_hooks.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"620850526d521a08bcb0dc9193092e01d215d61508587c9a8865088bf530fa39"}},{"ruleId":"D2","level":"warning","message":{"text":"Identity.WithDeclassifiedCredentials (cognitive 48): Identity.WithDeclassifiedCredentials has cognitive complexity 48 (threshold 15). Drivers by points: if/else 12 (41 pts), loops 2 (5 pts), match/switch 1 (2 pts) (nesting depth added 33). Most of this is not in the body itself: 11 of the 48 points are its own statements and the rest belongs to one function literal inside it that branches (line 498). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/identity.go"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e4ee633f068964659e4245d064e4b6c2612fa2d5e4e21b3fc81b57ef7fa191"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.HandleError (cognitive 45): Strategy.HandleError has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (39 pts), loops 1 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 28). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"614b8f9f63639db82469f47f4051059c3b86ced3b5a4ee0d238172b19b909c67"}},{"ruleId":"D2","level":"warning","message":{"text":"Env.extract (cognitive 44): Env.extract has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (34 pts), loops 3 (7 pts), match/switch 1 (3 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/configx/koanf_env.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7423b30fc0b2e3d3f1882b2be3795cba2ef309dc4707854ca27329ee3d9375c7"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.HandleCallback (cognitive 43): Strategy.HandleCallback has cognitive complexity 43 (threshold 15). Drivers by points: if/else 22 (41 pts), match/switch 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb6b4fda069b49e93098da146fcc5a7d21ae79efb894d205c006afe027282f0"}},{"ruleId":"D2","level":"warning","message":{"text":"popx.TransactionWithOptions (cognitive 43): popx.TransactionWithOptions has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (35 pts), loops 2 (3 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 23). Most of this is not in the body itself: 11 of the 43 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 86, 58). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/popx/transaction.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba825c7fdebe930a8cbb2ee78e92586cf31d3c82c149c69c4357de2fada8dec"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.verificationUseCode (cognitive 41): Strategy.verificationUseCode has cognitive complexity 41 (threshold 15). Drivers by points: if/else 21 (40 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_verification.go"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a15c183e15d1f00246f1c6a661cbe1fa07acad3a5820b0b087a402e132b87f"}},{"ruleId":"D2","level":"warning","message":{"text":"hook.parseWebhookResponse (cognitive 40): hook.parseWebhookResponse has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (35 pts), loops 2 (5 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/web_hook.go"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb517677d1fd2c1f327b5e9dcf310d54e9f8757f65c4e15ad1d6c359638a7a0"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrationBox.Down (cognitive 39): MigrationBox.Down has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (37 pts), boolean chains 1, loops 1 (nesting depth added 19). Most of this is not in the body itself: 1 of the 39 points is its own statement and the rest belongs to one function literal inside it that branches (line 341). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/popx/migrator.go"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"56162e970b611ffc47733773d4189c273c68bd58f6a778ca27b82c897a8ffa52"}},{"ruleId":"D2","level":"warning","message":{"text":"HookExecutor.PostSettingsHook (cognitive 38): HookExecutor.PostSettingsHook has cognitive complexity 38 (threshold 15). Drivers by points: if/else 21 (32 pts), loops 3, match/switch 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/settings/hook.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd43b37465908b67e7c81ba3badadc0c27158e912b415f321ffca71c38e0e44"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.populateEmailSentFlow (cognitive 38): Strategy.populateEmailSentFlow has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (29 pts), boolean chains 4, loops 2 (4 pts), match/switch 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy.go"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"8624b9d1ca25afa6ca5e077ea702e44e50d21272824d82228f046b904ae19b5e"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.UpdateIdentityFromClaims (cognitive 37): Strategy.UpdateIdentityFromClaims has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (24 pts), loops 6 (9 pts), boolean chains 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f982cfc649beb8e15bcdb1fb90b69e649072873f203c8d6a13ab01fb466ef7e"}},{"ruleId":"D2","level":"warning","message":{"text":"Verifier.do (cognitive 36): Verifier.do has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (32 pts), boolean chains 3, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/verification.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"34be7391a64119d76981787f283e4835aa8affdebf9e45a3bb852bb7181ee3ec"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.verificationUseToken (cognitive 36): Strategy.verificationUseToken has cognitive complexity 36 (threshold 15). Drivers by points: if/else 20 (35 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/link/strategy_verification.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fc3bb6c18eee1ce2ac3146d90d3b06107ba224a09d7bf7652062dfa360b771"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.PopulateSettingsMethod (cognitive 36): Strategy.PopulateSettingsMethod has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (27 pts), loops 4 (7 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_settings.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfb989fb2e9cdab2251c92ab8f94046c3e233ff0fb9d7dd6951b299a78307e8"}},{"ruleId":"D2","level":"warning","message":{"text":"IdentityPersister.UpdateIdentity (cognitive 35): IdentityPersister.UpdateIdentity has cognitive complexity 35 (threshold 15). Drivers by points: if/else 20 (32 pts), loops 2, boolean chains 1 (nesting depth added 12). Most of this is not in the body itself: 3 of the 35 points are its own statements and the rest belongs to one function literal inside it that branches (line 1693). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":1668}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a59f9db9f94311e28319720e547cba58af52e5488fdbe3018c5ff7debf203c"}},{"ruleId":"D2","level":"warning","message":{"text":"SMTPChannel.Dispatch (cognitive 34): SMTPChannel.Dispatch has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 5, loops 3 (4 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/smtp_channel.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9d10651926216af02392f7a65ebf7ddbeec295b070dc6ff373338648059ad2"}},{"ruleId":"D2","level":"warning","message":{"text":"AddressVerifier.ExecuteLoginPostHook (cognitive 34): AddressVerifier.ExecuteLoginPostHook has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (30 pts), loops 3 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/require_verified_address.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f626b1addf319d9e7b51258b41c3243f2b758f97003a847044aaebe19ed9279f"}},{"ruleId":"D2","level":"warning","message":{"text":"ManagerHTTP.DoesSessionSatisfy (cognitive 34): ManagerHTTP.DoesSessionSatisfy has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (29 pts), match/switch 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"session/manager_http.go"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20fe359723d768abde7592db789752e32045fc44682df16a11244de00a826b6"}},{"ruleId":"D2","level":"warning","message":{"text":"courier.DispatchQueue (cognitive 33): courier.DispatchQueue has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (29 pts), loops 2 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/courier_dispatcher.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"571e5db92de7c492a3066dbec6a667d361126766d5b7b9673d36448312a683e1"}},{"ruleId":"D2","level":"warning","message":{"text":"ErrorHandler.WriteFlowError (cognitive 33): ErrorHandler.WriteFlowError has cognitive complexity 33 (threshold 15). Drivers by points: if/else 25 (31 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/settings/error.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cb20a9f039a67e7a24d7b9af30f167663551b0a14b51c0162fd9be89a2a770"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.Login (cognitive 33): Strategy.Login has cognitive complexity 33 (threshold 15). Drivers by points: if/else 21 (30 pts), loops 2, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/idfirst/strategy_login.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cb8691a9c4d51da80d635158abdd4123baf607cb7aab8c923892f89c81e165"}},{"ruleId":"D2","level":"warning","message":{"text":"WebHook.execute (cognitive 32): WebHook.execute has cognitive complexity 32 (threshold 15). Drivers by points: if/else 20 (27 pts), boolean chains 5 (nesting depth added 7). Most of this is not in the body itself: 5 of the 32 points are its own statements and the rest belongs to one function literal inside it that branches (line 318). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/web_hook.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ff08fb5affe4906550df9617e308bf7ab9e1f0edc745b6b2583512a773808b"}},{"ruleId":"D2","level":"warning","message":{"text":"oidc.CountActiveFirstFactorCredentials (cognitive 32): oidc.CountActiveFirstFactorCredentials has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 3 (8 pts), boolean chains 4 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5595ecffc394eba3d4531cccaea2960edf2f33d218195cce1ba18c8aba2d75"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.populateAccountLinkingUI (cognitive 32): Strategy.populateAccountLinkingUI has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 2 (4 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"271a247ee59d8dabef1dd5f6c63e8b21ea61313c154207cf6be9d3bdb120ba84"}},{"ruleId":"D2","level":"warning","message":{"text":"argon2.runLoadTest (cognitive 31): argon2.runLoadTest has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (19 pts), match/switch 5 (9 pts), loops 3 (nesting depth added 13). Most of this is not in the body itself: 6 of the 31 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 122, 157, 188, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/hashers/argon2/loadtest.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca4b00cffb3893963cc84aa560944490bf23179194e6dbe7062a7ef8429d862"}},{"ruleId":"D2","level":"warning","message":{"text":"preValidator.walk (cognitive 31): preValidator.walk has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 3 (7 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 18). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"schema/prevalidate.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"55518f5d6230cf2665e34d818a9c8927843ba043f5c3ea0af679210af8c09657"}},{"ruleId":"D2","level":"warning","message":{"text":"VerifyNewAddress.execute (cognitive 31): VerifyNewAddress.execute has cognitive complexity 31 (threshold 15). Drivers by points: if/else 24 (28 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/verify_new_address.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"74153447ebb9729316f974cd5700d924e63240bdd95dfd4f5ade5506c0ce084d"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.verificationHandleFormSubmission (cognitive 31): Strategy.verificationHandleFormSubmission has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (29 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_verification.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a24dc17696eb8ec38e7f85ea4f61154bac15569f9e217d53fd99a17ba1ae53e"}},{"ruleId":"D2","level":"warning","message":{"text":"Container.ParseError (cognitive 31): Container.ParseError has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 4 (10 pts), match/switch 2 (4 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/container/container.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"e269e1efc68a8e1d64b8f828b98d89a607973ca128417ea1783ed2a49feb967c"}},{"ruleId":"D2","level":"warning","message":{"text":"directoryWatcher.streamDirectoryEvents (cognitive 31): directoryWatcher.streamDirectoryEvents has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (28 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 21). Most of this is not in the body itself: 10 of the 31 points are its own statements and the rest belongs to one function literal inside it that branches (line 135). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/watcherx/directory.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"764a3dc7af8c181f8c67c7072f610b8279d83937fee1226b7db568861713a7d5"}},{"ruleId":"D2","level":"warning","message":{"text":"keysetpagination.BuildWhereAndOrder (cognitive 30): keysetpagination.BuildWhereAndOrder has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 3, loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/pagination/keysetpagination_v2/query_builder.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31e7218dad7606c809d247cba8d20058e1c3c8c7924a80eb463c6a4411241ae"}},{"ruleId":"D2","level":"warning","message":{"text":"batch.buildInsertQueryValues (cognitive 29): batch.buildInsertQueryValues has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 3 (5 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/batch/create.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ecfd994e1476e8be12007b262b6cd13f0c1a205cb2d2df2e10d12fd36c0000"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.updateLoginFlow (cognitive 29): Handler.updateLoginFlow has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 2, jumps 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/handler.go"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0663c859eb57c43d43553d6d8363d73aea36f75b56f071a6f8c28fc642706a"}},{"ruleId":"D2","level":"warning","message":{"text":"Sender.SendCode (cognitive 29): Sender.SendCode has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (20 pts), match/switch 3 (8 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/code_sender.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1531bb797f81aaa263010730d2308adb4fbc8d58de90a86845d0759ddbb87675"}},{"ruleId":"D2","level":"warning","message":{"text":"batch.buildInsertQueryValues (cognitive 29): batch.buildInsertQueryValues has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/sqlxx/batch/create.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec401677638a594f162aad78f76d13e67f1498e1982b7054f71a64f4ee25854c"}},{"ruleId":"D2","level":"warning","message":{"text":"IdentityPersister.createIdentityCredentials (cognitive 28): IdentityPersister.createIdentityCredentials has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 5 (7 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8682c306a3c8b5b9e0924069e9a82ab002a93820432df7c38233ffc2baabae"}},{"ruleId":"D2","level":"warning","message":{"text":"HookExecutor.ApplyPendingTraitsChange (cognitive 28): HookExecutor.ApplyPendingTraitsChange has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 4, loops 2 (nesting depth added 7). Most of this is not in the body itself: 11 of the 28 points are its own statements and the rest belongs to one function literal inside it that branches (line 426). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/settings/hook.go"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"285d3fa8c28b3f24879d3d8ec4a33bb6a0ea8fb70e6712920ef247cc75317cea"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.Login (cognitive 28): Strategy.Login has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 4, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_login.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3953f71c45024684709e22a810cfe6b4ad82f5c24a57732d1f8e7a9d7072ef04"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.Login (cognitive 28): Strategy.Login has cognitive complexity 28 (threshold 15). Drivers by points: if/else 24 (27 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e802ff4ef374d2eb9afaec42548ea88631ac44ce42e646f3ab643bb1999513c"}},{"ruleId":"D2","level":"warning","message":{"text":"osx.readFile (cognitive 28): osx.readFile has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/osx/file.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf7a39de3f80653be2d690d6a15cc2cb5d264b07801dafa10c90956b00fc285"}},{"ruleId":"D2","level":"warning","message":{"text":"courier.NewEmailTemplateFromMessage (cognitive 27): courier.NewEmailTemplateFromMessage has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (26 pts), match/switch 1 (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/email_templates.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"19312aa66eb2a51de69a3799d6a6de0951286953f2ac0217b3d8e8bba6556e67"}},{"ruleId":"D2","level":"warning","message":{"text":"RegistryDefault.Init (cognitive 27): RegistryDefault.Init has cognitive complexity 27 (threshold 15). Drivers by points: if/else 20 (22 pts), boolean chains 4, loops 1 (nesting depth added 2). Most of this is not in the body itself: 11 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 704). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/registry_default.go"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd000448a489c67d62326fe6ec2a1bf4b9e9c760ac3607cc006788f7760d18c3"}},{"ruleId":"D2","level":"warning","message":{"text":"ErrorHandler.WriteFlowError (cognitive 27): ErrorHandler.WriteFlowError has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (22 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/recovery/error.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"27200ec8e7c50b241b9dc831d7f4b1bed5d1c775bb3343825b2c33973c30bd86"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.createBrowserRegistrationFlow (cognitive 27): Handler.createBrowserRegistrationFlow has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 1 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/registration/handler.go"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b9dc4f1cf18cf33a006bff15fccd0f60187f9f008b97916f1e7373546a54b9"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.Register (cognitive 26): Strategy.Register has cognitive complexity 26 (threshold 15). Drivers by points: if/else 22 (25 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_registration.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"21031159492c721748bcf1bf71f18e9636a445c3e99c6d3a02a928a27648d5e2"}},{"ruleId":"D2","level":"warning","message":{"text":"x.IsValidNumber (cognitive 26): x.IsValidNumber has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 8, loops 3 (6 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"x/json_number.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1089d7f137f323cb1830a45df1daf87fcfd3bac2fa4e3925dab9c5d830311e90"}},{"ruleId":"D2","level":"warning","message":{"text":"clidoc.GenMarkdownCustom (cognitive 26): clidoc.GenMarkdownCustom has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 12). Of this number, 23 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/clidoc/md_docs.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e612b71b55ded40fbfe174c9198a5ab6b9b37f0e3fe0771bf33833c816f1e57c"}},{"ruleId":"D2","level":"warning","message":{"text":"jsonnetx.NewFormatCommand (cognitive 26): jsonnetx.NewFormatCommand has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 2 (3 pts) (nesting depth added 15). None of this is in the body itself: all 26 points belong to one function literal inside it that branches (line 27). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/jsonnetx/format.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7c493c2cbc6064cee12f8f1ad51f32b4c7fdf66512d693535a26559ec0194c"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.findIdentityForIdentifier (cognitive 25): Strategy.findIdentityForIdentifier has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_login.go"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b71702879f7eaaa86ba7467ffe9512f930feecf0729f5eb5badd7d3da8f30fb"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.ValidateCallback (cognitive 25): Strategy.ValidateCallback has cognitive complexity 25 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"249d0664bcf21c05f4c1902adb0d4d032cdfbb69babdf7c46c80ceb6b7e33433"}},{"ruleId":"D2","level":"warning","message":{"text":"jwksx.generate (cognitive 25): jwksx.generate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (22 pts), match/switch 2, boolean chains 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/jwksx/generator.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95f20dbdc6aaef2a208fb32f481de920742967f9ecf7c5ba5461108e4cd4b94"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.Settings (cognitive 24): Strategy.Settings has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 2, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_settings.go"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"65acf6800a89b48bbdbe2e78bcc5be8d0be9ea8e532d867c1fd3128df3efbcc5"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaExtensionCredentials.Run (cognitive 23): SchemaExtensionCredentials.Run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 1 (nesting depth added 10). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/extension_credentials.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"10486de63d411e657ec55d43c0cd0e9d4f71c8882546ab94135b1866e87908fa"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.createBrowserLoginFlow (cognitive 23): Handler.createBrowserLoginFlow has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/handler.go"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1deb567d40bf4ea0028cd2fb4fee8270614940f09448a4667021645cc818cd6"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.FastLogin1FA (cognitive 23): Strategy.FastLogin1FA has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 4, 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":"selfservice/strategy/code/strategy_login.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2018301ef6dadea3a1ba2b44d1648d25d1a6d19b1cee06504ba1515b10dddf4"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.recoveryIssueSession (cognitive 23): Strategy.recoveryIssueSession has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (20 pts), match/switch 2 (3 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_recovery.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"4644a347fbf6df5fa5bc777991c0dc06b8c934294c5b4af2f0b5063d6b208d2f"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.alreadyAuthenticated (cognitive 23): Strategy.alreadyAuthenticated has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (23 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d65ce10c9dea80aef91d18092291f2055bfa9f4399276ad6494054a6c0ed1aa"}},{"ruleId":"D2","level":"warning","message":{"text":"Tokenizer.TokenizeSession (cognitive 23): Tokenizer.TokenizeSession has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (23 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"session/tokenizer.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"531d56ca4134f146e4aacc0468ab096328dc7a59b44f2c370391c9e36aa9347f"}},{"ruleId":"D2","level":"warning","message":{"text":"corpx.registerFakes (cognitive 22): corpx.registerFakes has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, loops 3 (4 pts), match/switch 1 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corpx/faker.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3396133b8a2cd75d5497e06a01976437f8e56437cdb308c1ae2af0823e339a"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.batchPatchIdentities (cognitive 22): Handler.batchPatchIdentities has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 2, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/handler.go"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"847f29fe7e1a493d649ce1045dbe4203fe3c78b6d4ae7f6b25df15102b40e93b"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.importCredentials (cognitive 22): Handler.importCredentials has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (22 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/handler_import.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"076d1375c81c1e59ebd6a6fad9baeffa77fe8675248567ebf7c4cda8843971e7"}},{"ruleId":"D2","level":"warning","message":{"text":"IdentityPersister.UpdateCredentialsConfig (cognitive 22): IdentityPersister.UpdateCredentialsConfig has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 1, loops 1 (nesting depth added 5). Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 1458). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf962100c3044dac4c34cb8824f1b5dc2f1e1b8ed3c34c7249cf1bba5b306ac"}},{"ruleId":"D2","level":"warning","message":{"text":"ErrorHandler.WriteFlowError (cognitive 22): ErrorHandler.WriteFlowError has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/registration/error.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebccd3aa558dc2228142da8f222ed7b7e9bf41d942b73511069f49f3c4936114"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.FastLogin2FA (cognitive 22): Strategy.FastLogin2FA has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_login.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc45b20d6c65fd7cdc904c19b491b728842d04a6bc9e2482780b86a3e2d61e1"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.Recover (cognitive 22): Strategy.Recover has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_recovery.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2286ea5c52c19a820139610d2e7c33e7643aa5f3e87dddc09490866a9a727a"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.Login (cognitive 22): Strategy.Login has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (22 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/password/login.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15dbda5e9b48206f3921c21cd750017e6a9ed19dd2b312bc202ca7340fcebbc"}},{"ruleId":"D2","level":"warning","message":{"text":"tlsx.GetCertificate (cognitive 22): tlsx.GetCertificate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 3 (8 pts), boolean chains 1, loops 1 (nesting depth added 10). Most of this is not in the body itself: 4 of the 22 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 161, 203). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/tlsx/cert.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f68f7a138c4e6241126a28ee152f598dc81b13242f176e16c983cdb39d82df"}},{"ruleId":"D2","level":"warning","message":{"text":"migrate.normalizeTable (cognitive 21): migrate.normalizeTable has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/migrate/normalize_phone_handler.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"930c5364f8ab2057a6e2ed750a98e058f433624c4d60223977720b538cc74270"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaExtensionRecovery.Run (cognitive 21): SchemaExtensionRecovery.Run has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 1, match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/extension_recovery.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d378cbdeb7cb9b0913e2df441542dba320397e29bf2b64559718e8418fff8b7d"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.deleteIdentityCredentials (cognitive 21): Handler.deleteIdentityCredentials has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/handler.go"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"29687bebfcd8e485c57ac084e7bc6761d5de60c23f8f5da36fab24c9bba3e85f"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.NewRegistrationFlow (cognitive 21): Handler.NewRegistrationFlow has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2, loops 2, match/switch 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/registration/handler.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b3eb251c4be8685fd9f899f5b3768d40276e9063b2da27d0711678dc8bb1e1"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.registrationVerifyCode (cognitive 21): Strategy.registrationVerifyCode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_registration.go"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"513ecf6f9d58d4e42fd9caa540be1c4a4d1df81c2f27ceb97b8d76602e42e524"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderApple.DecodeQuery (cognitive 21): ProviderApple.DecodeQuery has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (21 pts) (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_apple.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"737124bedcf11e1ee10b1d36166607158cf3c976d179defbca1cbc50bcf47d3d"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.unlinkProvider (cognitive 21): Strategy.unlinkProvider has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (17 pts), loops 2 (4 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_settings.go"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5f4e76ea9b258a96b049ec78cd4853ecbdf2a90d93364e606f6feae06b1b28"}},{"ruleId":"D2","level":"warning","message":{"text":"jsonx.embed (cognitive 21): jsonx.embed has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/jsonx/embed.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9f984a2ce35ea7f64540e4dc075c25910e73986154292f87d8cad0465f7c15"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrationBox.createMigrationStatusTableTransaction (cognitive 21): MigrationBox.createMigrationStatusTableTransaction has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (7 pts) (nesting depth added 13). Of this number, 14 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/popx/migrator.go"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4b1b2caa33a9a187eaffed9ad129edee4c6ab4f17110e327ba7c8526b00e76"}},{"ruleId":"D2","level":"warning","message":{"text":"urlx.ExtractPublicAddress (cognitive 21): urlx.ExtractPublicAddress has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/urlx/extract.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c40940fa4af2743b145ebbbfe747f582950412f6fa91a737606f61b7dc3a765"}},{"ruleId":"D2","level":"warning","message":{"text":"config.New (cognitive 20): config.New has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (20 pts) (nesting depth added 10). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/config/config.go"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d3ebea531b25652359e76156cef8a3b13721e59a9304690699d688a44708a6"}},{"ruleId":"D2","level":"warning","message":{"text":"ErrorHandler.WriteFlowError (cognitive 20): ErrorHandler.WriteFlowError has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/error.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bfe0a6423e14209b8c27e32c46fcaee4cb6e33ce105a9cc05ebb9716ea49d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ErrorHandler.WriteFlowError (cognitive 20): ErrorHandler.WriteFlowError has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/verification/error.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d353d95c94fb628da7a1ea411de7648c4eb127b9739106a87a6d636438a1e4"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.handleConflictingIdentity (cognitive 20): Strategy.handleConflictingIdentity has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"260681af29fb5946b01d78dd2a19ace9ea6fd5f61a8eb7136b6af4e2406a84e2"}},{"ruleId":"D2","level":"warning","message":{"text":"Nodes.SortBySchema (cognitive 20): Nodes.SortBySchema has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, loops 2 (nesting depth added 4). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 314, 285). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/node/node.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ac993b78385eed4d016af93989270d4d0f15be3aca8836a727c87932a667df"}},{"ruleId":"D2","level":"warning","message":{"text":"popx.MigrateSQLDown (cognitive 20): popx.MigrateSQLDown has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/popx/cmd.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfd129768a7f28d73263c758b8923a5a11fde83ed403891444f77a5ab93e599"}},{"ruleId":"D2","level":"warning","message":{"text":"sql.useOneTimeCode (cognitive 19): sql.useOneTimeCode has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 3 (4 pts), jumps 1 (nesting depth added 4). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 72). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_code.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bb229e04cc8f1ae423947d58facad24c69f52a0dcecfce885dc3a873e705d9"}},{"ruleId":"D2","level":"warning","message":{"text":"Persister.UpsertSession (cognitive 19): Persister.UpsertSession has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (18 pts), loops 1 (nesting depth added 5). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 262, 251). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_session.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bb42cb3e314990ddef53a544431d1d0a4ce1c482424c6bd62b9d43ce77830f"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.loginVerifyCode (cognitive 19): Strategy.loginVerifyCode has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_login.go"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4af2f0104bdae3ef0e875200cd76ea401875aed01f61d6d682727a10dc5049"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.retryRecoveryFlow (cognitive 19): Strategy.retryRecoveryFlow has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (16 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_recovery.go"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d06ca6971c27714973bcb5ee361502fb63ac48914a5c8f8296cdc7a90a10cb5"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.Login (cognitive 19): Strategy.Login has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (18 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/lookup/login.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99ea804ce1645ca9ff7029d878928f3209e5ebdbab55f93a0a9f0eee5832d1f"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.PopulateLoginMethodFirstFactorRefresh (cognitive 19): Strategy.PopulateLoginMethodFirstFactorRefresh has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (7 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a2849f43ea822be0b3ff9714d21d61be38a0cb0ee177e77cc0cd61c0287876"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultPasswordValidator.validate (cognitive 19): DefaultPasswordValidator.validate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5 (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":"selfservice/strategy/password/validator.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"679075c1d5d84076b7f1f602a350169b52674f43f7411609d595e756b14754aa"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.Register (cognitive 19): Strategy.Register has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/webauthn/registration.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"427ac227e55d8342a50b6b4c646b8855ec48d3de7795beb38585bfa62e361ac6"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.countCredentials (cognitive 19): Strategy.countCredentials has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/webauthn/strategy.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"300d6a88fad73fa7748cdaa21498869557134df6b8c5b80e075dad45f0e6ebca"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.Continue (cognitive 18): Manager.Continue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"continuity/manager.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0265447b3f3aa215ce46792119f9ad0b00fe0f1bdccf7eac5a8cc3bfa4edd9c2"}},{"ruleId":"D2","level":"warning","message":{"text":"identity.UpgradeCodeCredentials (cognitive 18): identity.UpgradeCodeCredentials has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/credentials_migrate.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc75b849f1e7391fb7904e974ceef3953a4bf8e33969c306311b1a5bf40f06aa"}},{"ruleId":"D2","level":"warning","message":{"text":"PasswordMigration.Execute (cognitive 18): PasswordMigration.Execute has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/password_migration_hook.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2b6f811896aa695a2cf5e8dc72099e58b36fb421a7758bbf21e0e7d57ddb39"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.Register (cognitive 18): Strategy.Register has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/passkey/passkey_registration.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7ed0de1ddee2030dd6de8cd89bcb21532aa2fabda24d40ba2d96fb2b0c3946"}},{"ruleId":"D2","level":"warning","message":{"text":"text.NewErrorValidationDuplicateCredentialsWithHints (cognitive 18): text.NewErrorValidationDuplicateCredentialsWithHints has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"text/message_validation.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"065d98c335a7095310941eb1123060bd135ac304ffb09ad2a3d2a42ac4147fbb"}},{"ruleId":"D2","level":"warning","message":{"text":"x.TypeMap (cognitive 18): x.TypeMap has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"x/map_json.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb462524e2153adc417dc2ae5b9f4b0aa4d72bdf2c1491fc2919163e0866f7d"}},{"ruleId":"D2","level":"warning","message":{"text":"jsonnetx.NewLintCommand (cognitive 18): jsonnetx.NewLintCommand has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 pts) (nesting depth added 10). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 26). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/jsonnetx/lint.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e502b6bf924e21fd2510a04e70191de8f50816104314ecc61df7a95cc5d460d9"}},{"ruleId":"D2","level":"warning","message":{"text":"sqlcon.ParseConnectionOptions (cognitive 18): sqlcon.ParseConnectionOptions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (18 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/sqlcon/parse_opts.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a102afe5396efa611dd189959885f05e7a4cd1702ef232d0d833ed41f2a2064a"}},{"ruleId":"D2","level":"warning","message":{"text":"identity.parseListIdentitiesParameters (cognitive 17): identity.parseListIdentitiesParameters has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/handler.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"929331519f7addcb2879e0d24fee8d9ff1f673e37bc4496682494600ca2ba046"}},{"ruleId":"D2","level":"warning","message":{"text":"identity.findFirstConflict (cognitive 17): identity.findFirstConflict has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3 (4 pts) (nesting depth added 6). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/manager.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"313a04c22e3e2d4c7f12d1911fba8fb9dd99c45018d4ce302ae7647a14cae182"}},{"ruleId":"D2","level":"warning","message":{"text":"Manager.ConflictingIdentity (cognitive 17): Manager.ConflictingIdentity has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 4 (5 pts) (nesting depth added 6). Of this number, 10 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/manager.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a6148aa50bd6acfa02ff47bb5cd61bae5758301a31943f0667acfe5f2abb5e"}},{"ruleId":"D2","level":"warning","message":{"text":"schema.NewExtensionRunner (cognitive 17): schema.NewExtensionRunner has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3 (4 pts) (nesting depth added 6). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 114, 138). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"schema/extension.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5097b193dced3ee180bed9b3c5800c2fa6471735ce668e46e94749c2faee7bd8"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.continueSettingsFlow (cognitive 17): Strategy.continueSettingsFlow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/lookup/settings.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc65eac45fc5c1c5dc6865d7438944396fb00c4d2fa268b6bd25cec84f23e96"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.showCredentialsSelection (cognitive 17): Strategy.showCredentialsSelection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 1, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/profile/registration.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddecdc3e0782beaecd277496ee0233bb83146b2973e43b463d9a9925f43de39"}},{"ruleId":"D2","level":"warning","message":{"text":"ManagerHTTP.IssueCookie (cognitive 17): ManagerHTTP.IssueCookie has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"session/manager_http.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7cd66e8998ad3fedd8ced9947545bc1df0f9bb9f9359586fb37c8476c22426"}},{"ruleId":"D2","level":"warning","message":{"text":"Provider.createProviders (cognitive 17): Provider.createProviders has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 3, boolean chains 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/configx/provider.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"801a921a5b68d0b7d60338997756b0abb189de9b1b63daa9c1933278be9cd26a"}},{"ruleId":"D2","level":"warning","message":{"text":"mergedFile.ReadDir (cognitive 17): mergedFile.ReadDir has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/fsx/merge.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e613cc5b8dd70563b56e1d65df12fb26102ede64234360736bdeabbbb7d954"}},{"ruleId":"D2","level":"warning","message":{"text":"josex.NewSigningKey (cognitive 17): josex.NewSigningKey has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 2, boolean chains 1 (nesting depth added 7). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/josex/generate.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"33543b1c219127e72c20e2991d11c3caac4325371088088d6bedf872f3923b13"}},{"ruleId":"D2","level":"warning","message":{"text":"identities.ValidateIdentity (cognitive 16): identities.ValidateIdentity has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (16 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/identities/validate.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"279674d89ac015e4ded755365e3f6c87246e85f5eb0353474efc50fe26efafa8"}},{"ruleId":"D2","level":"warning","message":{"text":"identity.CredentialsEqual (cognitive 16): identity.CredentialsEqual has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/credentials.go"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"b713f2ec259fa7624b6c30b002269a88f3d6de8569fbf7d48d05b8b84fedf973"}},{"ruleId":"D2","level":"warning","message":{"text":"batch.buildInsertQueryArgs (cognitive 16): batch.buildInsertQueryArgs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 5 (6 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/batch/create.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ab086677861b62c0f930100b2d053e250c4c692d03d84dd5d6c50052475378"}},{"ruleId":"D2","level":"warning","message":{"text":"testhelpers.MockSessionCreateHandlerWithIdentityAndAMR (cognitive 16): testhelpers.MockSessionCreateHandlerWithIdentityAndAMR has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/handler_mock.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab1599417e22250b9ed654ca0361b8f7321206c2addc29768f11d3f20d72d98"}},{"ruleId":"D2","level":"warning","message":{"text":"testhelpers.serveSMTP (cognitive 16): testhelpers.serveSMTP has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (13 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/mailhog.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3b6ffc177591a7f101c836d0c3d4aa685ddc9f1c8bcd3af1c85466d30ded8d"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.ReadSchema (cognitive 16): Handler.ReadSchema has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"schema/handler.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e023dfdea607316a51e8026594e2e7d07c7f93e7c0093b6aa7e1c30e75ea440"}},{"ruleId":"D2","level":"warning","message":{"text":"hook.computeNotifyTargets (cognitive 16): hook.computeNotifyTargets has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 3 (7 pts), match/switch 1 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/notify_previous_addresses.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e027d6a0e684f47cd6c59ce717f4c6cc5ab4a6bd0c911b8038833d893646b513"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.PopulateMethod (cognitive 16): Strategy.PopulateMethod has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40218fdeadb5a6a8b36d51116cfecaafc199067011a5c1d372a7ae93ce090e2"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.recoveryUseToken (cognitive 16): Strategy.recoveryUseToken has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (16 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/link/strategy_recovery.go"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b8264eb88d4ce206ba9231c78197ad0e89530242eba04d17538d20b954e62d"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.processRegistration (cognitive 16): Strategy.processRegistration has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_registration.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f28af6d61f0546ebd1e579583ff226b9a61a3abb148be4deeab75308035ead9"}},{"ruleId":"D2","level":"warning","message":{"text":"Strategy.continueSettingsFlowAdd (cognitive 16): Strategy.continueSettingsFlowAdd has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (15 pts), loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/webauthn/settings.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da1a430961ae1de205e27b44e0ba2cb763f10c31faacdd849115f7394adc1b9"}},{"ruleId":"D2","level":"warning","message":{"text":"mergedFS.Stat (cognitive 16): mergedFS.Stat has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 2 (4 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/fsx/merge.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a850336f99213e5f4e0b93fbe221a800a0d2cb0fe786110c8d15c5674e686999"}},{"ruleId":"D2","level":"warning","message":{"text":"PageToken.MarshalJSON (cognitive 16): PageToken.MarshalJSON has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/pagination/keysetpagination_v2/page_token.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"784d1e766eead7592753f421134b48f750c07065855c9824be6326ddaeb63c1b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Config: TooManyMethods \u2014 160 methods. The bar is 30 methods; this is 130 over it, 5.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":"driver/config/config.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70169a4bb278cb62e11ff581c533ff7f5705a283f837feca66534be7dc277a5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RegistryDefault: TooManyMethods \u2014 135 methods, declared across 9 files: driver/registry_default.go (83), driver/registry_default_verification.go (11), driver/registry_default_hooks.go (9), driver/registry_default_recovery.go (9), \u002B5 more file(s). The bar is 30 methods; this is 105 over it, 4.50\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/registry_default.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"82097a89e463d5813d2f2f8d8554e174dd191faadfcaeb0de2e476c7f7d710fe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Persister: TooManyMethods \u2014 106 methods, declared across 18 files: sql/persister_session.go (23), sql/persister.go (11), sql/persister_courier.go (8), sql/persister_recovery.go (7), \u002B14 more file(s). The bar is 30 methods; this is 76 over it, 3.53\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa63286e2ee2143b91817df313fe570fd9648932e19db5a4e3276b6e3a256f8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: identity/persister_identity.go: FileTooLong \u2014 1234 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: IdentityPersister (37 blocks, 62-2105). The bar is 500 significant lines; this is 734 over it, 2.47\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":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d2396a275f55d9c92f92769ac2805a83b6dc36a73070d9045ce9b89b6850e8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Strategy: TooManyMethods \u2014 68 methods, declared across 6 files: code/strategy_login.go (18), code/strategy_recovery.go (17), code/strategy_verification.go (12), code/strategy.go (9), \u002B2 more file(s). The bar is 30 methods; this is 38 over it, 2.27\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc72cde8ed230adaca9ebf43a28a1151473f5c2433f4b4d0258ac5c5fc0fe32f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/config.go: FileTooLong \u2014 1111 significant lines (blank, comment-only and punctuation-only lines excluded), about 63% of them inside a single declaration: Config (160 blocks, 457-1732). The bar is 500 significant lines; this is 611 over it, 2.22\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":"driver/config/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79530aa50b77e5d37c54c195173a6196770ba97411cda74dc6bc7ffb33c8a7e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IdentityPersister: ClassTooLong \u2014 858 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods, 37 blocks, lines 62-2105. The bar is 400 significant lines; this is 458 over it, 2.15\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":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e6afcace5b73b77820d998ccfccf204b88aaf167e57cbb02128a0741cf2f49"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Strategy: TooManyMethods \u2014 64 methods, declared across 6 files: oidc/strategy.go (23), oidc/strategy_settings.go (15), oidc/strategy_registration.go (12), oidc/strategy_login.go (9), \u002B2 more file(s). The bar is 30 methods; this is 34 over it, 2.13\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4d1be790abd816d89f33748571494a73a3906440c669fe11f2911c27840a12"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RegistryDefault: TooManyFields \u2014 63 stored fields beside 135 methods. The bar is 30 stored fields; this is 33 over it, 2.10\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/registry_default.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c03b64d17b7b7f18b2bc9710382bb482419154dcce54a56258bbfac8603e877"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HookExecutor.PostLoginHook: MethodTooLong \u2014 PostLoginHook runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/hook.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"245807d870e7b9c1c0e6c18942ad0e35872c6ebcdeb8a1588d297007981ee047"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: registrationhelpers.AssertCommonErrorCases: FunctionTooLong \u2014 AssertCommonErrorCases runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/registrationhelpers/helpers.go"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7aafccb8666257b2991a53f29b1969154e3b962543210d808372ca2cb21df2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: jsonschemax.listPaths: FunctionTooLong \u2014 listPaths runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/jsonschemax/keys.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"1128a017d8cae4f51662c21f6bdf281ae5c02fdf3cde2f078d8e75caacc664be"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HookExecutor.PostRegistrationHook: MethodTooLong \u2014 PostRegistrationHook runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/registration/hook.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ff75b74c3ea7f44f643b2857ca79f67ce1060e8f5b1b079cd903be38a658ec"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Config: ClassTooLong \u2014 695 significant lines (blank, comment-only and punctuation-only lines excluded), 160 methods, 160 blocks, lines 457-1732. The bar is 400 significant lines; this is 295 over it, 1.74\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":"driver/config/config.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff535cb2f13d0fc60efdc751470bd2ecfb9334cd3818ae6af61c2b385db825e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.init: FunctionTooLong \u2014 init runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clidoc/main.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"713117ace82c79137378fefef392ad941a3de67c674ac799193862c60ea6f815"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: argon2.newCalibrateCmd: FunctionTooLong \u2014 newCalibrateCmd runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/hashers/argon2/calibrate.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac34855934a794d1521fd3d3c85c03c44371b0f0753bf3962ae9d0e53a6e2393"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HookExecutor.PostSettingsHook: MethodTooLong \u2014 PostSettingsHook runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/settings/hook.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc37d7ef9840eba090ed1ee098a42399dca3be1a34f0a2409bdd2b112e07ce69"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IdentityPersister.ListIdentities: MethodTooLong \u2014 ListIdentities runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfa554294acf9848de384465883fd5a41b30974aeb8124e58cee8272448e090"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: oidc/strategy.go: FileTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: Strategy (23 blocks, 150-997). The bar is 500 significant lines; this is 130 over it, 1.26\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":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2590af5fb0ac078e510099af27bc7be722109f05279b13758e1a4727cac7ab7e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RegistryDefault: ClassTooLong \u2014 498 significant lines (blank, comment-only and punctuation-only lines excluded), 135 methods, 70 blocks, lines 78-957. The bar is 400 significant lines; this is 98 over it, 1.25\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":"driver/registry_default.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c17820bc8cff5431c50299af4db57992adcf8174762c63dfd8bcebf6c4839a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IdentityPersister: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fffb5c6e9379559baa0ce0a0f257673c324192d6a04f2b4d4ddbc570c6020c9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Strategy: TooManyMethods \u2014 37 methods, declared across 5 files: webauthn/login.go (14), webauthn/settings.go (9), webauthn/registration.go (7), webauthn/strategy.go (6), \u002B1 more file(s). The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/webauthn/strategy.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb57f2e98b659e37dbf476420b51f64d18dfa90dd05a3a6cb0344f20029d4556"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Strategy: TooManyMethods \u2014 36 methods, declared across 5 files: passkey/passkey_login.go (9), passkey/passkey_registration.go (9), passkey/passkey_settings.go (9), passkey/passkey_strategy.go (6), \u002B1 more file(s). The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/passkey/passkey_strategy.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5dd1c60906d164a9fc51d829706850b3ec9107c90859b96826959efd9fd823"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: identity/handler.go: FileTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded), about 63% of them inside a single declaration: Handler (13 blocks, 77-1527). The bar is 500 significant lines; this is 95 over it, 1.19\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":"identity/handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26afe249a2a9d57b0a95841f7773ddd2918c3fa0c88156739d16ffc6504159ba"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Strategy: ClassTooLong \u2014 458 significant lines (blank, comment-only and punctuation-only lines excluded), 64 methods, 23 blocks, lines 150-997. The bar is 400 significant lines; this is 58 over it, 1.15\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":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad7a9a247724c4aeca96b64d71089eb5510ef844d8d527f52187db170a3dae4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AndroidAuthorizationList: TooManyFields \u2014 34 stored fields. The bar is 30 stored fields; this is 4 over it, 1.13\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/deviceauthn/attestation.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c795b6b2567b27bfde194b3f99097c121fbf4fbf0d353c76c1ea4ac5f2ea90"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MigrationBox.UpTo: MethodTooLong \u2014 UpTo runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/popx/migrator.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a73bca1afaff497e000325628e0aaa5cd8d5554dd0e45b657d5d7a2b3255b58"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: decoderx.decodeURLValues: FunctionTooLong \u2014 decodeURLValues runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/decoderx/http.go"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69eb05adcc8106377b786fb731d57f498f82640ea49c1fc71ef34c04ff70f48"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: driver/registry_default.go: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: RegistryDefault (70 blocks, 78-957). The bar is 500 significant lines; this is 38 over it, 1.08\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":"driver/registry_default.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11b08f0986ccc8914c4baad55c57f413bb6660a03f4d9c41d0c99c9243f52ba"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Handler.NewLoginFlow: MethodTooLong \u2014 NewLoginFlow runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/handler.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcba5c10447cf1864cf8ab8cf6bfdcad32aa28cfb9b4b90979567770a9332e47"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Sender.SendCode: MethodTooLong \u2014 SendCode runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/code_sender.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"42129c202038bbd8bca6c0c42d9722586b41bf202e29bfa5cd47ce4c6a8ee3c1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Strategy.HandleCallback: MethodTooLong \u2014 HandleCallback runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c32a4ba4224098c97f7783a986dfbf5bae9b19e428c8acf8d083b30a82ecefb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/handler.go: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: Handler (18 blocks, 97-1371). The bar is 500 significant lines; this is 9 over it, 1.02\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":"session/handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e084b389d8db7135848d9f5bef80c172c6e76bcdca4ee540c1d756b7c43d1fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: code/strategy_recovery.go: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: Strategy (17 blocks, 44-900). The bar is 500 significant lines; this is 6 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_recovery.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fb20085c0311981c890c66a997545e81e8b5d2a9f797ef9293338362ce7f01"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (52 shared lines): selfservice/strategy/passkey/passkey_settings.go:332-414 | selfservice/strategy/webauthn/settings.go:246-332 \u2014 These two members are variants of one another: 52 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"454b42acd585ff14bdcd9cd5fc36d858a73b62d349520bc177f005fc6233c3c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (48 shared lines): cmd/daemon/serve.go:56-154 | cmd/daemon/serve.go:156-240 \u2014 These two members are variants of one another: 48 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/daemon/serve.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d15decf0f0410c03ec6c29e466ca98be461d81df0280ab548c4aa373444f5cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (43 shared lines): selfservice/strategy/oidc/provider_auth0.go:76-125 | selfservice/strategy/oidc/provider_salesforce.go:76-125 \u2014 These two members are variants of one another: 43 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_auth0.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe3f02d04f017f6f5dbad74d55b9b61d8a1a16d1441a644206059343ad2024b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (34 shared lines): selfservice/strategy/passkey/passkey_settings.go:279-330 | selfservice/strategy/webauthn/settings.go:190-244 \u2014 These two members are variants of one another: 34 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8e1eaa56d4efaa6e48d9dddcb0eab1eef2b04c05b53fdff91d3951df697a62"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (30 shared lines): selfservice/strategy/oidc/strategy_login.go:469-597 | selfservice/strategy/oidc/strategy_registration.go:164-283 \u2014 These two members are variants of one another: 30 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"248cad387a07fa8551512e1eaa907dd1e61b961449a93311d71477392b7d52a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (29 shared lines): selfservice/flow/login/error.go:103-191 | selfservice/flow/registration/error.go:100-201 \u2014 These two members are variants of one another: 29 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/error.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"982f58d0cf4b2f05dc9dfeb8d865d47e60fb63157378efdc2a1fe6749307ff90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): selfservice/strategy/oidc/provider_auth0.go:131-144 | selfservice/strategy/oidc/provider_salesforce.go:131-144 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_auth0.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a14b9d20f1e121410254d87e5f8899426db57237d114229841126901841eae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): selfservice/strategy/idfirst/strategy_login.go:45-163 | selfservice/strategy/password/login.go:51-127 | selfservice/strategy/password/registration.go:89-162 | selfservice/strategy/profile/registration.go:261-328 | selfservice/strategy/totp/login.go:94-145 | selfservice/strategy/webauthn/registration.go:96-196 \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":"selfservice/strategy/idfirst/strategy_login.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8935baabb3632b51e82c975d22cc75ce7f8f4593194100a04216f2aec8ab09"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): selfservice/strategy/lookup/settings.go:149-184 | selfservice/strategy/passkey/passkey_settings.go:252-277 | selfservice/strategy/password/settings.go:152-215 | selfservice/strategy/profile/strategy.go:162-194 | selfservice/strategy/totp/settings.go:134-169 | selfservice/strategy/webauthn/settings.go:164-188 \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":"selfservice/strategy/lookup/settings.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e0f652a561c0cfa2bb0606fcfbd1fd53b56c8843da4f3d65a2727129e949c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): selfservice/flow/login/flow.go:193-241 | selfservice/flow/recovery/flow.go:135-186 | selfservice/flow/registration/flow.go:150-201 | selfservice/flow/settings/flow.go:146-183 | selfservice/flow/verification/flow.go:139-183 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/flow.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5e07063901fb38a0be4db1f063e3d0bc22d5283985116252db595a753db4b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): selfservice/strategy/code/strategy_recovery.go:53-85 | selfservice/strategy/code/strategy_recovery.go:474-550 | selfservice/strategy/code/strategy_recovery.go:552-639 | selfservice/strategy/code/strategy_recovery.go:641-711 | selfservice/strategy/code/strategy_recovery.go:768-828 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_recovery.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5271757eb368c08c1b9f94ca54705faa19aabd34608d79ea7a492e58ff467f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): selfservice/strategy/lookup/login.go:90-171 | selfservice/strategy/passkey/passkey_login.go:158-188 | selfservice/strategy/passkey/passkey_login.go:190-219 | selfservice/strategy/webauthn/login.go:152-192 | selfservice/strategy/webauthn/login.go:194-249 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/lookup/login.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fffe9e624bba6a4193c780d266549635239f91cfe153dbfe1114d73cf8b5871"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): selfservice/strategy/lookup/settings.go:101-135 | selfservice/strategy/passkey/passkey_settings.go:173-207 | selfservice/strategy/password/settings.go:78-105 | selfservice/strategy/totp/settings.go:85-118 | selfservice/strategy/webauthn/settings.go:106-144 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/lookup/settings.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ace646c3824a47cb8bd37e68647e453684a9d07b7ca4a3e1f30f14fd943ee7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): selfservice/strategy/lookup/strategy.go:33-81 | selfservice/strategy/passkey/passkey_strategy.go:31-79 | selfservice/strategy/password/strategy.go:33-81 | selfservice/strategy/totp/strategy.go:32-80 | selfservice/strategy/webauthn/strategy.go:31-79 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/lookup/strategy.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4ca143fb02298ea0373398bc52d63d88ace6afc3f41ac3aeba46484217189c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): selfservice/strategy/passkey/passkey_settings.go:430-444 | selfservice/strategy/password/settings.go:228-242 | selfservice/strategy/profile/strategy.go:253-278 | selfservice/strategy/totp/settings.go:302-316 | selfservice/strategy/webauthn/settings.go:414-428 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"4904114cc68c2e4e75778b3c960a38557b33336cdaacce3e604a71607ee71c90"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): selfservice/strategy/idfirst/strategy_login.go:173-192 | selfservice/strategy/passkey/passkey_login.go:44-127 | selfservice/strategy/password/login.go:183-200 | selfservice/strategy/webauthn/login.go:351-384 \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":"selfservice/strategy/idfirst/strategy_login.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd39bc549dead9746183f60ccd9ae366535109caef85f288419fdf3ce07abda"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): selfservice/strategy/oidc/provider_auth0.go:46-70 | selfservice/strategy/oidc/provider_gitlab.go:45-67 | selfservice/strategy/oidc/provider_netid.go:56-72 | selfservice/strategy/oidc/provider_salesforce.go:46-70 \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":"selfservice/strategy/oidc/provider_auth0.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d90c8303a8257be1c4c5ceb2819034d0e62e54438c36016a9ee07d82f78567"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): selfservice/strategy/passkey/passkey_settings.go:416-428 | selfservice/strategy/password/settings.go:107-119 | selfservice/strategy/totp/settings.go:120-132 | selfservice/strategy/webauthn/settings.go:146-158 \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":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"b274edaa5a8bfda188c89e2d0c01463378e3ec62c3565ebfcafd4629e7258dc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): x/events/events.go:333-349 | x/events/events.go:351-367 | x/events/events.go:369-386 | x/events/events.go:418-436 \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":"x/events/events.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a2d4a943ad76a754b3485f9d1c5a38580cb041787bb5abb9909f3c3cb3409d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (103 corresponding lines): selfservice/strategy/code/strategy_verification.go:298-410 | selfservice/strategy/link/strategy_verification.go:201-303 \u2014 These two members are one piece of code written twice and then edited apart: 103 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":"selfservice/strategy/code/strategy_verification.go"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20da3f7d1c4fa41d10c5aaf66031c38990c5251b5581d47d146350f5222fa5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (85 corresponding lines): selfservice/flow/recovery/error.go:76-170 | selfservice/flow/verification/error.go:74-158 \u2014 These two members are one piece of code written twice and then edited apart: 85 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":"selfservice/flow/recovery/error.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba410859d011b6cf78fcc3c8b57c93dace7bebc361b6fad3532d0a33ed7fe93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): selfservice/flow/login/handler.go:728-797 | selfservice/flow/registration/handler.go:545-604 \u2014 These two members are one piece of code written twice and then edited apart: 60 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":"selfservice/flow/login/handler.go"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd06939ee6c46aeba28ad8de5964d2a7751d643d5f95b0b80d2ead6ad369dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): selfservice/strategy/oidc/provider_amazon.go:102-141 | selfservice/strategy/oidc/provider_uaepass.go:118-182 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"selfservice/strategy/oidc/provider_amazon.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"a548aead521cbbf50eddb91c7939a4de6bee0ecbdc8fb8cd8bff6aa99e90f919"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): selfservice/flow/recovery/handler.go:290-328 | selfservice/flow/verification/handler.go:292-330 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/recovery/handler.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae36de8ce9fd6988a24ddf6b9e4c95892b0ca2fd8c434ea8e6456f83cb938c73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): selfservice/strategy/lookup/settings.go:282-328 | selfservice/strategy/totp/settings.go:171-228 \u2014 These two members are one piece of code written twice and then edited apart: 47 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":"selfservice/strategy/lookup/settings.go"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"694534a4655efa3357df2b324da1d5496713c908f28f4f619bd752454edc7b30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): selfservice/strategy/oidc/provider_vk.go:64-134 | selfservice/strategy/oidc/provider_yandex.go:62-115 \u2014 These two members are one piece of code written twice and then edited apart: 54 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":"selfservice/strategy/oidc/provider_vk.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16f8c11e3bed1a7fd55b056b6b384d48fdccc373422418be2f2831e3c1a8765"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): selfservice/strategy/code/strategy_login.go:516-572 | selfservice/strategy/code/strategy_registration.go:212-279 \u2014 These two members are one piece of code written twice and then edited apart: 57 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_login.go"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c0d1bc8f7cbbbd541236465d14ab7a61f9ca2b6e2f2b0b081e4dc0dea4a4cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): selfservice/strategy/oidc/provider_github.go:65-114 | selfservice/strategy/oidc/provider_github_app.go:60-100 \u2014 These two members are one piece of code written twice and then edited apart: 41 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":"selfservice/strategy/oidc/provider_github.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6b06696f92e7b84dbeb9fb6eb828615d8add8f2946ac9abe90bc0ea65c4f7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): selfservice/strategy/code/strategy_login.go:277-331 | selfservice/strategy/code/strategy_login.go:333-379 \u2014 These two members are one piece of code written twice and then edited apart: 47 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":"selfservice/strategy/code/strategy_login.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65fdef25299baa0d8c5fe53a4488dc1b681284fd5646fe33d2649ebf9b8ff0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): selfservice/strategy/link/strategy_recovery.go:463-498 | selfservice/strategy/link/strategy_verification.go:164-199 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"selfservice/strategy/link/strategy_recovery.go"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e347cd3715e274d84a3f6317c07c3f4da52b458d3a34208079e2573fb41e5a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): persistence/sql/persister_recovery.go:75-122 | persistence/sql/persister_verification.go:73-120 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"persistence/sql/persister_recovery.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"394783bdfeaa4e340d94480acec55e890443bf1105b75b89079d699198dce166"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): persistence/sql/identity/persister_identity.go:162-235 | persistence/sql/identity/persister_identity.go:237-322 \u2014 These two members are one piece of code written twice and then edited apart: 74 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":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"838d6409b2c8a5693ad5b3eb9d85f98d20a4386da3aca60c2e425d891db69182"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 52\u002B corresponding lines): selfservice/strategy/code/code_sender.go:351-409 | selfservice/strategy/link/sender.go:64-115 | selfservice/strategy/link/sender.go:122-174 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 52 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":"selfservice/strategy/code/code_sender.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbed1a7b4d13de47fb7a0517a09f952f28e22719c911f88b64989e000300d94a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): oryx/jsonnetx/format.go:17-76 | oryx/jsonnetx/lint.go:18-63 \u2014 These two members are one piece of code written twice and then edited apart: 46 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":"oryx/jsonnetx/format.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9274915ef1860f97fa8561894f2cf9ec3800d9bb500a0b21dd8fb4c0ce6ece7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): selfservice/strategy/oidc/provider_facebook.go:67-139 | selfservice/strategy/oidc/provider_gitlab.go:73-109 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"selfservice/strategy/oidc/provider_facebook.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c8651192d293614b25dea00396dd9feb3a97f20c5df88d60d2417370d7740a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): oryx/sqlxx/batch/create.go:46-111 | persistence/sql/batch/create.go:71-142 \u2014 These two members are one piece of code written twice and then edited apart: 66 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":"oryx/sqlxx/batch/create.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0b2239612fa5797cfab7de5c4eeec3bc2418371093a9e423f395d16f92c06b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): selfservice/flow/recovery/handler.go:121-149 | selfservice/flow/recovery/handler.go:197-226 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/recovery/handler.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4523132495c9091e13a2879bce558246a9c5a825eaf3f5bc27e2648b63f96238"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): identity/handler_import.go:254-297 | identity/handler_import.go:299-340 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/handler_import.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca82bc79e7de29b65efd50dac8f5add127602f4bf30f2d9cd9587b9a9ee74c26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): oryx/tlsx/cert.go:358-401 | pkg/testhelpers/e2e_server.go:179-225 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"oryx/tlsx/cert.go"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d960282948be4fa5e541579ebaa9c7b4c8d6ca103275c4fc7b8a135f7702d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): selfservice/strategy/code/strategy_verification.go:144-174 | selfservice/strategy/link/strategy_verification.go:127-162 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_verification.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac43bcce4a2994bcef6c1da2a40bfbfceba39369ee63de9e6f792855f7c2df66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): pkg/testhelpers/selfservice_login.go:163-206 | pkg/testhelpers/selfservice_registration.go:50-86 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"pkg/testhelpers/selfservice_login.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f178e5adef9ad60a8136b42e7ed85d85b1916ef2c5065d4b7e1285836d4d3bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): selfservice/strategy/passkey/passkey_registration.go:315-378 | selfservice/strategy/webauthn/registration.go:198-232 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/passkey/passkey_registration.go"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b460c459907101c623742231b9167f3e1da562eff42387f7468c6837f634146"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): selfservice/strategy/link/strategy_recovery.go:433-461 | selfservice/strategy/link/strategy_verification.go:305-327 | selfservice/strategy/link/strategy_verification.go:329-358 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/link/strategy_recovery.go"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1187a2bcf16ddf075cb882d56c79670fe9925cda8f80c21c96d4611b8df7071"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): oryx/sqlxx/batch/create.go:113-169 | persistence/sql/batch/create.go:144-203 \u2014 These two members are one piece of code written twice and then edited apart: 57 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/sqlxx/batch/create.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ad0644d998f9839656bf7e57820540a42b4aa57e0b880d14d89a9d38f90dcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): oryx/cmdx/printing.go:87-120 | oryx/cmdx/printing.go:143-189 \u2014 These two members are one piece of code written twice and then edited apart: 34 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":"oryx/cmdx/printing.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d68304f6b3218a5fdaa30b4e1171c2ce665019f52f41da73d1c535df71821ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): hash/hasher_argon2.go:49-87 | hash/hasher_pbkdf2.go:34-70 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"hash/hasher_argon2.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb681c2719b3baa6d9f5f7f1bc621fc75c018159ea7c8b8381d7c3decfd5a25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): selfservice/flow/recovery/hook.go:86-120 | selfservice/flow/verification/hook.go:100-130 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/recovery/hook.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9863054433eae6897b06f46a3d6f268123e0e795cebbad85c4e47c241a2017b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): persistence/sql/identity/persister_identity.go:481-508 | persistence/sql/identity/persister_identity.go:719-748 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5c0e4e0f15a92664a3998160126338b318aca9a925c3a206bafffad16a2367"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): identity/handler.go:384-409 | identity/handler.go:436-466 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/handler.go"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a83f9cc30c02b1cb86502b6bdd2565285ab62be56bad3f09dece33b5984580"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): selfservice/strategy/lookup/login.go:29-59 | selfservice/strategy/totp/login.go:28-58 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/lookup/login.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fcdc8751a0d137182ffd5ca5cc01f2c5440d04183f056bc88d28b038e90772"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): request/builder.go:139-175 | request/builder.go:177-215 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"request/builder.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb80059593401261b4621d2ac02443faeb55306a828386208bf1cd1266f99494"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): hash/hash_comparator.go:442-479 | hash/hash_comparator.go:493-527 | hash/hash_comparator.go:531-560 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 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":"hash/hash_comparator.go"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef26abcdfbd2177aff744607d5db901d6c686caac5e1bcec0490e89dd53886ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): oryx/metricsx/middleware.go:309-347 | oryx/metricsx/middleware.go:349-382 \u2014 These two members are one piece of code written twice and then edited apart: 34 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":"oryx/metricsx/middleware.go"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e70f5e64e0a44b58eafc1a9a9b167ac44a6c1917503c03431a06dd11da47ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): oryx/hasherx/hasher_argon2.go:79-113 | oryx/hasherx/hasher_pbkdf2.go:53-81 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/hasherx/hasher_argon2.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa81fbd9d5d9be62403796175ec75699a40bfc89cfe06d144937d1bb5e27063f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): persistence/sql/identity/persister_identity.go:1921-1946 | persistence/sql/identity/persister_identity.go:1948-1973 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f1ac60f70c265b957bde481ce9c0c0772de2bd56bb6f961f58d24f9e340bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): pkg/testhelpers/selfservice_recovery.go:53-78 | pkg/testhelpers/selfservice_verification.go:140-170 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/selfservice_recovery.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"10446a003b57fff4a8e92ef5a50c88d718dfb03d30d362fff79a4b76d969e4ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): hash/hash_comparator.go:564-594 | hash/hash_comparator.go:727-759 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hash/hash_comparator.go"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca57e2aab83c9b7e8f6a71d8d8dbde18a6b7a31aa0f6bf408e8ac6fc194ff5ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): driver/registry_default.go:181-208 | driver/registry_default.go:210-239 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/registry_default.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"db18df01c61e3a32c3af7f87d9d56fd3cf07be24933d7df352e2d4032b2c62e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): persistence/sql/persister_recovery_code.go:20-51 | persistence/sql/persister_verification_code.go:21-54 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_recovery_code.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba5e30413932a304bebaeab69bbd040db88e1f0b328bc4a9dc03579745fd02f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): oryx/pagination/pagepagination/pagination.go:31-67 | oryx/pagination/parse.go:12-48 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"oryx/pagination/pagepagination/pagination.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1390a9d6b2b0397c30bcb6e443b257b4945da895ee29a8abf65dbe714f25ea74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): pkg/testhelpers/session.go:155-170 | pkg/testhelpers/session.go:172-188 \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":"pkg/testhelpers/session.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff30dd57435741b4ac9ac0142052916346ad9707d3af43db946f0472f6aa00a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): pkg/testhelpers/selfservice_login.go:335-362 | pkg/testhelpers/selfservice_registration.go:181-202 | pkg/testhelpers/selfservice_settings.go:250-276 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/selfservice_login.go"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4baa8edefecf7fa9dd058a62ac80759420e9d2be18cc1f396874be64174a729"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): selfservice/strategy/oidc/strategy_registration.go:135-162 | selfservice/strategy/oidc/strategy_settings.go:62-89 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_registration.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8dfe12dafbb78c0cd16fe351f646f671b903a033ffff187bc363bda8d4b7554"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): pkg/testhelpers/selfservice_verification.go:33-57 | pkg/testhelpers/selfservice_verification.go:59-83 \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":"pkg/testhelpers/selfservice_verification.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33491e740d05e315f27f28891372013eac5227cce9c45e3b1396e39c22ae062"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): oryx/pagination/keysetpagination/paginator.go:78-102 | oryx/pagination/keysetpagination_v2/paginator.go:60-81 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/pagination/keysetpagination/paginator.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11cbf64a4f744e78fc94ec19381beec28b679ec2ed29c5bb191c270767d6c5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): oryx/pagination/keysetpagination/header.go:91-112 | oryx/pagination/keysetpagination_v2/request_params.go:88-109 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/pagination/keysetpagination/header.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc422d8ca7f1ebe00c1e5416cdf5986a27dba881497efb7138283d97dd398974"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): selfservice/strategy/webauthn/registration.go:234-252 | selfservice/strategy/webauthn/registration.go:274-292 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/webauthn/registration.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"8408c9f08a137fcf05b225012e050943fafaeb7b06a102752659f5e88e74aba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): cmd/cleanup/sql.go:20-49 | cmd/migrate/normalize_phone.go:16-55 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/cleanup/sql.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f294f5eba1d4d19d7dd142c6281af43eb3111bbea91a6b9d527c057feb0f80f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/testhelpers/selfservice_recovery.go:117-135 | pkg/testhelpers/selfservice_verification.go:209-228 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/selfservice_recovery.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"2597484e49785a0e23d7799fa841c160a9cb2c5f4e6179ba6f07dce82d137eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): selfservice/flow/recovery/error.go:172-187 | selfservice/flow/verification/error.go:160-175 \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":"selfservice/flow/recovery/error.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9417e0c10860d6444704f8162bbfc027068508f8a9ca4e6a817923966d7f0810"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): driver/registry_default_registration.go:24-44 | driver/registry_default_settings.go:22-41 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/registry_default_registration.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec6832e8037ad6526a4d17eb1322021b6ffd5d04623bdd8b8eb07c333210a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): selfservice/strategy/code/strategy_recovery.go:830-843 | selfservice/strategy/link/strategy_recovery.go:500-513 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_recovery.go"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f46ef9a305ecc07795f3753d5c878dfa6c2b8b210290e95dfdeaa4cb395f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): pkg/testhelpers/session.go:54-71 | pkg/testhelpers/session.go:73-92 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/session.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cbea7d1c79772cd6ccd498e431a8326678e1fb2c395e8638279b5900420289"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): selfservice/strategy/code/strategy_registration.go:104-119 | selfservice/strategy/code/strategy_registration.go:121-135 \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":"selfservice/strategy/code/strategy_registration.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91a2052fa8227af305d9d03914da2735f2c80e5d3a465ca8ef0411d99a4623b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): selfservice/strategy/lookup/settings.go:365-382 | selfservice/strategy/oidc/strategy_settings.go:608-623 \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":"selfservice/strategy/lookup/settings.go"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b15b197010aa8871d0908db45445dde5a0e3823405a3dad188f3839e5187a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): selfservice/flow/login/error.go:193-208 | selfservice/flow/registration/error.go:203-218 \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":"selfservice/flow/login/error.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e889fdd06da62d841915c17c05cebb6a2e1dd0bd28a463149e05e69a226bd26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): selfservice/flow/recovery/hook.go:26-41 | selfservice/flow/verification/hook.go:26-41 \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":"selfservice/flow/recovery/hook.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0208094e5474c8d05bc7abd6271bf90f160309a72512c4ded02bcf22bc1d8c6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/testhelpers/errorx.go:63-73 | pkg/testhelpers/errorx.go:80-90 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/errorx.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a2049b5a5d13f2dfcf5b0353a55172b7e189fa039ad53d6c43d416bdab6fe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): selfservice/flow/login/error.go:84-101 | selfservice/flow/registration/error.go:74-91 | selfservice/flow/settings/error.go:121-139 \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":"selfservice/flow/login/error.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb101662002530910cf6907f0a0277efb0e6279cc563c01b0024127f067c9acc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): driver/config/config.go:1126-1150 | driver/config/config.go:1152-1174 \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":"driver/config/config.go"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b4f274a9fd8c058ce9a919c377cb875cae9939783632c31a6f0e6e873dd119"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): pkg/testhelpers/selfservice_login.go:32-42 | pkg/testhelpers/selfservice_recovery.go:27-37 | pkg/testhelpers/selfservice_registration.go:33-43 | pkg/testhelpers/selfservice_settings.go:32-42 | pkg/testhelpers/selfservice_verification.go:85-95 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/selfservice_login.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acd0d602ffea677c218e07ccb8aad40bf3b9ef9b62068e6dc9de50fb9288138"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): selfservice/flow/verification/handler.go:164-177 | selfservice/flow/verification/handler.go:214-228 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/verification/handler.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1ec3f9f5908b054d9cb2549bcc3dd345c1291291e97de96ba517202f4b6455"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): pkg/testhelpers/selfservice_login.go:278-295 | pkg/testhelpers/selfservice_registration.go:135-150 | pkg/testhelpers/selfservice_settings.go:221-237 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/selfservice_login.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"8223ebbd0a20394f091df970915b7c099c90aaf4b3feb4a994b3d0423e550d8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): session/handler.go:339-351 | session/handler.go:580-593 \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":"session/handler.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"580262574ebf6389ff7a03d1c3a7322f51b798b68c35c0946abcb71eb06897f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): session/handler.go:1324-1348 | session/handler.go:1354-1371 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"session/handler.go"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3aa80b4e03361f3614924b03fb4389e90e4001c33f7f36f125abe8ca9fcc6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): identity/manager.go:784-793 | identity/manager.go:801-810 \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":"identity/manager.go"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d5d76ee9b7b95c530215c458d4a32f885318f3d3500c3ef29bd5b731ce97e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): persistence/sql/identity/persister_identity.go:96-108 | persistence/sql/identity/persister_identity.go:110-122 | persistence/sql/identity/persister_identity.go:567-582 | persistence/sql/identity/persister_identity.go:1902-1919 \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":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c924cec70d16b5048362e46fb5297544f0b99374f1797ba315fe34889d97372a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): selfservice/flow/error.go:193-214 | selfservice/flow/login/hook.go:105-126 | selfservice/flow/settings/hook.go:156-185 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/error.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1375b2da19c24a80defd4187a7d0edc852a3555a78894611f21da3cfd0fe54e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): identity/manager.go:568-588 | identity/manager.go:590-612 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/manager.go"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e51ec421960d92233e38bb9e344da884c6de46cd3677e3469466317379e71c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): selfservice/strategy/oidc/strategy_settings.go:91-114 | selfservice/strategy/oidc/strategy_settings.go:116-145 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_settings.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"002df8d67d20db8b856e1cca30b2b693e4dde7996d6db50124854e417e49e71f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): x/redir/port_redirect.go:15-27 | x/redir/port_redirect.go:29-41 \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":"x/redir/port_redirect.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8388d65b76d8a40625d3b5c7ab675dcc4cdaa0272558a7a114c84680c15f91b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): persistence/sql/persister_sessiontokenexchanger.go:83-94 | persistence/sql/persister_sessiontokenexchanger.go:116-127 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_sessiontokenexchanger.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d11f53b3497db952a0ff060bceb1576bf5c352039c3a8f2d04342df1b7a5bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): selfservice/strategy/link/strategy_recovery.go:59-68 | selfservice/strategy/link/strategy_verification.go:37-45 \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":"selfservice/strategy/link/strategy_recovery.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"12690b3975172454c99897891a5532b52334b4787465f3d85d96476f12dbd7a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): courier/template/load_template.go:148-168 | courier/template/load_template.go:170-190 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/template/load_template.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ce66989b14e405cca95f3350047889b5afbb230ebf206efe75723573c7dadb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): oryx/josex/utils.go:45-70 | oryx/josex/utils.go:73-103 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/josex/utils.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"456f4a95a88f640db9a9652efe4310773cadabeaf46999380427780437306244"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/testhelpers/http.go:96-113 | pkg/testhelpers/selfservice.go:212-228 \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":"pkg/testhelpers/http.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcd73b323cf3186e5fe61a68803586ffdd529b1b9f040c44fc4ce9cda674e0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (93 corresponding lines): selfservice/flow/recovery/flow.go:41-133 | selfservice/flow/verification/flow.go:43-137 \u2014 These two members are one piece of code written twice and then edited apart: 93 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":"selfservice/flow/recovery/flow.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d64c8a4bef2c3a58987cd942cbaddbf2a86fe4f334376da47645a957489d61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): oryx/hasherx/hash_comparator.go:49-72 | oryx/hasherx/hash_comparator.go:74-97 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/hasherx/hash_comparator.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b3c3616a940b85148e52ebf8085023f09ad6758bb2ee03dc3b5516a0210e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): selfservice/flow/recovery/strategy.go:40-57 | selfservice/flow/verification/strategy.go:44-62 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/recovery/strategy.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8955efd19d37409025dc2cd26bae76bb11b8acf678d21f730b7db4c6dc47fa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): selfservice/strategy/passkey/passkey_registration.go:296-313 | selfservice/strategy/webauthn/registration.go:254-272 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/passkey/passkey_registration.go"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4b0f1997cfea6c92474f8a5c5868a391a595ddbedc886acb7428b3f47d69ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 19\u002B corresponding lines): persistence/sql/persister_courier.go:147-166 | persistence/sql/persister_courier.go:168-186 | persistence/sql/persister_login.go:71-90 | persistence/sql/persister_session.go:326-345 | persistence/sql/persister_session.go:392-411 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_courier.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"759d7c4b96b3e10d5af9f2816eb1fc20cf0f9664341f36391cc9d3f24e00c188"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): persistence/sql/persister_session.go:652-669 | persistence/sql/persister_session.go:672-689 | persistence/sql/persister_session.go:694-707 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_session.go"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e9de68c4483cbbdbb637c1c9a6937767750905ff7421c10ed396aa2455652b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): persistence/sql/persister_continuity.go:31-46 | persistence/sql/persister_continuity.go:59-72 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_continuity.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"324bade3b71ba56cda539f10ce2c5123d04db508674f21cb745a79d19a00f027"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): persistence/sql/persister_sessiontokenexchanger.go:48-64 | persistence/sql/persister_sessiontokenexchanger.go:66-81 \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":"persistence/sql/persister_sessiontokenexchanger.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0844d07b00ef31061bf14d3a2ce9afc37bd701557b18b55ac8595dcb2d0b3a8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): persistence/sql/persister_recovery.go:57-73 | persistence/sql/persister_verification.go:56-71 \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":"persistence/sql/persister_recovery.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"434d505c6309f086309da9965bda71f99a00b40f9f971d4984e9a2d5154a07df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): selfservice/strategy/oidc/provider_generic_oidc.go:62-75 | selfservice/strategy/oidc/provider_google.go:35-50 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_generic_oidc.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba4c5598a853b37c964aa805305c75d90d841dcbfe88ca882ce6336ff22e7a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): selfservice/strategy/password/strategy.go:85-101 | selfservice/strategy/totp/strategy.go:88-103 \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":"selfservice/strategy/password/strategy.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"345cf6713ba99a0c6efe06d5d88b38cf5836bf406e83d5e64366d354e795b22b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): persistence/sql/persister_continuity.go:48-57 | persistence/sql/persister_courier.go:188-201 | persistence/sql/persister_recovery.go:36-46 | persistence/sql/persister_registration.go:39-50 | persistence/sql/persister_settings.go:33-50 | persistence/sql/persister_verification.go:35-45 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_continuity.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ca02558fc595bb98422b5912b8c8a2b08af9382ecd8c9eff3514fd56b8e2ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 15\u002B corresponding lines): persistence/sql/persister_continuity.go:74-88 | persistence/sql/persister_login.go:92-106 | persistence/sql/persister_recovery.go:132-146 | persistence/sql/persister_registration.go:52-66 | persistence/sql/persister_session.go:709-724 | persistence/sql/persister_settings.go:62-76 | persistence/sql/persister_verification.go:131-145 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_continuity.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b9ad55fb8765ad4ee270dc793c1e940cbfa9cd3490a357cca74e1f5481b5d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): selfservice/flow/login/flow.go:320-328 | selfservice/flow/registration/flow.go:285-293 \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":"selfservice/flow/login/flow.go"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae1daa3d9b01ccb6c5bcb489d55d13c2d0cd3878ee05a0213532ba33bb2892c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): selfservice/flow/request.go:88-107 | selfservice/strategy/code/strategy_recovery.go:881-900 | selfservice/strategy/code/strategy_verification.go:44-63 | selfservice/strategy/link/strategy_verification.go:56-75 \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":"selfservice/flow/request.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ec9d3faef077f0c0c971f8cf064184324b17ad7861749b0cadc0a9f6e74543"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): hash/hash_comparator.go:303-318 | hash/hash_comparator.go:353-375 \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":"hash/hash_comparator.go"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"189f85d68562a59ab4af90ed1daf2847488ba2f473befb382b2b64671c4df64f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/testhelpers/selfservice_recovery.go:96-104 | pkg/testhelpers/selfservice_verification.go:188-196 \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":"pkg/testhelpers/selfservice_recovery.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e28ce21fbb8f63b66ffce9107a00c32bccd6e1320d6a24f7f40f310b621966"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): identity/credentials_webauthn.go:63-78 | identity/credentials_webauthn.go:86-102 \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":"identity/credentials_webauthn.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9571d7520a54c09546634c579225d2e0e9ddb267e79daaf841c2f7f969893f5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): oryx/fsx/merge.go:38-56 | oryx/fsx/merge.go:88-107 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/fsx/merge.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d83d3ef62ef02c0afdaa5d7fb4739df253d4971ed53fde03f5c6fca737eff3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): oryx/pagination/keysetpagination/header.go:81-88 | oryx/pagination/keysetpagination_v2/request_params.go:70-77 \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":"oryx/pagination/keysetpagination/header.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb1cb2ad10c67e1756b9d3d32c5905c35ea1924ef661b754fee648b80fcd446"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): oryx/randx/strength/main.go:28-42 | oryx/randx/strength/main.go:44-62 \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":"oryx/randx/strength/main.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea0d1f2d6600c52cbdaa2c9c04585f23c3c4a61a65661760225b2d1a225e96b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): driver/registry_default.go:372-387 | driver/registry_default.go:400-416 | driver/registry_default_settings.go:64-81 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/registry_default.go"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"27daf99a8f2ca28b7d12bffe824858d81e324b5689417c3a6a48cf4bed25d4b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 7\u002B corresponding lines): selfservice/flow/login/handler.go:97-106 | selfservice/flow/recovery/handler.go:86-92 | selfservice/flow/registration/handler.go:101-107 | selfservice/flow/settings/handler.go:154-162 | selfservice/flow/verification/handler.go:83-90 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/handler.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc87e45e38000799d5413b6e109ca012e9702102d24b5c2939a9911564bc602"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 12\u002B corresponding lines): selfservice/hook/web_hook.go:141-153 | selfservice/hook/web_hook.go:167-178 | selfservice/hook/web_hook.go:192-203 | selfservice/hook/web_hook.go:217-232 | selfservice/hook/web_hook.go:234-253 | selfservice/hook/web_hook.go:268-283 | selfservice/hook/web_hook.go:285-300 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/web_hook.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bd1edb4a51ef27ac672ecc13384cb5c7aa3e4e0946a8d255c9c3240b96b800"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): oryx/snapshotx/snapshot.go:105-115 | pkg/testhelpers/snapshot.go:15-29 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/snapshotx/snapshot.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcc173af85309646931c455e81a33e6e46cb5701d06cc8e81719eafdc2e1a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): persistence/sql/persister_session.go:312-324 | persistence/sql/persister_session.go:458-470 \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":"persistence/sql/persister_session.go"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf58863f4599bfe5fefaa24e9510ef79b7440dde2c339d22489f3523e5b0ef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): selfservice/hook/web_hook.go:129-139 | selfservice/hook/web_hook.go:155-165 | selfservice/hook/web_hook.go:205-215 \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":"selfservice/hook/web_hook.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5651c915c1913db9aa77ec445339325fb711c5b8111c543fdff5e7a3caf1ade7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): selfservice/strategy/passkey/passkey_registration.go:73-88 | selfservice/strategy/password/registration.go:70-83 | selfservice/strategy/profile/registration.go:330-341 | selfservice/strategy/webauthn/registration.go:75-90 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/passkey/passkey_registration.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"224c67bbb612ea3c67c468106da6e8d17456c4e60dee51bf79fc12dc36502f65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): oryx/configx/provider.go:508-524 | oryx/configx/provider.go:526-542 \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":"oryx/configx/provider.go"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf95e28ce20c25248e3f5a27632d83e1b40e56c7de248eb4310db39dd2b4498b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pkg/registrationhelpers/helpers.go:50-57 | pkg/settingshelpers/helpers.go:18-25 \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":"pkg/registrationhelpers/helpers.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5148d25f9beb9ce56fa8c77abd5bf50dab2cbec29ac6a6206cb05b4ef241e49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): selfservice/flow/login/handler.go:80-95 | selfservice/flow/verification/handler.go:71-81 \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":"selfservice/flow/login/handler.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"87396ea5f63a44dc333a6b14d54a9f6e32859965f40995514c305eff0495cd8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): persistence/sql/persister_recovery.go:124-130 | persistence/sql/persister_verification.go:122-129 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_recovery.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"db105542c49fe583fa90b44083ec1c3d1e662de292649b0a5771864bc25183ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): selfservice/flow/login/flow.go:334-349 | selfservice/flow/recovery/flow.go:321-334 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/flow.go"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f7176c18753a98d9c444e03c5a8e3eee5bf6f3bf066548035ee1a18509d58e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): selfservice/strategy/lookup/strategy.go:89-103 | selfservice/strategy/passkey/passkey_strategy.go:106-117 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/lookup/strategy.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38707b6f049ca2f02493c97ebe163a5efad3f1e10ef04777f40ad7fa1317565"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 7\u002B corresponding lines): persistence/sql/persister_login.go:32-40 | persistence/sql/persister_pending_traits_change.go:75-81 | persistence/sql/persister_recovery.go:48-55 | persistence/sql/persister_registration.go:29-37 | persistence/sql/persister_settings.go:52-60 | persistence/sql/persister_verification.go:47-54 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_login.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7215cf82d71b2d74f96eb854b2c09edb41b543dc1032cd28ca781b1130fc28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): selfservice/strategy/oidc/provider_discord.go:44-55 | selfservice/strategy/oidc/provider_patreon.go:56-67 | selfservice/strategy/oidc/provider_slack.go:43-56 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_discord.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd7e993e0d229cb575f4dc727c16cfcbabd1a1acccc620f43ff154c3a85312a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): selfservice/strategy/oidc/provider_uaepass.go:83-95 | selfservice/strategy/oidc/provider_vk.go:43-54 | selfservice/strategy/oidc/provider_yandex.go:41-52 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_uaepass.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cfac94dedb0e0e57c670239704eb7700144c3abf804726f08703a5defb24fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): hash/hash_comparator.go:224-241 | hash/hash_comparator.go:243-263 | hash/hash_comparator.go:265-285 \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":"hash/hash_comparator.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"716eb784ca8b0de2fd6e0f1091ddb61fd94f6287a9c902ee9018ff0fffe46669"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): request/builder.go:217-230 | request/builder.go:258-271 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"request/builder.go"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"726685ec3154080433ea899b0c7f6ac1caed0e698251b39f907ef76a1f9c069a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): selfservice/strategy/code/strategy_recovery.go:845-864 | selfservice/strategy/link/strategy_recovery.go:515-530 | selfservice/strategy/link/strategy_verification.go:78-92 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_recovery.go"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"952f99733988471f6de6ab2ca303a3439adbce4ff6e7d0f45dfc068fcd3cfa24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): hash/hash_limits.go:79-90 | hash/hash_limits.go:92-103 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hash/hash_limits.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"00eeb950ebc2e589ff5961aeb127e250d43078142b9e534a3d7619eb7e48f1bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 4\u002B corresponding lines): courier/template/email/authenticator_key_added.go:36-39 | courier/template/email/recovery_invalid.go:35-39 | courier/template/email/recovery_valid.go:38-42 | courier/template/email/verifiable_address_changed.go:36-39 | courier/template/email/verification_code_invalid.go:35-47 | courier/template/email/verification_code_valid.go:40-52 | courier/template/email/verification_invalid.go:35-39 | courier/template/email/verification_valid.go:39-43 \u2014 These 8 members are one piece of code written 8 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/template/email/authenticator_key_added.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"564ef13f77895bea163792cfc89b8e88e4aa98dfc3b6da89ea3e24dc063b3b4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): courier/template/email/login_code_valid.go:41-45 | courier/template/email/recovery_code_valid.go:40-44 | courier/template/email/registration_code_valid.go:41-45 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 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":"courier/template/email/login_code_valid.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfff2fac3b5bd0cc44ca7d3e46c74caa830b5da1faa286729a00f140221796ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): driver/config/config.go:598-611 | driver/config/config.go:617-634 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/config/config.go"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"474c2ad1e1af30716ba46c429b7afbc8c51259a31040c53ca61940f8c97f06ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): persistence/sql/persister_login_code.go:84-89 | persistence/sql/persister_recovery_code.go:80-85 | persistence/sql/persister_registration_code.go:72-77 | persistence/sql/persister_verification_code.go:76-81 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_login_code.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0aa489a2e0237597c0fc44da649ea27401f1b01e41bb9df0b22bbe345ded2c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): driver/registry_default_recovery.go:47-55 | driver/registry_default_verification.go:57-65 \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":"driver/registry_default_recovery.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"51551847d4e74a2646142fbdfe2cc2bf28486634436a4d51b5b69084b6fab56a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): oryx/decoderx/http.go:177-190 | oryx/jsonschemax/keys.go:102-111 \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":"oryx/decoderx/http.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"906eb0b37dcbcef656130a544589817e2111399d14296ae7d73907fdcfd1e857"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): selfservice/strategy/passkey/passkey_registration.go:253-264 | selfservice/strategy/webauthn/validate.go:13-24 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/passkey/passkey_registration.go"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"412631d4ee72597148b7e4ccd5518d90b1fb48e8ea862d4d4bc5853e76646317"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): text/message_login.go:145-155 | text/message_recovery.go:13-23 | text/message_registration.go:57-67 | text/message_settings.go:14-24 | text/message_verification.go:13-23 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"text/message_login.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b709ea8bae802b661898d8099207c69d0810f17b368fe731d2d47136038276"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): pkg/testhelpers/session.go:190-202 | pkg/testhelpers/session.go:204-215 | pkg/testhelpers/session.go:217-229 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/session.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42e04549c0940b3c99c8ead6291845756dadb6947efe9e582ef380509b04cf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): selfservice/flow/recovery/flow.go:188-201 | selfservice/flow/verification/flow.go:185-198 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/recovery/flow.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ed4c0241f3c5ea1dc87baaf689f517d83257c3b3509d47bd11af9869b03866"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): selfservice/hook/session_destroyer.go:38-45 | selfservice/hook/session_destroyer.go:47-54 | selfservice/hook/session_destroyer.go:56-63 \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":"selfservice/hook/session_destroyer.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"692fe41c842e2e19531df66da58c38f58c37cff287a7b3479daa7bc98558903b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pkg/testhelpers/http.go:115-128 | pkg/testhelpers/http.go:136-143 \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":"pkg/testhelpers/http.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae512aa14807feb02be5763786c7d0d7908a25a645109ebda9e00e9b91f76615"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): selfservice/strategy/oidc/provider_amazon.go:65-73 | selfservice/strategy/oidc/provider_github.go:47-55 | selfservice/strategy/oidc/provider_github_app.go:42-50 | selfservice/strategy/oidc/provider_linkedin.go:87-95 | selfservice/strategy/oidc/provider_spotify.go:48-56 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_amazon.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"01631245b08de49c5a78cd10251f6fb93b501590be2007e2841ef4f86ef51f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): ui/node/attributes.go:400-415 | ui/node/attributes.go:417-432 | ui/node/attributes.go:447-466 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/node/attributes.go"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aadaba6463b1f919ec7d06f067c04df4e6c8cee248399a35c10c5a1db9eea5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): x/events/events.go:532-547 | x/events/events.go:549-562 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"x/events/events.go"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0c17c09951afcc83fecfff9342a382f0ab8985ef083f28cf6395866471f3bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): driver/registry_default_recovery.go:33-42 | driver/registry_default_verification.go:67-76 \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":"driver/registry_default_recovery.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77f998a2616403e87c92a0e805ee8c078dcf59bf02c9d0849376e698a2cff39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): selfservice/flow/recovery/handler.go:30-60 | selfservice/flow/verification/handler.go:32-67 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/recovery/handler.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ef87669dd633e8448f21edca67f7796ac6b7401f1323d729db952734176c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): schema/errors.go:21-32 | schema/errors.go:119-130 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"schema/errors.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc09e776824a9e8bd987af371c99a77b148c4d686da2401a32e47c7db3c64a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 7\u002B corresponding lines): persistence/sql/persister_continuity.go:23-29 | persistence/sql/persister_courier.go:28-35 | persistence/sql/persister_login.go:23-30 | persistence/sql/persister_registration.go:20-27 | persistence/sql/persister_settings.go:24-31 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_continuity.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f80a260ebe046d47608a6add842ecaf94ee8b919ed9f919065a6bc29286be79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): x/webauthnx/nodes.go:23-31 | x/webauthnx/nodes.go:49-57 \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":"x/webauthnx/nodes.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"162aa2f1ca05f4a8b3ff84d8544f5a4f55306e65292f9bee81449121c6f14bd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): persistence/sql/persister_recovery.go:28-34 | persistence/sql/persister_verification.go:25-33 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_recovery.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc025342c07e27bbed26229ee93b1e414836253644dfb2269c0a8b353a2db02c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): selfservice/strategy/code/code_login.go:21-62 | selfservice/strategy/code/code_registration.go:20-60 \u2014 These two members are one piece of code written twice and then edited apart: 41 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":"selfservice/strategy/code/code_login.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"556136e143913d3b1155fa37c5d6a5effed8089d05441963eb35f0001274e4dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 3\u002B corresponding lines): courier/template/email/authenticator_key_added.go:41-43 | courier/template/email/recovery_invalid.go:41-43 | courier/template/email/recovery_valid.go:44-46 | courier/template/email/verifiable_address_changed.go:41-43 | courier/template/email/verification_code_invalid.go:49-59 | courier/template/email/verification_code_valid.go:54-63 | courier/template/email/verification_invalid.go:41-43 | courier/template/email/verification_valid.go:45-47 \u2014 These 8 members are one piece of code written 8 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/template/email/authenticator_key_added.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcbfe7d32c12e8d1625c85990b5e789e6aa0d6c1ff0935873edbb0f8c02b053"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 3\u002B corresponding lines): courier/template/email/authenticator_key_added.go:45-47 | courier/template/email/recovery_invalid.go:45-47 | courier/template/email/recovery_valid.go:48-50 | courier/template/email/verifiable_address_changed.go:45-47 | courier/template/email/verification_code_invalid.go:61-71 | courier/template/email/verification_code_valid.go:65-74 | courier/template/email/verification_invalid.go:45-47 | courier/template/email/verification_valid.go:49-51 \u2014 These 8 members are one piece of code written 8 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/template/email/authenticator_key_added.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1658fa7e54cbaa3647092c0e4012e5409d5de38eec25272834bf951981951e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): courier/template/email/login_code_valid.go:47-49 | courier/template/email/recovery_code_invalid.go:44-46 | courier/template/email/recovery_code_valid.go:46-48 | courier/template/email/registration_code_valid.go:47-49 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/template/email/login_code_valid.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bab9ba244893f73226e7db96d318bb6b3eea64a4737e8b6be955f240ce7244d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): courier/template/email/login_code_valid.go:16-31 | courier/template/sms/login_code_valid.go:15-31 | courier/template/sms/registration_code_valid.go:15-31 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/template/email/login_code_valid.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"daffaeddb38155da4e56b53d5c4ec365af692eba366a8f31fd95b1ec4973b6bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): selfservice/strategy/code/code_verification.go:18-53 | selfservice/strategy/link/token_verification.go:21-53 \u2014 These two members are one piece of code written twice and then edited apart: 33 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":"selfservice/strategy/code/code_verification.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e532f73438cdf370d4c380ba51d944b1ea1a3eec3195b0eb76e2da548243fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): oryx/pagination/header.go:15-21 | oryx/pagination/keysetpagination/header.go:71-77 | oryx/pagination/pagepagination/pagination.go:69-75 | oryx/pagination/tokenpagination/pagination.go:83-89 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/pagination/header.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb98a6ec442582f23d9c0f8cce0f4372df5ce55cf4a2460f0e86d12772553c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): oryx/pagination/keysetpagination_v2/parse_header.go:21-35 | oryx/pagination/keysetclient/parse_header.go:35-48 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/pagination/keysetpagination_v2/parse_header.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3002c9382776315502e38f385879e8966220d9fa9881045a6a4fa8de962ba7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): selfservice/strategy/code/code_sender.go:34-64 | selfservice/strategy/link/sender.go:27-53 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"selfservice/strategy/code/code_sender.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb2115cead1e92a82bd9f246482f9ac29cfddd01016ca662935cf24c10cb2a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): courier/template/email/verification_code_valid.go:15-30 | courier/template/email/verification_valid.go:15-29 \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":"courier/template/email/verification_code_valid.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f138fc9d59d346494d5e5a6f047622e015055481aa73023fd35e848c4dacf15e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): courier/message.go:85-98 | oryx/sqlxx/types.go:30-43 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/message.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"270fe6233e2ee6e531a0f8e71a4bdd17925fdec876e3c77a55f07787e25b5dc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): hash/hasher.go:11-23 | oryx/hasherx/hasher.go:8-20 \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":"hash/hasher.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31c443b843d9da9d864a3d288cf7ebe190ed78066880a852737ca766f41cb93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): oryx/urlx/copy.go:16-24 | oryx/urlx/join.go:42-52 \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":"oryx/urlx/copy.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d6b0d92ae4eed6b08e70a11bdf0664f25eefe4442fc4dc83410c28b271df23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): selfservice/flow/login/handler.go:328-337 | selfservice/flow/registration/handler.go:203-212 \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":"selfservice/flow/login/handler.go"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"1476c3f36a47a44483f2482fe3bf9465bad8ac54a6a7a154ae7f3aaa412b278a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): cmd/identities/delete.go:16-25 | cmd/identities/get.go:25-34 | cmd/identities/import.go:19-28 | cmd/identities/validate.go:27-37 \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":"cmd/identities/delete.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48fba43575e8d7a48ae4400bc6f4cf02c539b70a84087ac0375f5583a9a0290"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): identity/credentials_code.go:77-91 | courier/message.go:155-168 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/credentials_code.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bf96a43a2bbbc0251dab680577c87d14e415ab2bf8d96cc69bd0892abc7c9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): selfservice/flow/login/error.go:58-78 | selfservice/flow/registration/error.go:48-68 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/error.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee59d9c1fbe5ab66056c627ad058bff343f7d0c7bba326cf72fce9b575b5bcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): selfservice/flow/recovery/hook.go:59-78 | selfservice/flow/verification/hook.go:59-78 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/recovery/hook.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"388452886a10cba714c7407c13c0520b6a83d2b212f102536d02fe5eb30bdc89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): selfservice/strategy/code/strategy_login.go:79-89 | selfservice/strategy/webauthn/strategy.go:128-137 \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":"selfservice/strategy/code/strategy_login.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1590af4c0bf55e8dde21c3ef0d8457680e3d8c8d014279672f79f3f5ef3dc2aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): selfservice/strategy/idfirst/strategy_login.go:34-43 | selfservice/strategy/lookup/login.go:61-70 | selfservice/strategy/passkey/passkey_login.go:129-138 | selfservice/strategy/totp/login.go:60-69 | selfservice/strategy/webauthn/login.go:113-122 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/idfirst/strategy_login.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b197f95a6de127769762e7a8c4320c59aff424882863058eb19a428f5a8ea4ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): oryx/sqlxx/types.go:331-337 | session/session.go:397-406 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/sqlxx/types.go"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"331f087de771b16e969a02019f21f488ad64e42e6b3626dbe03323fd014f36f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): oryx/sqlxx/batch/create.go:30-44 | persistence/sql/batch/create.go:30-51 \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":"oryx/sqlxx/batch/create.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88958ad923501bf6a6e83b38bb6b84bcd3a3b3968ae14fb471459ecee50a76d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): text/message_login.go:122-132 | text/message_registration.go:21-31 | text/message_settings.go:149-158 \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":"text/message_login.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af9888eefb218a91e38a3853d87051bb0fcf39df9f77e9baeb09dae8b2df201"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): text/message_login.go:134-143 | text/message_settings.go:160-169 \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":"text/message_login.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8ceb5603c192b4ccbb05f8d7df28bbb764b7fd559a8565c66e6d78876ca2bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): driver/registry_default.go:466-473 | driver/registry_default_recovery.go:57-64 | driver/registry_default_verification.go:78-86 \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":"driver/registry_default.go"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"550cf23ff05a19af204936b6bfff2adfe127c668959105746560a15754c4e430"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): oryx/proxy/proxy.go:293-296 | selfservice/hook/web_hook.go:549-552 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/proxy/proxy.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03279f4d5e5d806aa54a6173629eef1bcd78c0df885e4849030eaf39c5edee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): courier/template/email/authenticator_key_added.go:15-26 | courier/template/sms/authenticator_key_added.go:15-27 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/template/email/authenticator_key_added.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d9b6ade7fae92b8abd37ac2696811479d6a78c480472aa64919ceab5f9fbed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): courier/template/email/verifiable_address_changed.go:15-26 | courier/template/sms/verifiable_address_changed.go:15-27 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/template/email/verifiable_address_changed.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83a7bffcda95580ca39d153c3fb4afe1a062a725528a44bd7b3ceb8f746784f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): oryx/configx/koanf_env.go:26-36 | oryx/configx/pflag.go:23-32 \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":"oryx/configx/koanf_env.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1659ad4536be1daf66d4f2d6f36afcbb1388db3c276d01e9de51730237b65df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): selfservice/flow/login/organizations.go:15-18 | selfservice/flow/registration/oragnizations.go:12-15 | selfservice/flow/settings/organizations.go:19-22 \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":"selfservice/flow/login/organizations.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"826e00cd1159514132f2baac919e588bc37ae340f259185d0234bf6bbb192dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): oryx/otelx/semconv/deprecated.go:18-29 | oryx/otelx/semconv/warning.go:18-29 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/otelx/semconv/deprecated.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac155ed430d2c2fb9f0bf7ae9f7aebc50d477e6499f31b8a665eda6fb62fc91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): oryx/healthx/handler.go:208-214 | oryx/reqlog/middleware.go:105-109 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/healthx/handler.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"30087d2a471e72927156573981963ab0fccdae5419cc0b321b94d25b239b69de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): pkg/testhelpers/selfservice_login.go:316-318 | pkg/testhelpers/selfservice_registration.go:163-165 \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":"pkg/testhelpers/selfservice_login.go"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b1353fbbf5cebeed68abef33d4d3f2715a462a43ff4c7867c26d5a35171e9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3): selfservice/strategy/passkey/passkey_strategy.go:31-61 | selfservice/strategy/totp/strategy.go:39-69 | selfservice/strategy/webauthn/strategy.go:37-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/passkey/passkey_strategy.go:31\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":"selfservice/strategy/passkey/passkey_strategy.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"51eb29c2e46a9e1fc20d717896eb08c55d37b13294456ec57b7d158da45ff4d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 4): selfservice/strategy/lookup/strategy.go:45-74 | selfservice/strategy/passkey/passkey_strategy.go:36-65 | selfservice/strategy/totp/strategy.go:44-73 | selfservice/strategy/webauthn/strategy.go:42-71 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/lookup/strategy.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a44c5ff3838037bc09828d38674d22e97477d491201f1c5e80453c1770cdd53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): selfservice/strategy/lookup/strategy.go:54-81 | selfservice/strategy/password/strategy.go:54-81 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/lookup/strategy.go:54\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/lookup/strategy.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbdf62015007235e597948fc2a09eee5fea081c8b34f80475c53a0ce690c0e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): selfservice/strategy/passkey/passkey_registration.go:224-251 | selfservice/strategy/passkey/passkey_registration.go:267-294 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/passkey/passkey_registration.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c4ad07f6bace305d9ca9dd78ce1da98e14baabd8d51461c4adddef65be6792"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): oryx/jsonnetx/format.go:26-52 | oryx/jsonnetx/lint.go:25-51 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060oryx/jsonnetx/format.go:26\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/jsonnetx/format.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0402b27f292b2ba0737c85fa079fd75f1027157d4ae1516fab4fd82f9fa1be7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): oryx/hasherx/hash_comparator.go:159-184 | oryx/hasherx/hash_comparator.go:202-227 \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 \u0060oryx/hasherx/hash_comparator.go:159\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":"oryx/hasherx/hash_comparator.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3862a2c9d8f9c2ab608dfd1621d319ed63e02e80b81f0306f3a839338bfe98f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): persistence/sql/migrations/go/20251105000000000000_identity_id_not_null_fks.go:176-200 | persistence/sql/migrations/go/20251105000000000000_identity_id_not_null_fks.go:213-237 \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 \u0060persistence/sql/migrations/go/20251105000000000000_identity_id_not_null_fks.go:176\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/migrations/go/20251105000000000000_identity_id_not_null_fks.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ea46836bf80560b0f416046f5a634fdab028ec6c6ae94a771075ec23de3cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): identity/handler.go:386-409 | identity/handler.go:443-466 \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 \u0060identity/handler.go:386\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/handler.go"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"212ef4bee428024186cf1acf5ab3d16fc7896b40fba85781d32590e4869f1e11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): selfservice/strategy/lookup/login.go:31-54 | selfservice/strategy/totp/login.go:30-53 \u2014 \u0060selfservice/strategy/lookup/login.go\u0060 and \u0060selfservice/strategy/totp/login.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 46 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/lookup/login.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"86053bd291aef44ac706ae389c6041d0afc078a610db319ee9de8c13b257d74b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): selfservice/strategy/code/strategy.go:57-78 | selfservice/strategy/link/strategy.go:30-51 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/code/strategy.go:57\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":"selfservice/strategy/code/strategy.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4742b3c68c56557ce31b6a0dd91a3529ebb4804ab5d77f30582acc34ee0cf03d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): oryx/watcherx/file.go:78-98 | oryx/watcherx/file.go:150-170 \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 \u0060oryx/watcherx/file.go:78\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":"oryx/watcherx/file.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c7b0d521a137e597d06e67d0043233e6d648ca736a1b87b3359ec276e2edb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): persistence/sql/identity/persister_identity.go:212-232 | persistence/sql/identity/persister_identity.go:289-309 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e559e9f5458f10cb072525ce9ec887c10a6b7b1669e82ea961e202301cd8ada"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): selfservice/flow/login/hook.go:291-311 | selfservice/flow/login/hook.go:346-366 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/login/hook.go:291\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":"selfservice/flow/login/hook.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cd2f800f66c6d7da5899a7569d22fc98ae090d8a897f30cec93afe8de233b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): selfservice/strategy/profile/registration.go:238-259 | selfservice/strategy/profile/registration.go:307-328 \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 \u0060selfservice/strategy/profile/registration.go:238\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":"selfservice/strategy/profile/registration.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"3679328ecc5ddfa925ce5b99c927a4d9e6fe26e273eeddfc7441dc9f0fa126c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): oryx/sqlxx/batch/create.go:146-165 | persistence/sql/batch/create.go:176-195 \u2014 before extracting anything, compare \u0060oryx/sqlxx/batch/create.go\u0060 and \u0060persistence/sql/batch/create.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060oryx/sqlxx/batch/create.go:146\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":"oryx/sqlxx/batch/create.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7277285ad497946f74205b83a5e1f56ed661259299f4dac241aca8dba51bab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): selfservice/flow/login/error.go:173-191 | selfservice/flow/registration/error.go:183-201 \u2014 \u0060selfservice/flow/login/error.go\u0060 and \u0060selfservice/flow/registration/error.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 51 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/login/error.go:173\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/error.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"260caf24b09f5587bcd654662b747158a21a73429d0308a2ae6877dc5c4bff4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): selfservice/strategy/oidc/provider_github.go:73-93 | selfservice/strategy/oidc/provider_github_app.go:61-81 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060selfservice/strategy/oidc/provider_github.go:97\u0060 calls \u0060Contains\u0060 and \u0060selfservice/strategy/oidc/provider_github_app.go:85\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_github.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2dc5a9c9d0e2213de5d5cdf5e139cf77eaffd87f29e4cc188b39407e942b44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): selfservice/strategy/passkey/passkey_settings.go:55-72 | selfservice/strategy/webauthn/settings.go:356-373 \u2014 \u0060selfservice/strategy/passkey/passkey_settings.go\u0060 and \u0060selfservice/strategy/webauthn/settings.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 21 separate duplicated blocks between them, totalling at least 227 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/passkey/passkey_settings.go:55\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":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"905f6580082ed8592a627d0a94c6ee6aa3685c5337fd145014fdda597b554b8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): selfservice/strategy/passkey/passkey_settings.go:357-374 | selfservice/strategy/webauthn/settings.go:268-285 \u2014 \u0060selfservice/strategy/passkey/passkey_settings.go\u0060 and \u0060selfservice/strategy/webauthn/settings.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 21 separate duplicated blocks between them, totalling at least 227 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/passkey/passkey_settings.go:357\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":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de97b4e203157fd8a24d1a8d7f845deeed19bca8ef636daad5b7b1515814c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): cmd/daemon/serve.go:118-133 | cmd/daemon/serve.go:203-219 \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 \u0060cmd/daemon/serve.go:118\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":"cmd/daemon/serve.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa63237c38ce5111414f92b44936723297dd0cef39ff2bab70c479f40aadafb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): hash/hash_comparator.go:463-479 | hash/hash_comparator.go:511-527 \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 \u0060hash/hash_comparator.go:463\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":"hash/hash_comparator.go"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c09e685ecae03b0d0b471a4af23473ee3e0a3486e671301ab1f54c9da63f74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): oryx/sqlxx/batch/create.go:47-63 | persistence/sql/batch/create.go:72-88 \u2014 before extracting anything, compare \u0060oryx/sqlxx/batch/create.go\u0060 and \u0060persistence/sql/batch/create.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/sqlxx/batch/create.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdab3479b13b3e55d1cd6eafc414f3017636422e24d3293a3e44df3e9ecaeb38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): request/builder.go:140-156 | request/builder.go:178-191 \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 \u0060request/builder.go:140\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":"request/builder.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9948ca1e7ddc58e944127de990555b97f552d687daea1f3158120a6d2b1b2093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): selfservice/hook/verification.go:168-184 | selfservice/hook/verify_new_address.go:153-169 \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":"selfservice/hook/verification.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07817c23f90c235edf4e35cef478ae6700575c6bc31a2e0e09a7278d8ed2fe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): selfservice/strategy/link/sender.go:87-103 | selfservice/strategy/link/sender.go:145-161 \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 \u0060selfservice/strategy/link/sender.go:87\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060address\u0060 to \u0060\u0022Preparing recovery link.\u0022)\u0060 in one and \u0060\u0022Preparing verification link.\u0022)\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/link/sender.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c23bf4976c5dbf77a75b1a52cdbb1e5c15b6aad74f4d25d5176e5b0f139294"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): selfservice/strategy/oidc/strategy_login.go:555-571 | selfservice/strategy/oidc/strategy_registration.go:238-254 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/oidc/strategy_login.go:555\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":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"60331a0001c0887bca7e192481249adec37b954eb8a9a12807e711221dddba03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): selfservice/strategy/code/strategy_verification.go:48-63 | selfservice/strategy/link/strategy_recovery.go:545-560 | selfservice/strategy/link/strategy_verification.go:60-75 \u2014 \u0060selfservice/strategy/code/strategy_verification.go\u0060 and \u0060selfservice/strategy/link/strategy_verification.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 36 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/code/strategy_verification.go:48\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":"selfservice/strategy/code/strategy_verification.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a55cb382a0e3b45c25c98718a1e0a55e54b038adc25c43751cb26776cead893"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): driver/config/config.go:1135-1150 | driver/config/config.go:1159-1174 \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 \u0060driver/config/config.go:1135\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":"driver/config/config.go"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b323f2d678e9316e9ddef9342b4950b8dc56d6bee1a7e7a6aadf4a1c46b98880"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): oryx/httpx/url.go:14-29 | x/http.go:68-83 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/httpx/url.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb579513dee4104a5da00fbf7524e1cc81a62b78a94ef544b82dd44ba200bb9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): selfservice/flow/login/hook.go:111-126 | selfservice/flow/settings/hook.go:170-185 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/login/hook.go:111\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":"selfservice/flow/login/hook.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa31d1b5b4a3d4a645c147cdc11cb87386653e48546bea5f64f5e4b893ca1d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): selfservice/hook/require_verified_address.go:131-146 | selfservice/hook/verification.go:182-197 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/hook/require_verified_address.go:131\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":"selfservice/hook/require_verified_address.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bd20eb996fae2e7e3be1adc82896115e06a7dfe407a73c19ed6a0af112c7ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): selfservice/strategy/code/strategy_login.go:533-548 | selfservice/strategy/code/strategy_registration.go:241-256 \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":"selfservice/strategy/code/strategy_login.go"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"1494cc5a35fd1fe62114c7cddba4c0c0baf2b1703dc30f09aca07d6703d236b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): selfservice/strategy/oidc/provider_generic_oidc.go:106-118 | selfservice/strategy/oidc/provider_jackson.go:93-108 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/oidc/provider_generic_oidc.go:106\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":"selfservice/strategy/oidc/provider_generic_oidc.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0c8cdc77b13850c8b29d1ed1177824684e264b3ef400c126bab3a1a7a5f680"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): selfservice/strategy/webauthn/registration.go:237-252 | selfservice/strategy/webauthn/registration.go:277-292 \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 \u0060selfservice/strategy/webauthn/registration.go:237\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":"selfservice/strategy/webauthn/registration.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"919ee5c855d077fb9803d8caeac7ffd671b0655209058157acc3c80fa75e1f75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): cmd/clidoc/main.go:302-316 | cmd/clidoc/main.go:321-335 \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 \u0060cmd/clidoc/main.go:302\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":"cmd/clidoc/main.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc814c41b527d7c8c4487a6a36403e757b08dc2b086006d83c03345e80f09e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): persistence/sql/identity/persister_identity.go:494-508 | persistence/sql/identity/persister_identity.go:734-748 \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 \u0060persistence/sql/identity/persister_identity.go:494\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"7222daf8f90fbcf5dcca22f14400d739fd56c136d72a0193a5b2cab4063e94fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): persistence/sql/persister_recovery.go:59-73 | persistence/sql/persister_verification.go:58-71 \u2014 before extracting anything, compare \u0060persistence/sql/persister_recovery.go\u0060 and \u0060persistence/sql/persister_verification.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence/sql/persister_recovery.go:59\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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_recovery.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48b5e2c02ebeedec5073dd3e31a90b0ac7bf59fa4025d822aa8a0c4775ad3f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 2): selfservice/flow/recovery/error.go:155-164 | selfservice/flow/recovery/handler.go:459-473 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/recovery/error.go:155\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":"selfservice/flow/recovery/error.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb373a9317fcd0ec46fb8ed5b2592a6b719898ebb980c45bdfccb45a28860d73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): selfservice/strategy/code/strategy_verification.go:350-364 | selfservice/strategy/link/strategy_verification.go:242-256 \u2014 \u0060selfservice/strategy/code/strategy_verification.go\u0060 and \u0060selfservice/strategy/link/strategy_verification.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 36 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/code/strategy_verification.go:350\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":"selfservice/strategy/code/strategy_verification.go"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1fcb469fc554789417d553b810a08094c0f37ccb48544674e2c72158aeb8a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): selfservice/strategy/passkey/passkey_settings.go:388-402 | selfservice/strategy/webauthn/settings.go:303-317 \u2014 \u0060selfservice/strategy/passkey/passkey_settings.go\u0060 and \u0060selfservice/strategy/webauthn/settings.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 21 separate duplicated blocks between them, totalling at least 227 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060selfservice/strategy/webauthn/settings.go:318\u0060 calls \u0060Config\u0060, \u0060WebAuthnForPasswordless\u0060 and \u0060selfservice/strategy/passkey/passkey_settings.go:405\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":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6265a5a7741bce6538410e23b49eae4efb91536922bbb5fb77667331adf56b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): hydra/hydra.go:113-126 | hydra/hydra.go:153-166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hydra/hydra.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c781f2b24a642aa5b2a3024e45972211cab8e42d76af5b2aa6788c670661ca7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): identity/handler_import.go:275-288 | identity/handler_import.go:319-332 \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 \u0060identity/handler_import.go:275\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/handler_import.go"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57b8f106d5a1c733a4190ab940aeb055e5ea4df836357fbc89075ec7fc0a334"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): oryx/sqlxx/batch/create.go:75-88 | persistence/sql/batch/create.go:107-120 \u2014 before extracting anything, compare \u0060oryx/sqlxx/batch/create.go\u0060 and \u0060persistence/sql/batch/create.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060oryx/sqlxx/batch/create.go:75\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/sqlxx/batch/create.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b56183c25c076429d5eecfcad241d370f3822e870c238d104da15d8fe6db09e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): persistence/sql/persister_recovery.go:109-122 | persistence/sql/persister_verification.go:107-120 \u2014 before extracting anything, compare \u0060persistence/sql/persister_recovery.go\u0060 and \u0060persistence/sql/persister_verification.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence/sql/persister_recovery.go:109\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":"persistence/sql/persister_recovery.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ff709a844d933ce7c1db171ae9520e06cebc7ff508b7b0c4659bac5e804c51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/testhelpers/session.go:55-68 | pkg/testhelpers/session.go:74-87 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/testhelpers/session.go:89\u0060 calls \u0060ReplaceAll\u0060 and \u0060pkg/testhelpers/session.go:69\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":"pkg/testhelpers/session.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f59cff4a90a59e4cf17b849bc92f3783b2051b0638aa19d74320381e2eb6f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): selfservice/flow/login/error.go:195-208 | selfservice/flow/registration/error.go:205-218 \u2014 \u0060selfservice/flow/login/error.go\u0060 and \u0060selfservice/flow/registration/error.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 51 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/login/error.go:195\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/error.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c61d468080a261d96b7f40dcebdc515209394edca0f4c7f6119840bfa5c3e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): selfservice/flow/recovery/error.go:174-187 | selfservice/flow/verification/error.go:162-175 \u2014 \u0060selfservice/flow/recovery/error.go\u0060 and \u0060selfservice/flow/verification/error.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 33 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/recovery/error.go:174\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/recovery/error.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a99fab8348ce4980df3528d8dc551f69896cbcbf7414741a3265a548381fc01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): selfservice/flow/recovery/flow.go:237-250 | selfservice/flow/verification/flow.go:263-276 \u2014 \u0060selfservice/flow/recovery/flow.go\u0060 and \u0060selfservice/flow/verification/flow.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 34 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/recovery/flow.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a4f23cca848f6c6ce1e430849df4e185f958716fb19f66822088e1d99467bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): selfservice/hook/verification.go:196-209 | selfservice/hook/verify_new_address.go:196-209 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/hook/verification.go:196\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":"selfservice/hook/verification.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13a7a79cf8e3eac4b527e9940841897df2315170108e76db6d5af78e46266ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): selfservice/strategy/code/code_sender.go:429-442 | selfservice/strategy/link/sender.go:224-237 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/code/code_sender.go:429\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060err\u0060 to \u0060= s.deps.IdentityPool().FindVerifiableAddressByValue(ctx\u0060 in one and \u0060= s.r.IdentityPool().FindVerifiableAddressByValue(ctx\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/code_sender.go"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ec3446780dace372ba016bf965f67425142accde6beadd69f0a4b61d54aa6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): selfservice/strategy/passkey/passkey_login.go:308-321 | selfservice/strategy/webauthn/login.go:58-71 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/passkey/passkey_login.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa1219f4c3ba29a8e45346defcffc650945fce08f43be96f1a7b9ee8643476b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): selfservice/strategy/passkey/passkey_settings.go:317-330 | selfservice/strategy/webauthn/settings.go:231-244 \u2014 \u0060selfservice/strategy/passkey/passkey_settings.go\u0060 and \u0060selfservice/strategy/webauthn/settings.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 21 separate duplicated blocks between them, totalling at least 227 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/passkey/passkey_settings.go:317\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":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"52df50d2c0176128e01cfd37f7c816f446dfd0379528e75180a91357481b37d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): selfservice/flow/login/flow.go:197-209 | selfservice/flow/recovery/flow.go:138-150 | selfservice/flow/registration/flow.go:154-166 | selfservice/flow/settings/flow.go:150-162 | selfservice/flow/verification/flow.go:142-154 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060selfservice/flow/login/flow.go:196\u0060 calls \u0060SelfServiceFlowLoginRequestLifespan\u0060, \u0060Context\u0060 and \u0060selfservice/flow/recovery/flow.go:137\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":"selfservice/flow/login/flow.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"46467876c4849b0eb6ea119a5a9948c1460cb506fd44b833c987bcb2ea8c0b0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): selfservice/flow/registration/flow.go:296-308 | selfservice/flow/settings/flow.go:249-261 | selfservice/flow/verification/flow.go:348-360 \u2014 \u0060selfservice/flow/registration/flow.go\u0060 and \u0060selfservice/flow/settings/flow.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 35 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/registration/flow.go"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b629cfbd91126756d6f950c326c0220c847034878b47317be2c75b1451ee218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): hash/hash_comparator.go:443-455 | oryx/hasherx/hash_comparator.go:143-155 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hash/hash_comparator.go"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1b4eba42c0075ddcd11b4f08caec2b327cf59ebfbffca360c210a262b10b3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): oryx/otelx/otlp.go:40-52 | oryx/otelx/zipkin.go:17-28 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060oryx/otelx/otlp.go:40\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":"oryx/otelx/otlp.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bec9a8376866d3745dd38f39498b39fd98e71cc6ae85a32ddfd381428c28d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): persistence/sql/persister_session.go:333-345 | persistence/sql/persister_session.go:399-411 \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 \u0060persistence/sql/persister_session.go:333\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":"persistence/sql/persister_session.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b51cd50281ce76082e8e17a7b4ac52b5ec5b0f3dd6eebc8cc68a0e9695a310"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): selfservice/strategy/lookup/settings.go:331-343 | selfservice/strategy/totp/settings.go:245-257 \u2014 \u0060selfservice/strategy/lookup/settings.go\u0060 and \u0060selfservice/strategy/totp/settings.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 47 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/lookup/settings.go"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"e059379addee9c622ee795180933613f2df308f58e61b38b70ad59043055e82a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): selfservice/strategy/oidc/provider_auth0.go:58-70 | selfservice/strategy/oidc/provider_salesforce.go:58-70 \u2014 before extracting anything, compare \u0060selfservice/strategy/oidc/provider_auth0.go\u0060 and \u0060selfservice/strategy/oidc/provider_salesforce.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/oidc/provider_auth0.go:58\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_auth0.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"249b3a6889ec60586f0555d7fcd7a9474b13e4a9642704327d9b6578dadc1b27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): selfservice/strategy/oidc/provider_auth0.go:113-125 | selfservice/strategy/oidc/provider_salesforce.go:113-125 \u2014 before extracting anything, compare \u0060selfservice/strategy/oidc/provider_auth0.go\u0060 and \u0060selfservice/strategy/oidc/provider_salesforce.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/oidc/provider_auth0.go:113\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":"selfservice/strategy/oidc/provider_auth0.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a992c9e98c1ca68e55bb781bbbbab4099aa84abe5eee2a9f7fe7c176282b71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): selfservice/strategy/oidc/strategy_login.go:130-142 | selfservice/strategy/oidc/strategy_registration.go:365-377 \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":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca1e7490f4312efa725f6716279f3890854c509a20607472bb268904ca3cd59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): selfservice/strategy/passkey/passkey_login.go:68-80 | selfservice/strategy/passkey/passkey_login.go:345-357 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/passkey/passkey_login.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b45c49a7714afb258629e47ea07b9aa037472a1d0c945833e0cfb5901aad8e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201313 lines \u00D7 4): selfservice/strategy/lookup/settings.go:119-120 | selfservice/strategy/passkey/passkey_settings.go:179-191 | selfservice/strategy/totp/settings.go:103-104 | selfservice/strategy/webauthn/settings.go:116-128 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/lookup/settings.go:119\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060selfservice/strategy/passkey/passkey_settings.go:191\u0060 calls \u0060SettingsStrategyID\u0060 and \u0060selfservice/strategy/totp/settings.go:104\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":"selfservice/strategy/lookup/settings.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"821a06b6fa0a8732f874baed19c09084ab330fdafa63f002b305631aec0204e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): selfservice/strategy/passkey/passkey_settings.go:417-428 | selfservice/strategy/password/settings.go:108-119 | selfservice/strategy/totp/settings.go:121-132 | selfservice/strategy/webauthn/settings.go:147-158 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8d9d9413a065206b795c61c9cd1c0460f1ef52f27ad98932acec564577a956"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): x/events/events.go:334-345 | x/events/events.go:352-363 | x/events/events.go:370-381 \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 \u0060x/events/events.go:334\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":"x/events/events.go"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"7035c0e9bf77d16409efaf1a162bb4964f0a8feaf1e1089809b9d6fd906ef301"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cmd/daemon/serve.go:135-146 | cmd/daemon/serve.go:221-232 \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 \u0060cmd/daemon/serve.go:135\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":"cmd/daemon/serve.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4708486b71846ccb346dfeff452320df629a64d04006a1f15a535673c293b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): identity/manager.go:331-344 | identity/manager.go:351-364 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/manager.go"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f05c2e9ac356d54ab8e728c1da2ac480a0029d294f1c5750dbe2f65f80f551d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): selfservice/flow/login/handler.go:634-644 | selfservice/flow/registration/handler.go:456-467 \u2014 \u0060selfservice/flow/login/handler.go\u0060 and \u0060selfservice/flow/registration/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 35 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/login/handler.go:634\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":"selfservice/flow/login/handler.go"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd6f2f04719bd343a374b04ba22fed9e64cc7a8fb9c83c60a13a6cc3daffe9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): selfservice/flow/registration/hook.go:144-155 | selfservice/flow/registration/hook.go:293-304 \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 \u0060selfservice/flow/registration/hook.go:144\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":"selfservice/flow/registration/hook.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e64e57643c3ff3cdfea0d566e18ad74969074e2fa644c802e939446b38fa53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): selfservice/strategy/oidc/strategy_registration.go:142-152 | selfservice/strategy/oidc/strategy_settings.go:69-80 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/oidc/strategy_registration.go:142\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":"selfservice/strategy/oidc/strategy_registration.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d18a1ef7b05255dc7fe40f5e257164fd0720be395228d7b56836c73f93ce3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): selfservice/strategy/passkey/passkey_login.go:94-105 | selfservice/strategy/passkey/passkey_login.go:360-371 \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 \u0060selfservice/strategy/passkey/passkey_login.go:94\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/passkey/passkey_login.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"da231bc837e15a26183022489609041438463c6d58008c7f54a41bd251abb8ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): selfservice/strategy/passkey/passkey_settings.go:160-171 | selfservice/strategy/webauthn/settings.go:335-346 \u2014 \u0060selfservice/strategy/passkey/passkey_settings.go\u0060 and \u0060selfservice/strategy/webauthn/settings.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 21 separate duplicated blocks between them, totalling at least 227 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc15ab4eee9a53750d4b1243e6e27838ab16ba78874728d09d3327194a15561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): selfservice/strategy/passkey/passkey_settings.go:280-291 | selfservice/strategy/webauthn/settings.go:191-202 \u2014 \u0060selfservice/strategy/passkey/passkey_settings.go\u0060 and \u0060selfservice/strategy/webauthn/settings.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 21 separate duplicated blocks between them, totalling at least 227 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/passkey/passkey_settings.go:280\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":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"be66e9bb207f3d88514a72e6f4b4e13776c2f37eb659cf46495b55e3a3a88be0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): selfservice/strategy/passkey/passkey_settings.go:434-444 | selfservice/strategy/password/settings.go:232-242 | selfservice/strategy/totp/settings.go:306-316 | selfservice/strategy/webauthn/settings.go:418-428 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/passkey/passkey_settings.go:434\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":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16a56a833a9048b86ea9e584d0950692eff31764a99316e597a67abff0f0cc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 3): selfservice/strategy/idfirst/strategy_login.go:177-184 | selfservice/strategy/password/login.go:185-192 | selfservice/strategy/webauthn/login.go:357-367 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/webauthn/login.go:357\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060selfservice/strategy/idfirst/strategy_login.go:173\u0060 calls \u0060PopulateLoginMethodIdentifierFirstIdentification\u0060, \u0060SetCSRF\u0060, \u0060GenerateCSRFToken\u0060 and \u0060selfservice/strategy/webauthn/login.go:354\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":"selfservice/strategy/idfirst/strategy_login.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"76558378167b45caf539e1b318c677e9b05ca0aef70a926de3519effac0b1824"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): selfservice/strategy/passkey/passkey_login.go:386-396 | selfservice/strategy/passkey/passkey_login.go:417-427 | selfservice/strategy/passkey/passkey_login.go:453-463 \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 \u0060selfservice/strategy/passkey/passkey_login.go:386\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":"selfservice/strategy/passkey/passkey_login.go"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"9915d0d3acc339728ea40bcf538a1f62ca2b7ea8196571e76a1870d796d05f1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): hash/hash_comparator.go:745-755 | hash/hash_comparator.go:795-805 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hash/hash_comparator.go"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"f715709f0ce59d50101f01ed09e71b1a576c2f30e6afabbe4ec05884525e8a76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): oryx/pagination/keysetpagination/header.go:102-112 | oryx/pagination/keysetpagination_v2/request_params.go:99-109 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060oryx/pagination/keysetpagination/header.go:102\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":"oryx/pagination/keysetpagination/header.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e5b3ca9fd6814670e70d6209a31b2d56d27e0a0a466544d16255b7800d4c64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): oryx/pagination/keysetpagination/paginator.go:84-94 | oryx/pagination/keysetpagination_v2/paginator.go:66-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060oryx/pagination/keysetpagination/paginator.go:84\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060oryx/pagination/keysetpagination/paginator.go:96\u0060 calls \u0060WithColumn\u0060 and \u0060oryx/pagination/keysetpagination_v2/paginator.go:77\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":"oryx/pagination/keysetpagination/paginator.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd6d839f36ca2dd3d0dba58459051b5387c2404fb3a25a81fb12cec1da17310"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): persistence/sql/persister_session.go:93-103 | persistence/sql/persister_session.go:150-160 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_session.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2d4292ba667ed9dcfd25f7a70556bcd464cd6f3f169bdbbeb5a5b4094cd517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/testhelpers/selfservice_verification.go:44-54 | pkg/testhelpers/selfservice_verification.go:70-80 \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 \u0060pkg/testhelpers/selfservice_verification.go:44\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, \u0060pkg/testhelpers/selfservice_verification.go:40\u0060 calls \u0060GetProvider\u0060, \u0060Get\u0060 and \u0060pkg/testhelpers/selfservice_verification.go:65\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":"pkg/testhelpers/selfservice_verification.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"21be97993c1fd13dd3b9682e7159a982795102e3b79b92e439ff2219294753ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): selfservice/flow/login/flow.go:335-345 | selfservice/flow/recovery/flow.go:322-332 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/login/flow.go:335\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/flow.go"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ade1f98374594670e03f4889cddcf47a865565f1a17029f90d9dfbac0cc9940"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): selfservice/flow/login/handler.go:576-586 | selfservice/flow/registration/handler.go:383-393 \u2014 \u0060selfservice/flow/login/handler.go\u0060 and \u0060selfservice/flow/registration/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 35 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/login/handler.go:576\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/handler.go"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d23d0ef37a3f6f35cd92678b538d6adf68562092639bb91e72d05c5e2a5767"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): selfservice/strategy/oidc/provider_auth0.go:90-110 | selfservice/strategy/oidc/provider_salesforce.go:90-110 \u2014 before extracting anything, compare \u0060selfservice/strategy/oidc/provider_auth0.go\u0060 and \u0060selfservice/strategy/oidc/provider_salesforce.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_auth0.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"099841376684ab8c3f8ad3c79bcd19f8d3582c3c0840ee3e2ef3444b240f47b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): selfservice/strategy/oidc/provider_auth0.go:133-144 | selfservice/strategy/oidc/provider_salesforce.go:133-144 \u2014 before extracting anything, compare \u0060selfservice/strategy/oidc/provider_auth0.go\u0060 and \u0060selfservice/strategy/oidc/provider_salesforce.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_auth0.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c403e5ea67971d4244182e769bf9ac53e8ba14447e2791f4d2ea6a6b7431a9b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): selfservice/strategy/oidc/provider_gitlab.go:57-67 | selfservice/strategy/oidc/provider_netid.go:62-72 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/oidc/provider_gitlab.go:57\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060selfservice/strategy/oidc/provider_gitlab.go:69\u0060 calls \u0060OAuth2\u0060, \u0060oauth2\u0060 and \u0060selfservice/strategy/oidc/provider_netid.go:74\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":"selfservice/strategy/oidc/provider_gitlab.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"645ee44ff6529c2e601ae18ed21da9ff080f9e4394e0ab80107dfc3848270a53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): selfservice/strategy/passkey/passkey_settings.go:102-112 | selfservice/strategy/webauthn/settings.go:392-402 \u2014 \u0060selfservice/strategy/passkey/passkey_settings.go\u0060 and \u0060selfservice/strategy/webauthn/settings.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 21 separate duplicated blocks between them, totalling at least 227 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/passkey/passkey_settings.go:102\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":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"251841f3a45608ad7453de22e0910e9ee7b748a673687e70721c8268f0d19333"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): selfservice/strategy/passkey/passkey_settings.go:197-207 | selfservice/strategy/webauthn/settings.go:134-144 \u2014 \u0060selfservice/strategy/passkey/passkey_settings.go\u0060 and \u0060selfservice/strategy/webauthn/settings.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 21 separate duplicated blocks between them, totalling at least 227 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/passkey/passkey_settings.go:197\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":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"102e15ce026563ce1b9fee543df4a3e4ed7d9ee522d4756a8d5e77cde49e09f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): selfservice/strategy/password/settings.go:95-105 | selfservice/strategy/totp/settings.go:108-118 \u2014 \u0060selfservice/strategy/password/settings.go\u0060 and \u0060selfservice/strategy/totp/settings.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 7 separate duplicated blocks between them, totalling at least 59 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/password/settings.go: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":"selfservice/strategy/password/settings.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32bee979e09186d2c465215ab310f5cd27dd3bc9861660c34a737e6a3feed7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): selfservice/strategy/lookup/settings.go:152-161 | selfservice/strategy/passkey/passkey_settings.go:255-264 | selfservice/strategy/totp/settings.go:136-145 | selfservice/strategy/webauthn/settings.go:167-176 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/lookup/settings.go:152\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":"selfservice/strategy/lookup/settings.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ac04a3d69477fd9002cf0cff9bf6194da0896bad363ea785732fd3ea28043e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): x/events/events.go:337-346 | x/events/events.go:355-364 | x/events/events.go:373-382 | x/events/events.go:424-433 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060x/events/events.go:337\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 before the matched lines, \u0060x/events/events.go:422\u0060 calls \u0060attLoginRequestedAAL\u0060, \u0060attLoginRequestedPrivilegedSession\u0060 and \u0060x/events/events.go:336\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":"x/events/events.go"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e103a42aaf3ed0edc11ed8a11475e14a8ef22d032b01c0beaf952adc0c98777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): hash/hasher_argon2.go:78-87 | oryx/hasherx/hasher_argon2.go:104-113 | oryx/hasherx/hasher_pbkdf2.go:72-81 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060hash/hasher_argon2.go:78\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":"hash/hasher_argon2.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb39f53587d79c2799515347cab7ad357e946755c0dd30fed3356641561efa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): selfservice/flow/login/hook.go:318-327 | selfservice/flow/login/hook.go:372-381 | selfservice/flow/registration/hook.go:353-362 \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. 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":"selfservice/flow/login/hook.go"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffa79aae37dd24dadbd89db458b5ad2a1b5143067cd949331428c3ba733e871"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): selfservice/strategy/webauthn/registration.go:235-244 | selfservice/strategy/webauthn/registration.go:255-264 | selfservice/strategy/webauthn/registration.go:275-284 \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":"selfservice/strategy/webauthn/registration.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f231e0fe060fb66cdfd2789271914d7ad8f0d417eb489bb7fad4c543dfa806"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): courier/sms.go:29-38 | courier/smtp.go:134-143 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060courier/sms.go:29\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":"courier/sms.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"323ca9f9652dea1af9ad21d26e174a5141c69f29053faf88ed7bea34b7d323de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): hash/hash_comparator.go:500-509 | oryx/hasherx/hash_comparator.go:195-204 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060hash/hash_comparator.go:510\u0060 calls \u0060validatePbkdf2Params\u0060 and \u0060oryx/hasherx/hash_comparator.go:206\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":"hash/hash_comparator.go"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"82268b487d9e9332cfb642fde8419d3cc24eed69eb0e30904c8addff0692f16c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): identity/handler.go:1071-1080 | identity/handler.go:1272-1281 \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 \u0060identity/handler.go:1071\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/handler.go"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"8697a80d8e9919d6813ab4c90ede38c1194390797e859edb5766d7f32531ab37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): persistence/sql/persister_recovery.go:85-94 | persistence/sql/persister_verification.go:83-92 \u2014 before extracting anything, compare \u0060persistence/sql/persister_recovery.go\u0060 and \u0060persistence/sql/persister_verification.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence/sql/persister_recovery.go:85\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":"persistence/sql/persister_recovery.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05fa3bf9de24a1165820262648b3cc3835a1bb4a2d5f85352b5673566ade6c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): selfservice/flow/login/strategy.go:40-49 | selfservice/flow/registration/strategy.go:26-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/strategy.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1dba714090ee87e1be3dc705ee20c530c5f5bc28753f9e9e47a32ea0097d58a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): selfservice/flow/registration/handler.go:565-574 | selfservice/flow/verification/handler.go:302-311 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/registration/handler.go:565\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":"selfservice/flow/registration/handler.go"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"914585713f3c7495b4a57a4d4330079ad5f77705df74983b918a44e6631571f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): selfservice/hook/web_hook.go:169-178 | selfservice/hook/web_hook.go:223-232 \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 \u0060selfservice/hook/web_hook.go:169\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/web_hook.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cdd9f5648f5c9d2b08c29558855604924e7f463d6618f559bda5ce4dad508a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): selfservice/hook/web_hook.go:194-203 | selfservice/hook/web_hook.go:244-253 \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 \u0060selfservice/hook/web_hook.go:194\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/web_hook.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"0238ea8744c092bd308d56b709f3992b0972322f9d025acf8a1189453de2bdfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): selfservice/strategy/code/code_sender.go:145-154 | selfservice/strategy/code/code_sender.go:202-211 \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 \u0060selfservice/strategy/code/code_sender.go:145\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/code_sender.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1e251212c12c20dcdf6431d3dd1c500095be886628ed724dd85692994012d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): selfservice/strategy/code/code_sender.go:387-395 | selfservice/strategy/code/strategy_verification.go:480-489 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/code_sender.go"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"3109a733b260db39a7058909b37b07a37a952af519447302caee72bec3426b94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): selfservice/strategy/code/strategy.go:305-311 | selfservice/strategy/code/strategy.go:332-341 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1ddbdcc4466db6bb4e0a7f995b7369f826fe1e441472c6ea47385dafaa177a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): selfservice/strategy/code/strategy_recovery.go:882-891 | selfservice/strategy/link/strategy_recovery.go:542-551 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/code/strategy_recovery.go:882\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":"selfservice/strategy/code/strategy_recovery.go"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40e68a1da2ba0d024d7246cb6b5e7b847b9edf1bcf38ff4b23b28e676864787"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): selfservice/strategy/lookup/login.go:92-101 | selfservice/strategy/totp/login.go:96-105 \u2014 \u0060selfservice/strategy/lookup/login.go\u0060 and \u0060selfservice/strategy/totp/login.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 46 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/lookup/login.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c236e02bb4297a81d09b78182543c771352e920aee1c017a17e4d7ec320eb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): selfservice/strategy/passkey/passkey_login.go:223-233 | selfservice/strategy/webauthn/login.go:271-281 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/passkey/passkey_login.go:223\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":"selfservice/strategy/passkey/passkey_login.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5de7ff4e71fe2932d9e500128e261af1483b4c493e027da74bb02e20831186"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): selfservice/strategy/oidc/provider_auth0.go:59-67 | selfservice/strategy/oidc/provider_gitlab.go:58-65 | selfservice/strategy/oidc/provider_netid.go:63-70 | selfservice/strategy/oidc/provider_salesforce.go:59-67 \u2014 before extracting anything, compare \u0060selfservice/strategy/oidc/provider_auth0.go\u0060 and \u0060selfservice/strategy/oidc/provider_salesforce.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"selfservice/strategy/oidc/provider_auth0.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c8768b9d7555e899c04a31e7fd6e927c68bf6cfc0e77c67d392416517aa5c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): selfservice/hook/web_hook.go:131-139 | selfservice/hook/web_hook.go:157-165 | selfservice/hook/web_hook.go:207-215 \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 \u0060selfservice/hook/web_hook.go:131\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/web_hook.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ad4e8792a3591a3021ec22cb738407aa4884a062ede168cf3df3c348d5e65e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): selfservice/strategy/passkey/passkey_settings.go:106-114 | selfservice/strategy/webauthn/login.go:90-98 | selfservice/strategy/webauthn/settings.go:396-404 \u2014 \u0060selfservice/strategy/passkey/passkey_settings.go\u0060 and \u0060selfservice/strategy/webauthn/settings.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 21 separate duplicated blocks between them, totalling at least 227 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b26ce0d0ec846669f946c6fcece64d3e143d624ad0f58c31cf3c53aaad98024"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/hashers/argon2/calibrate.go:257-265 | cmd/hashers/argon2/calibrate.go:271-279 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/hashers/argon2/calibrate.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ec4eca40805dbd9abfd361f0fbdbc820267e358a1d06ea303622f6f1110ff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): oryx/decoderx/http.go:413-421 | oryx/decoderx/http.go:433-441 \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 \u0060oryx/decoderx/http.go:413\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":"oryx/decoderx/http.go"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"749e5841f89897f1f4cec47d2b5ab03489dd032cd5dff36c8fd91c6d2c20bf54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): oryx/josex/generate.go:34-42 | oryx/jwksx/generator.go:56-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060oryx/josex/generate.go:34\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/josex/generate.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a83db25e163c33908dd5bb3710948f4ef4099c3f52692f339f792607a41892a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): persistence/sql/identity/persister_identity.go:1885-1893 | persistence/sql/identity/persister_identity.go:1911-1919 \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 \u0060persistence/sql/identity/persister_identity.go:1885\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":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":1885}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc07537626008fabcaee00b868e4ade0414ea2c00e352f72230a4a4c9094660"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): persistence/sql/persister_login_code.go:27-35 | persistence/sql/persister_registration_code.go:26-34 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence/sql/persister_login_code.go:27\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_login_code.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"488798da0504c36a63f2591fd26fe21b075839c24554a409d9826e03d0eb8e06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/testhelpers/session.go:191-199 | pkg/testhelpers/session.go:218-226 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/session.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"8609b52f6646ee60bed81f8994879af96667467734b5cdbc3324674d3ee453a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): selfservice/flow/recovery/handler.go:135-143 | selfservice/flow/recovery/handler.go:211-219 \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 \u0060selfservice/flow/recovery/handler.go:135\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":"selfservice/flow/recovery/handler.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1902406e76cced2d5279150fb11e0d63d6b3c0801a570a2d32cbea700519b958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): selfservice/flow/registration/hook.go:157-165 | selfservice/flow/registration/hook.go:308-316 \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 \u0060selfservice/flow/registration/hook.go:157\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, \u0060selfservice/flow/registration/hook.go:306\u0060 calls \u0060SetAttributes\u0060, \u0060String\u0060, \u0060Sprintf\u0060 and \u0060selfservice/flow/registration/hook.go:155\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/registration/hook.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7863d3fe4648d0bf026c63f97ffcc5262d74a49f138e914f7f1b5c7c0a5d89d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): selfservice/flow/settings/error.go:152-160 | selfservice/flow/verification/error.go:76-84 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/settings/error.go:152\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/settings/error.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e5ecad379dd8a65321338bcaa96452ce88160d541f6625a984af1f6a9d062b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): selfservice/strategy/code/strategy.go:293-302 | selfservice/strategy/code/strategy.go:321-329 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"482f489a96cd81131cbe602896b92ec87dc31bb265a4826dbe1891acdebcf3d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): selfservice/strategy/code/strategy_recovery.go:630-639 | selfservice/strategy/code/strategy_recovery.go:702-711 \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 \u0060selfservice/strategy/code/strategy_recovery.go:630\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":"selfservice/strategy/code/strategy_recovery.go"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"de926237fd9ab013068a2e82278981471ff07cf314b017e55ff12b19b07f4354"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): selfservice/strategy/oidc/provider_auth0.go:77-85 | selfservice/strategy/oidc/provider_salesforce.go:77-85 \u2014 before extracting anything, compare \u0060selfservice/strategy/oidc/provider_auth0.go\u0060 and \u0060selfservice/strategy/oidc/provider_salesforce.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"selfservice/strategy/oidc/provider_auth0.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6d35033a3a8b3267d6138ea7678e1b765fa3e8820213565a4f794a73d36e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): session/handler.go:443-451 | session/handler.go:525-533 \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 \u0060session/handler.go:443\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":"session/handler.go"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b29429a2b6607ea79c93893940956c7594a5ac088ee3afa01429c435ed1c14b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): selfservice/flow/login/error.go:194-201 | selfservice/flow/recovery/error.go:173-180 | selfservice/flow/registration/error.go:204-211 | selfservice/flow/verification/error.go:161-168 \u2014 \u0060selfservice/flow/login/error.go\u0060 and \u0060selfservice/flow/registration/error.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 51 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"selfservice/flow/login/error.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd5891c12f6e0b1c86414bffee748f436e56bd33f02a903ff50396e786e26a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): selfservice/strategy/idfirst/strategy_login.go:177-184 | selfservice/strategy/passkey/passkey_login.go:50-57 | selfservice/strategy/password/login.go:185-192 | selfservice/strategy/webauthn/login.go:357-364 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060selfservice/strategy/idfirst/strategy_login.go:173\u0060 calls \u0060PopulateLoginMethodIdentifierFirstIdentification\u0060, \u0060SetCSRF\u0060, \u0060GenerateCSRFToken\u0060 and \u0060selfservice/strategy/webauthn/login.go:354\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":"selfservice/strategy/idfirst/strategy_login.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e88fc7ef004a2d7aee84b9adc4df24aea531814c453fd5bf7984c5e7a09cc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): identity/handler_import.go:257-264 | identity/handler_import.go:302-309 \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 \u0060identity/handler_import.go:257\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":"identity/handler_import.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac70d8a6e9b32354a934728e5ced61555d25ff0abe214de9e6a9a175f3709ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): oryx/assertx/assertx.go:26-33 | oryx/assertx/assertx.go:38-45 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/assertx/assertx.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c6fa112dfaadc3ff762465b9a9ac7ec6fdb19180ae47dde3f615bbe226b94b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): oryx/popx/cmd.go:97-105 | oryx/popx/cmd.go:207-215 \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 \u0060oryx/popx/cmd.go:97\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":"oryx/popx/cmd.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf97e1ba34d8223a431407bea356d821f050946f1f8d63ae39e84181e54e944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): persistence/sql/identity/persister_identity.go:1935-1942 | persistence/sql/identity/persister_identity.go:1962-1969 \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 \u0060persistence/sql/identity/persister_identity.go:1935\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"c873277494e81bc6f37dd7d89cab6f88b2e6d9c7c16788141f29f50f8bbb06cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/testhelpers/selfservice_login.go:183-190 | pkg/testhelpers/selfservice_registration.go:68-75 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/testhelpers/selfservice_login.go:183\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":"pkg/testhelpers/selfservice_login.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f03feea93371500f6d6821fb1edf700a72fd5d219aa55cae3eca48c996c7f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): selfservice/flow/login/hook.go:154-161 | selfservice/flow/registration/hook.go:230-235 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/login/hook.go:154\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 before the matched lines, \u0060selfservice/flow/registration/hook.go:226\u0060 calls \u0060WithoutCancel\u0060, \u0060WithContext\u0060 and \u0060selfservice/flow/login/hook.go:152\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":"selfservice/flow/login/hook.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba90b18cff8e72920e824c47f30bca485cb95466678bc6f136e5edc61a45f03b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): selfservice/strategy/code/strategy_recovery.go:681-688 | selfservice/strategy/code/strategy_recovery.go:805-812 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_recovery.go"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4a1727948ee65712f27048ff94ff61f0c72738f56081193cdad7cfcaaf992f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): selfservice/strategy/link/strategy_recovery.go:484-491 | selfservice/strategy/link/strategy_verification.go:185-192 \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":"selfservice/strategy/link/strategy_recovery.go"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"128f071c343a71779e6dc5fb0c2e5b912ac1b456cf6ae566f66d01d3bdaa58d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): selfservice/strategy/oidc/provider_apple.go:97-104 | selfservice/strategy/oidc/provider_generic_oidc.go:88-95 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_apple.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"69689d4c74c53c8dccda1558d06d3a6f3d06e3eebf9e0fb0a822cae5dcda0e9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): selfservice/strategy/oidc/provider_facebook.go:94-101 | selfservice/strategy/oidc/provider_yandex.go:78-85 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/oidc/provider_facebook.go:94\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_facebook.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea1d92619d857b6e8893d041d3f696e1d0eb954f80864b18597694cf15d0523"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): selfservice/strategy/oidc/strategy_login.go:503-510 | selfservice/strategy/oidc/strategy_registration.go:183-190 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/oidc/strategy_login.go:503\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":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"922792fa2b3ce8e6a5a409d4499b1ce283ff041597200673d324eec41c3b9a2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): selfservice/strategy/oidc/strategy_registration.go:276-283 | selfservice/strategy/oidc/strategy_settings.go:483-490 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/oidc/strategy_registration.go:276\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_registration.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"debbcd34e529da0cbbacba4e08a175d8126139e9490b006d6d58ecbc3267924f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): selfservice/strategy/oidc/strategy_registration.go:384-390 | selfservice/strategy/oidc/strategy_settings.go:515-522 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/oidc/strategy_registration.go:384\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_registration.go"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c217efa0bf345ae7f03ebf4f36ad1df435deca38a4ce2f2892364e2ae4f90b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): selfservice/strategy/oidc/provider_dingtalk.go:99-105 | selfservice/strategy/oidc/provider_dingtalk.go:142-148 | selfservice/strategy/oidc/provider_facebook.go:94-100 | selfservice/strategy/oidc/provider_yandex.go:78-84 \u2014 there are 4 copies across 3 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 \u0060selfservice/strategy/oidc/provider_dingtalk.go:99\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_dingtalk.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7c67d230a104c29374e3fb2e0ea4711519317953a425165283c276a943be39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): persistence/sql/persister_login.go:34-40 | persistence/sql/persister_registration.go:31-37 | persistence/sql/persister_settings.go:54-60 \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 all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence/sql/persister_login.go:34\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_login.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcd39f22c906ce6111bc53042ff74247f2c49469e19315d46c9d820c12094fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): selfservice/flow/recovery/flow.go:161-167 | selfservice/flow/registration/flow.go:184-190 | selfservice/flow/verification/flow.go:158-164 \u2014 \u0060selfservice/flow/recovery/flow.go\u0060 and \u0060selfservice/flow/verification/flow.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 34 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/recovery/flow.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"54402ad3b1f9cb2a0ae5051fc32e532773f0b04f91c32f4866deaa2b358613c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): selfservice/hook/require_verified_address.go:131-137 | selfservice/hook/verification.go:182-188 | selfservice/hook/verify_new_address.go:167-173 \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 all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/hook/require_verified_address.go:131\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/require_verified_address.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad5a759dd3398e03fef8a43c58bfe7f56354f86b1984d54bd8a3cdcddc15fba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): selfservice/hook/web_hook.go:143-149 | selfservice/hook/web_hook.go:194-200 | selfservice/hook/web_hook.go:244-250 \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 \u0060selfservice/hook/web_hook.go:143\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/web_hook.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a635cec6e7cb8d424f7052a1fee159f654f7874cf3185af555f4fdf685ff6e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): selfservice/strategy/passkey/passkey_settings.go:181-187 | selfservice/strategy/totp/settings.go:93-99 | selfservice/strategy/webauthn/settings.go:118-124 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/passkey/passkey_settings.go:181\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":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1c04c76dc59306b50cedf4559cd78d2fe0bdae6bca79609627de83e43116f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): oryx/popx/migrator.go:394-400 | oryx/popx/migrator.go:405-411 \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 \u0060oryx/popx/migrator.go:394\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":"oryx/popx/migrator.go"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"10af00b85004172d4ccf805a724f0055d4b116029f3947f127e77e6839d08dd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): oryx/snapshotx/snapshot.go:106-112 | pkg/testhelpers/snapshot.go:16-22 \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":"oryx/snapshotx/snapshot.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d5c771f51b01fac6a167efb34bc0fc391e1d7f5a63ae6f0b41890312f453c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): pkg/registrationhelpers/helpers.go:291-336 | pkg/registrationhelpers/helpers.go:340-385 \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 \u0060pkg/registrationhelpers/helpers.go:291\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/registrationhelpers/helpers.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"348a18bc8e1c7abe17397c7018a927f82a7a0dfb48a3dcf80cfce238d342d6ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/testhelpers/http.go:105-113 | pkg/testhelpers/http.go:149-155 \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 \u0060pkg/testhelpers/http.go:105\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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/http.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d17b459ce44f7994b683860a018fe11e9afb3e63983825276e176c6894c2d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/testhelpers/session.go:161-167 | pkg/testhelpers/session.go:179-185 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/testhelpers/session.go:161\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/session.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6e9ce75e9676b5a66158c088764497073cfdb2aa0a96e614daea596cfcc33e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): selfservice/flow/recovery/handler.go:122-130 | selfservice/flow/recovery/handler.go:198-206 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/recovery/handler.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"079d99205bc7a0c3d50ec6b6c60cf0610fc8b086b54b207309ac1c626304d9d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): selfservice/flow/registration/hook.go:135-141 | selfservice/flow/registration/hook.go:281-287 \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 \u0060selfservice/flow/registration/hook.go:135\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, \u0060selfservice/flow/registration/hook.go:291\u0060 calls \u0060SetAttributes\u0060, \u0060String\u0060, \u0060Sprintf\u0060 and \u0060selfservice/flow/registration/hook.go:144\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":"selfservice/flow/registration/hook.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"736bf44d8603346af12ee4d7ae6173b8f0348e999410c840bd5282e0e2f52cea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): selfservice/strategy/link/strategy_recovery.go:419-431 | selfservice/strategy/link/strategy_recovery.go:449-461 \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 \u0060selfservice/strategy/link/strategy_recovery.go:419\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":"selfservice/strategy/link/strategy_recovery.go"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b7882d440fab55c9123d3543a3a841c296796f547d8b4b19fdda480dee3906"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): selfservice/strategy/link/strategy_verification.go:315-327 | selfservice/strategy/link/strategy_verification.go:346-358 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/link/strategy_verification.go:315\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":"selfservice/strategy/link/strategy_verification.go"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"175dd424de1ef18b7e06a32faad9d18467e6b6520404a38a2839deb0e633881f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): selfservice/strategy/oidc/provider_auth0.go:47-53 | selfservice/strategy/oidc/provider_salesforce.go:47-53 \u2014 before extracting anything, compare \u0060selfservice/strategy/oidc/provider_auth0.go\u0060 and \u0060selfservice/strategy/oidc/provider_salesforce.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_auth0.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae1a6b6df3b30cc2fa9779782a4b6c81d1ade8c1ec2fb05a7d27f129261cced"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): selfservice/strategy/oidc/provider_gitlab.go:99-105 | selfservice/strategy/oidc/provider_netid.go:108-114 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/oidc/provider_gitlab.go:99\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":"selfservice/strategy/oidc/provider_gitlab.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04b8e0da2614b20dab07c29b70ca3c9426c918dedcc8ec1430142bba78dc288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): selfservice/strategy/oidc/strategy_registration.go:267-273 | selfservice/strategy/oidc/strategy_settings.go:473-479 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/oidc/strategy_registration.go:267\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":"selfservice/strategy/oidc/strategy_registration.go"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"719b1e7631ae2289e168d1c776e4ca5c952e0aee613cc9befcb98029e2d0cee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): selfservice/strategy/passkey/passkey_registration.go:127-133 | selfservice/strategy/webauthn/registration.go:131-137 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/passkey/passkey_registration.go:127\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":"selfservice/strategy/passkey/passkey_registration.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f5c51936c02b98ff8be8df0157d7bd5f2c00606a14beaa5fb10ed8a58e3282"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): selfservice/strategy/passkey/passkey_settings.go:333-346 | selfservice/strategy/webauthn/settings.go:247-260 \u2014 \u0060selfservice/strategy/passkey/passkey_settings.go\u0060 and \u0060selfservice/strategy/webauthn/settings.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 21 separate duplicated blocks between them, totalling at least 227 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be0e9ed6f76887c168701d198fac7dfa703c6aee94bd58b94f341c3f98d775c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): selfservice/strategy/lookup/settings.go:152-157 | selfservice/strategy/passkey/passkey_settings.go:255-260 | selfservice/strategy/password/settings.go:154-159 | selfservice/strategy/profile/strategy.go:164-169 | selfservice/strategy/totp/settings.go:136-141 | selfservice/strategy/webauthn/settings.go:167-172 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/lookup/settings.go:152\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":"selfservice/strategy/lookup/settings.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f359657c785442361c52fe2eaf6e8ed20a5f9c69f7d3bc8167af0fc5323d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 5): selfservice/strategy/oidc/provider_facebook.go:86-91 | selfservice/strategy/oidc/provider_microsoft.go:95-100 | selfservice/strategy/oidc/provider_netid.go:86-89 | selfservice/strategy/oidc/provider_vk.go:72-77 | selfservice/strategy/oidc/provider_yandex.go:70-75 \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 all 5 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/oidc/provider_facebook.go:86\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060selfservice/strategy/oidc/provider_facebook.go:92\u0060 calls \u0060WithStack\u0060, \u0060ErrUpstreamError\u0060, \u0060WithWrap\u0060 and \u0060selfservice/strategy/oidc/provider_netid.go:89\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_facebook.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fdbb15710374c8691facedc32df0436cce2ed8bdd40b4274e5202daf503c55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): selfservice/strategy/passkey/passkey_settings.go:182-187 | selfservice/strategy/password/settings.go:91-96 | selfservice/strategy/totp/settings.go:94-99 | selfservice/strategy/webauthn/settings.go:119-124 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/passkey/passkey_settings.go:182\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060selfservice/strategy/password/settings.go:87\u0060 calls \u0060handleSettingsError\u0060, \u0060MethodEnabledAndAllowedFromRequest\u0060, \u0060GetFlowName\u0060 and \u0060selfservice/strategy/totp/settings.go:93\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":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"8def7502794eec4ec0bfa8ab3db402beaba1ccf21787171a2349742ac96712d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): selfservice/flow/recovery/error.go:179-184 | selfservice/flow/settings/error.go:279-284 | selfservice/flow/verification/error.go:167-172 \u2014 \u0060selfservice/flow/recovery/error.go\u0060 and \u0060selfservice/flow/verification/error.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 33 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/recovery/error.go:179\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":"selfservice/flow/recovery/error.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"421e2971cdca77b128c279993c757dbf1afe639fc9803be0962acf755eeb8515"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): hash/hasher_argon2.go:54-59 | hash/hasher_pbkdf2.go:37-42 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060hash/hasher_argon2.go:54\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060hash/hasher_argon2.go:50\u0060 calls \u0060Config\u0060, \u0060HasherArgon2\u0060 and \u0060hash/hasher_pbkdf2.go:34\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":"hash/hasher_argon2.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea7d3cae65ecf4a4c10fedaf24e51b741b6bf765e43f7cd2b93ff7183eb583a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): oryx/cmdx/printing.go:104-109 | oryx/cmdx/printing.go:167-172 \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 \u0060oryx/cmdx/printing.go:104\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, \u0060oryx/cmdx/printing.go:103\u0060 calls \u0060printYAML\u0060, \u0060Interface\u0060 and \u0060oryx/cmdx/printing.go:166\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":"oryx/cmdx/printing.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e100254956c10c619d0a7f5b19b24ff4efcda65a3b654d660d5029c99e3d767"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): oryx/decoderx/http.go:455-460 | oryx/decoderx/http.go:480-485 \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 \u0060oryx/decoderx/http.go:455\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":"oryx/decoderx/http.go"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"a600f6a58a5068bf2c869c3aa9dcef4d35b82f3a94184a1e0435517d195d4935"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): oryx/popx/cmd.go:86-93 | oryx/popx/cmd.go:196-203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/popx/cmd.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb8fc99c44a4e64929717518b48275d50d901f7a3082670e0b73b5f0e41057b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): oryx/popx/migrator.go:239-244 | oryx/popx/migrator.go:249-254 \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 \u0060oryx/popx/migrator.go:239\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":"oryx/popx/migrator.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"a072d2b7ad912b056e6ebdfec09e28509f99b9b336de8afd9abe2f7797602abc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): selfservice/flow/login/handler.go:755-763 | selfservice/flow/login/test_handler.go:217-225 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060selfservice/flow/login/handler.go:752\u0060 calls \u0060IsTest\u0060 and \u0060selfservice/flow/login/test_handler.go:216\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":"selfservice/flow/login/handler.go"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c2b6b403e3fd287ca4bed6431269e7df13f6edab1be026fa0eee1220c378c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): selfservice/flow/login/handler.go:765-770 | selfservice/flow/registration/handler.go:572-577 \u2014 \u0060selfservice/flow/login/handler.go\u0060 and \u0060selfservice/flow/registration/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 35 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/login/handler.go:765\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":"selfservice/flow/login/handler.go"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9eaee043958f1f4d12f1526bcda1a6fd92444164c994efcd683335905b818cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): selfservice/flow/recovery/handler.go:307-315 | selfservice/flow/verification/handler.go:309-317 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/recovery/handler.go:307\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":"selfservice/flow/recovery/handler.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3fea98298e6b5237fdf884b162b11d67e782df11ab615a4c375e362c8169cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): selfservice/hook/web_hook.go:273-278 | selfservice/hook/web_hook.go:290-295 \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 \u0060selfservice/hook/web_hook.go:273\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/web_hook.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"f440122aeb742e80e095a657274b099dcfa3a4132a7bc1852daa246a7f5a9db7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): selfservice/strategy/code/code_sender.go:133-138 | selfservice/strategy/code/code_sender.go:190-195 \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 \u0060selfservice/strategy/code/code_sender.go:133\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/code_sender.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f1b79c2cd32166ed4b3126d20a5ae4663abc50e2ff9d2f8a462719e8152bc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 5): selfservice/strategy/code/strategy_recovery.go:63-65 | selfservice/strategy/code/strategy_recovery.go:509-514 | selfservice/strategy/code/strategy_recovery.go:576-581 | selfservice/strategy/code/strategy_recovery.go:668-670 | selfservice/strategy/code/strategy_recovery.go:793-795 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/code/strategy_recovery.go:63\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060selfservice/strategy/code/strategy_recovery.go:506\u0060 calls \u0060RecoveryFlowPersister\u0060, \u0060UpdateRecoveryFlow\u0060, \u0060Context\u0060 and \u0060selfservice/strategy/code/strategy_recovery.go:575\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":"selfservice/strategy/code/strategy_recovery.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d2bd2fb602b58d5c3afd6b64951c2d57dfe2c16024651249b2f82bebcc31f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): selfservice/strategy/oidc/provider_discord.go:73-78 | selfservice/strategy/oidc/provider_spotify.go:67-72 \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":"selfservice/strategy/oidc/provider_discord.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a980977bab73dc832ac4e05e9062ed54a9ede5fbb27d7bad79540daf48ce31a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): selfservice/strategy/oidc/provider_github.go:66-71 | selfservice/strategy/oidc/provider_slack.go:67-72 \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":"selfservice/strategy/oidc/provider_github.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"019c450da74afe1d9dae4b96d13df72473a8d12611369ba8e81eb7a6fd113677"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): selfservice/strategy/oidc/provider_github.go:98-103 | selfservice/strategy/oidc/provider_github_app.go:85-90 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/oidc/provider_github.go:98\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 before the matched lines, \u0060selfservice/strategy/oidc/provider_github.go:97\u0060 calls \u0060Contains\u0060 and \u0060selfservice/strategy/oidc/provider_github_app.go:81\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_github.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebae486558e07ba33f53704dc99ba363b4c2a7062ba7d61c47751e1c5c319a23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): selfservice/strategy/oidc/strategy.go:451-457 | selfservice/strategy/oidc/strategy.go:729-735 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dcee8151e14d1a196ab57aed14ef1951e1bf7760d9e861b30430f8cd575b2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 5): selfservice/strategy/lookup/login.go:108-111 | selfservice/strategy/passkey/passkey_login.go:176-181 | selfservice/strategy/passkey/passkey_login.go:193-196 | selfservice/strategy/webauthn/login.go:176-181 | selfservice/strategy/webauthn/login.go:200-203 \u2014 there are 5 copies across 3 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/lookup/login.go:108\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/lookup/login.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab37ff7117c3f34c7f23b33594f22cbcae4aefad167ec91034b50b0d9a0a1cd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): selfservice/strategy/passkey/passkey_login.go:258-263 | selfservice/strategy/webauthn/login.go:261-266 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/passkey/passkey_login.go:258\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":"selfservice/strategy/passkey/passkey_login.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4ca1128308949dbb420532d4fdf1ad527b8af9961d24f387f1df649ea21964"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 12): selfservice/strategy/oidc/provider_auth0.go:97-104 | selfservice/strategy/oidc/provider_dingtalk.go:96-103 | selfservice/strategy/oidc/provider_dingtalk.go:139-146 | selfservice/strategy/oidc/provider_facebook.go:91-98 | selfservice/strategy/oidc/provider_gitlab.go:93-100 | selfservice/strategy/oidc/provider_lark.go:91-98 | selfservice/strategy/oidc/provider_netid.go:87-94 | selfservice/strategy/oidc/provider_patreon.go:97-104 | selfservice/strategy/oidc/provider_salesforce.go:97-104 | selfservice/strategy/oidc/provider_vk.go:77-84 | selfservice/strategy/oidc/provider_x.go:120-127 | selfservice/strategy/oidc/provider_yandex.go:75-82 \u2014 before extracting anything, compare \u0060selfservice/strategy/oidc/provider_auth0.go\u0060 and \u0060selfservice/strategy/oidc/provider_salesforce.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060selfservice/strategy/oidc/provider_auth0.go:94\u0060 calls \u0060Add\u0060 and \u0060selfservice/strategy/oidc/provider_facebook.go:88\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":"selfservice/strategy/oidc/provider_auth0.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e81a767d5fb78e9bf8f535b7a6b3eb9b18c1f4f7c1c9f9b934fa9c9d559daf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): selfservice/strategy/passkey/passkey_settings.go:434-438 | selfservice/strategy/password/settings.go:232-236 | selfservice/strategy/profile/strategy.go:256-263 | selfservice/strategy/totp/settings.go:306-310 | selfservice/strategy/webauthn/settings.go:418-422 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/passkey/passkey_settings.go:434\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":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcb7e1b0e32ab33924d2798cb87fffd639fb31c93a569d4402303904ef26cc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): selfservice/flow/login/error.go:149-153 | selfservice/flow/recovery/error.go:154-158 | selfservice/flow/registration/error.go:157-161 | selfservice/flow/verification/error.go:142-146 \u2014 \u0060selfservice/flow/login/error.go\u0060 and \u0060selfservice/flow/registration/error.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 51 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/login/error.go:149\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":"selfservice/flow/login/error.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"665752f77193d2dadf12594650edea16ded2bd29cbe4c7b3718c3d03407575f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): selfservice/flow/registration/hook.go:147-152 | selfservice/flow/registration/hook.go:161-165 | selfservice/flow/registration/hook.go:296-301 | selfservice/flow/registration/hook.go:312-316 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060selfservice/flow/registration/hook.go:291\u0060 calls \u0060SetAttributes\u0060, \u0060String\u0060, \u0060Sprintf\u0060 and \u0060selfservice/flow/registration/hook.go:143\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":"selfservice/flow/registration/hook.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ad8a64a73a40e4f57a04282b69c46125e68c599cac319e5af73de8824764ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): pkg/registrationhelpers/helpers.go:325-329 | pkg/registrationhelpers/helpers.go:374-378 | pkg/registrationhelpers/helpers.go:403-407 \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 \u0060pkg/registrationhelpers/helpers.go:325\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":"pkg/registrationhelpers/helpers.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"215d098e949f5da9cfcc356cac68b5a1d78e176e576d9f92568c015d01c5ef8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): pkg/testhelpers/selfservice_recovery.go:131-135 | pkg/testhelpers/selfservice_settings.go:272-276 | pkg/testhelpers/selfservice_verification.go:224-228 \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 all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/testhelpers/selfservice_recovery.go:131\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/selfservice_recovery.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0025a9adec21b1b70f1ea5eec934de133d99f51eb490f9600cfcc678d0ffec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): selfservice/flow/login/hook.go:191-195 | selfservice/flow/registration/hook.go:135-139 | selfservice/flow/registration/hook.go:281-285 \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 \u0060selfservice/flow/login/hook.go:191\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":"selfservice/flow/login/hook.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfe0819f0d6276f0034f156721ed5520a97aa79f7a1c65fd193e55520360c3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): oryx/decoderx/http.go:406-411 | oryx/decoderx/http.go:426-431 \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 \u0060oryx/decoderx/http.go:406\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":"oryx/decoderx/http.go"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef3e9d142ed1ac0328ff5221d15882c854be115453aa06b9730a8ece59e6551"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): persistence/sql/identity/persister_identity.go:98-108 | persistence/sql/identity/persister_identity.go:112-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 \u0060persistence/sql/identity/persister_identity.go:98\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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"54925af3112bb846235d451849f7b160255f6ea8b73e58693a91bdc9dfdbf48d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/registrationhelpers/helpers.go:124-128 | pkg/registrationhelpers/helpers.go:148-152 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/registrationhelpers/helpers.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5929c50f1563611771b24ddddd109d41fd334c9b371d7b6fd087b3602f2e75ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/testhelpers/selfservice_recovery.go:97-104 | pkg/testhelpers/selfservice_verification.go:189-196 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/selfservice_recovery.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"515d2ef96bf0072c47801d621db173f02a24d5ca834a58648e53ee6627863b06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): selfservice/flow/login/error.go:127-131 | selfservice/flow/registration/error.go:129-133 \u2014 \u0060selfservice/flow/login/error.go\u0060 and \u0060selfservice/flow/registration/error.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 51 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/login/error.go:127\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":"selfservice/flow/login/error.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddfdc5fd0356f59f6803dd83ef6d3365b499ffa44149cecda23b2d5a94a7e50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): selfservice/flow/request.go:98-102 | selfservice/strategy/code/strategy_login.go:161-165 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/request.go:98\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":"selfservice/flow/request.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd263b5c4253f9a4af6a619a0fda522335c2a89f8cc679d893901990d5f76d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): selfservice/strategy/code/strategy_verification.go:393-397 | selfservice/strategy/link/strategy_verification.go:286-290 \u2014 \u0060selfservice/strategy/code/strategy_verification.go\u0060 and \u0060selfservice/strategy/link/strategy_verification.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 36 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_verification.go"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbba5906dbd2bf474cfcd6dcf8b2f1b0b390611733ae0ebeb01ccfc6067dd3e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): selfservice/strategy/link/strategy_recovery.go:60-64 | selfservice/strategy/link/strategy_verification.go:38-42 \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":"selfservice/strategy/link/strategy_recovery.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1596b5b94b8488bbfca725d913f1d950f9cd94ea553e8105f88887bd93a2995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): selfservice/strategy/oidc/provider_amazon.go:117-121 | selfservice/strategy/oidc/provider_uaepass.go:140-147 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/oidc/provider_amazon.go:117\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_amazon.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abfb6cff7705f3259313f5154cafa59821957ecd13391d1daa8c8c80d37ceaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): selfservice/strategy/oidc/strategy_login.go:590-594 | selfservice/strategy/oidc/strategy_registration.go:276-280 \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":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e615170e460ecc05c0d076340df8582a29af6822323fecf44734cbebf66ae0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): selfservice/strategy/passkey/passkey_login.go:205-209 | selfservice/strategy/webauthn/login.go:235-239 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/passkey/passkey_login.go:205\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":"selfservice/strategy/passkey/passkey_login.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad05eb30baf24b06d5df9d519ae84a8caa325105d84b5af4440d08a73ae0842f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): selfservice/strategy/passkey/passkey_login.go:293-297 | selfservice/strategy/totp/login.go:141-145 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/passkey/passkey_login.go:293\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: \u0060selfservice/strategy/totp/login.go:141\u0060 is reached only past guards at line 103 (testing \u0060s.d\u0060) and line 116 (testing \u0060s.d\u0060) that each leave the function early, and \u0060selfservice/strategy/passkey/passkey_login.go:293\u0060 reads \u0060s.d\u0060 with no such check. What separates these copies is not which lines they run but which PRECONDITION they enforce, so one of them is operating on state the other one refuses. Decide which is intended BEFORE unifying them \u2014 extract the shared part and whichever copy is missing the check keeps running unchecked, and if the guard is the correct behaviour then that hole is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/passkey/passkey_login.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"9348f921d530e93b1aef4981927517494a9149ccae9287396a8023435854e864"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): selfservice/strategy/passkey/passkey_settings.go:381-385 | selfservice/strategy/webauthn/settings.go:296-300 \u2014 \u0060selfservice/strategy/passkey/passkey_settings.go\u0060 and \u0060selfservice/strategy/webauthn/settings.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 21 separate duplicated blocks between them, totalling at least 227 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d415841e4d35ba38f01793d8f1ffa59b7be96c52e87c6761cb1c7c96c9831b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 6): selfservice/strategy/idfirst/strategy_login.go:66-68 | selfservice/strategy/password/login.go:71-73 | selfservice/strategy/password/registration.go:103-107 | selfservice/strategy/profile/registration.go:267-269 | selfservice/strategy/totp/login.go:114-116 | selfservice/strategy/webauthn/registration.go:111-115 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/idfirst/strategy_login.go:66\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":"selfservice/strategy/idfirst/strategy_login.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d6d6537052781e8704c9b6adcf37b924800a3572e87be07b0cf1df114546e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): selfservice/strategy/lookup/settings.go:107-109 | selfservice/strategy/password/settings.go:84-88 | selfservice/strategy/totp/settings.go:91-95 \u2014 \u0060selfservice/strategy/lookup/settings.go\u0060 and \u0060selfservice/strategy/totp/settings.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 47 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/lookup/settings.go:107\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060selfservice/strategy/lookup/settings.go:110\u0060 calls \u0060handleSettingsError\u0060 and \u0060selfservice/strategy/totp/settings.go:95\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":"selfservice/strategy/lookup/settings.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"533c18070717aff1d894756e2ac4ff8a81252ba38e475a812aecaffef8376ebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): session/handler.go:340-344 | session/handler.go:581-585 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"session/handler.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edd9e67b9da5225d8342a4c3aa28499f923e543382caf47b28f46d1d29f69a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): session/handler.go:729-733 | session/handler.go:799-803 | session/handler.go:880-882 \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 \u0060session/handler.go:880\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"session/handler.go"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"d867b63a5d649d6c5558b925a603122bdd8355172a054994a1d8a5efd0010fc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): driver/registry_default.go:591-598 | oryx/cookiex/legacy_securecookie.go:35-42 \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":"driver/registry_default.go"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"142d2d68be0917d0f82a72e3b2f8477f8cb3ce1d9b129e4d41b568d9eef8d374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): identity/extension_recovery.go:90-99 | identity/extension_verification.go:122-131 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/extension_recovery.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b124804b97020c4b2bc49e8310f5558df7f6d31fcaf03f7de38a9892e27a9e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): identity/identity.go:185-191 | oryx/sqlxx/types.go:418-424 | oryx/sqlxx/types.go:453-459 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/identity.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba58aab3c9e7e33a5f71533c83ddacd90da913fbb08df03b047e52146781d334"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): oryx/httpx/transports.go:31-36 | pkg/testhelpers/session.go:270-275 \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":"oryx/httpx/transports.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7694f8bfd6ca4b4107079e45191c31b57c4854a6598213b96caea5f7f72b77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): oryx/sqlxx/types.go:238-246 | selfservice/flow/state.go:97-105 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/sqlxx/types.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de7e6834fb358b1fecc39a613d8243ce65e4bb320ce33dfebe4f08233d6ff07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): oryx/sqlxx/types.go:259-264 | selfservice/flow/state.go:118-123 \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":"oryx/sqlxx/types.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f27fb7d2c3d7c919f967730bba128b08ee61e93165183181026f2f6b0180a9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): oryx/sqlxx/types.go:340-346 | session/session.go:409-415 | session/session.go:430-436 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/sqlxx/types.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"563caa4d1cc681d972034ae89b469b0d0c6af08c18df44bb378aa11b89137978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): selfservice/flow/flow.go:32-38 | selfservice/flow/settings/strategy_helper.go:111-117 \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":"selfservice/flow/flow.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ec57677ce49195d8332ddd9b0a37c4bfe9602706e15e7ff630da6690dc01e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): selfservice/flow/login/flow.go:264-269 | selfservice/flow/registration/flow.go:219-224 | selfservice/flow/verification/flow.go:278-283 | selfservice/strategy/link/token_recovery.go:105-110 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/flow.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9438fa4773ac9e11171e6b9bf6bb23f6cc94f15a92d7e14d18a2d69c3758a2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): selfservice/flow/login/flow.go:300-308 | selfservice/flow/recovery/flow.go:301-309 | selfservice/flow/registration/flow.go:259-267 | selfservice/flow/settings/flow.go:224-232 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/flow.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"949c9825489e67ac98c41704e48088d0337f394fab5f28f484f7e7d82bcfbdb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): selfservice/flow/login/hook.go:77-83 | selfservice/flow/recovery/hook.go:43-49 | selfservice/flow/registration/hook.go:59-65 | selfservice/flow/settings/hook.go:124-130 | selfservice/flow/settings/hook.go:132-138 | selfservice/flow/verification/hook.go:43-49 \u2014 there are 6 copies across 5 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 6 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/hook.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7203d74aea4e92e466dcb5ee885d6714369bda0b0952da782cc45cc7ec52ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): selfservice/flow/recovery/flow.go:279-284 | selfservice/strategy/link/token_verification.go:81-86 \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":"selfservice/flow/recovery/flow.go"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55837560d07687b95f7b58b95be1a7e79d40ee90365c796797274374f52405a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): selfservice/strategy/code/code_login.go:68-73 | selfservice/strategy/code/code_recovery.go:99-104 | selfservice/strategy/code/code_registration.go:66-71 | selfservice/strategy/code/code_verification.go:64-69 \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 all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/code_login.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6586994ddc9247abdc74ee91b16a017d9f24d995610fce82cc6ef839be67f444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): selfservice/strategy/oidc/provider_discord.go:61-70 | selfservice/strategy/oidc/provider_patreon.go:73-82 \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":"selfservice/strategy/oidc/provider_discord.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfda25c1a8440b31475322b54fa8a7b7c49fd33c7c1900113ae590bfac27de96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): selfservice/strategy/oidc/provider_generic_oidc.go:77-85 | selfservice/strategy/oidc/provider_google.go:52-60 \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":"selfservice/strategy/oidc/provider_generic_oidc.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efdad262637135ef74d2a91a1d551d5d8cb2ef7b84382f504adef8244f11ed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): driver/registry_default.go:389-398 | driver/registry_default.go:456-464 | driver/registry_default_settings.go:83-91 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/registry_default.go"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5aca61a3c84fd1ab168e10d54b962d77d34e729f62079dc6ed6e8605b03ec3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): pkg/testhelpers/selfservice_recovery.go:80-88 | pkg/testhelpers/selfservice_settings.go:74-82 | pkg/testhelpers/selfservice_verification.go:172-180 \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 all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/selfservice_recovery.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"469736294e9389200daf4436a137d0e4123afe47f9fd077ff839c2bd0b5e9a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): selfservice/flow/flow_identity_schema.go:19-26 | selfservice/flow/state.go:108-115 \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":"selfservice/flow/flow_identity_schema.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b39e72080caabb575afd3acc12ab2878618e9370496abaad29d81722d72be0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): selfservice/flow/login/hook.go:393-405 | selfservice/flow/recovery/hook.go:122-134 | selfservice/flow/registration/hook.go:384-396 | selfservice/flow/verification/hook.go:86-98 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/hook.go"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"074389019e2f86e5ab3a4db8fa1445269301cb41c866ad952a5e546681460733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): selfservice/strategy/oidc/provider_apple.go:162-167 | selfservice/strategy/oidc/provider_google.go:77-82 \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":"selfservice/strategy/oidc/provider_apple.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"3041bc62d929b65e452225ea7ec5cc547005c8892b8c3682de9329972d10f5bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): text/message_system.go:6-15 | text/message_validation.go:16-25 \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":"text/message_system.go"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd538a508ca25ba9dd6dcc6a916c4db9767522cd1e0c2cae66e3b879bb8e41c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): x/require.go:14-18 | x/tests.go:14-18 \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":"x/require.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1aca12bfd66360e3566077900586c25681e650082a595aa66691ecfe5d88bda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3): persistence/sql/migrations/go/20251105000000000000_identity_id_not_null_fks.go:92-125 | persistence/sql/migrations/go/20251105000000000000_identity_id_not_null_fks.go:188-222 | persistence/sql/migrations/go/20251105000000000000_identity_id_not_null_fks.go:225-258 \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 \u0060persistence/sql/migrations/go/20251105000000000000_identity_id_not_null_fks.go:92\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/migrations/go/20251105000000000000_identity_id_not_null_fks.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc6836d310c0c77dcc0456a096d36a2428d9d2abaa60d743eb72be444094a6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 6): persistence/sql/migrations/go/20251105000000000000_identity_id_not_null_fks.go:29-51 | persistence/sql/migrations/go/20251105000000000000_identity_id_not_null_fks.go:67-89 | persistence/sql/migrations/go/20251105000000000000_identity_id_not_null_fks.go:104-125 | persistence/sql/migrations/go/20251105000000000000_identity_id_not_null_fks.go:163-185 | persistence/sql/migrations/go/20251105000000000000_identity_id_not_null_fks.go:200-222 | persistence/sql/migrations/go/20251105000000000000_identity_id_not_null_fks.go:237-258 \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 \u0060persistence/sql/migrations/go/20251105000000000000_identity_id_not_null_fks.go:29\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/migrations/go/20251105000000000000_identity_id_not_null_fks.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"389f6fb079991d0444992ec2b3903de40195d2887fdc54061dd2598da2a3732e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): persistence/sql/persister_courier.go:173-186 | persistence/sql/persister_login.go:80-90 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence/sql/persister_courier.go:173\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":"persistence/sql/persister_courier.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0ed547afa9b8a584c0fbaa0b89351c784d124b3e452f8428f28a8183c8f18d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cmd/daemon/serve.go:64-75 | cmd/daemon/serve.go:164-176 \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 \u0060cmd/daemon/serve.go:64\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":"cmd/daemon/serve.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74434d114990cdd4bc9ebcce1d4778cfb22c18e1f7c24b1671d12807018c53e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): persistence/sql/persister_session.go:497-515 | persistence/sql/persister_session.go:520-538 \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 \u0060persistence/sql/persister_session.go:497\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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_session.go"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"3156518d0d0157f56649b11233ecd6c4d1e9e62080049cc2bcb4f9d2fa116655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): persistence/sql/persister_sessiontokenexchanger.go:52-63 | persistence/sql/persister_sessiontokenexchanger.go:70-80 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_sessiontokenexchanger.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d424320047eabe8f045da528531a428fcf7b609ef5b8213db6b247d4f9c84b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cipher/aes.go:60-69 | cipher/chacha20.go:60-69 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cipher/aes.go:60\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":"cipher/aes.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"37dc2580e799ea0710eeed948c1bcbb31f19f6191771b8300e533f2a8e00d599"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): selfservice/strategy/link/sender.go:75-84 | selfservice/strategy/link/sender.go:133-142 \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 \u0060selfservice/strategy/link/sender.go:75\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060address\u0060 to \u0060\u0022Preparing recovery link.\u0022)\u0060 in one and \u0060\u0022Preparing verification link.\u0022)\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/link/sender.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"39714deb1a5a663481b22324538a9bb37cdd5dbb8922862ef5758bbdfc337944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): persistence/sql/persister_session.go:654-663 | persistence/sql/persister_session.go:674-683 \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 \u0060persistence/sql/persister_session.go:654\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_session.go"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddf07e3c90e3c904ea02950fb6c50549a15e312741f9870d8db520777bd903f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): persistence/sql/identity/persister_identity.go:1923-1931 | persistence/sql/identity/persister_identity.go:1950-1958 \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 \u0060persistence/sql/identity/persister_identity.go:1923\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":1923}}}],"partialFingerprints":{"codehealthFindingId/v1":"921a17ed3a77bb9862a1e9141584748649c06e7af81d46f23c7e19500396d5f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): oryx/pagination/parse.go:15-23 | oryx/pagination/parse.go:25-33 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/pagination/parse.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c7af701efdba933e41f87d2f7fb135dee4aba5044ef4074f8e919e15b84452"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): selfservice/strategy/oidc/provider_auth0.go:90-97 | selfservice/strategy/oidc/provider_dingtalk.go:90-96 | selfservice/strategy/oidc/provider_salesforce.go:90-97 \u2014 before extracting anything, compare \u0060selfservice/strategy/oidc/provider_auth0.go\u0060 and \u0060selfservice/strategy/oidc/provider_salesforce.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/oidc/provider_auth0.go:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_auth0.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"516307b78aac04179eed830928cbf37761008d7a2250aa5072a537c253f3860e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): courier/template/testhelpers/testhelpers.go:108-115 | courier/template/testhelpers/testhelpers.go:143-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 \u0060courier/template/testhelpers/testhelpers.go:108\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/template/testhelpers/testhelpers.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5552a092ce2415a3015d6fcd1ebf9e24d155b9f092a841dc448cc0bd5e58a65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): selfservice/strategy/oidc/provider_auth0.go:48-55 | selfservice/strategy/oidc/provider_gitlab.go:47-54 | selfservice/strategy/oidc/provider_salesforce.go:48-55 \u2014 before extracting anything, compare \u0060selfservice/strategy/oidc/provider_auth0.go\u0060 and \u0060selfservice/strategy/oidc/provider_salesforce.go\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 108 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_auth0.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ba10b75a1fad5fa49ac481051ae971474784bc398e003223b80c6d34639c51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): selfservice/strategy/passkey/passkey_settings.go:302-309 | selfservice/strategy/webauthn/settings.go:216-223 \u2014 \u0060selfservice/strategy/passkey/passkey_settings.go\u0060 and \u0060selfservice/strategy/webauthn/settings.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 21 separate duplicated blocks between them, totalling at least 227 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"selfservice/strategy/passkey/passkey_settings.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83b115701273439166f80db938c9a221ffabf5279032e6ea5774b588d75d230"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cmd/daemon/serve.go:108-115 | cmd/daemon/serve.go:193-200 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/daemon/serve.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2aa999ece42588baa31921b107584e4f505e1744f02662f7f9618ec49c12b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): selfservice/strategy/lookup/settings.go:123-129 | selfservice/strategy/passkey/passkey_settings.go:195-201 | selfservice/strategy/webauthn/settings.go:132-138 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/lookup/settings.go:123\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":"selfservice/strategy/lookup/settings.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa217ea121bbaf7dfbedd1f0c0e91588fe49f486c2bad132b8843441926df87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): persistence/sql/persister_sessiontokenexchanger.go:85-91 | persistence/sql/persister_sessiontokenexchanger.go:118-124 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_sessiontokenexchanger.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"673b2776d8e3c0f6bf185aad00e75f992e3b1f1564601a26d69faa0ba2443c93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): selfservice/strategy/lookup/login.go:95-101 | selfservice/strategy/password/login.go:56-62 | selfservice/strategy/totp/login.go:99-105 \u2014 \u0060selfservice/strategy/lookup/login.go\u0060 and \u0060selfservice/strategy/totp/login.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 46 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/lookup/login.go:95\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":"selfservice/strategy/lookup/login.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecba7245e960d3af4c4b76f07181c169a2b47341c7c7a663acd29ffb0888c217"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): oryx/decoderx/http.go:462-468 | oryx/decoderx/http.go:487-493 \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 \u0060oryx/decoderx/http.go:462\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":"oryx/decoderx/http.go"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc9a9f1e75bad910b73e438135b851957c8f9716613250b8e9420e3540547f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): persistence/sql/persister_session.go:42-46 | persistence/sql/persister_session.go:349-355 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_session.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9f6c2ff85b80439fd579df584bedf6d3aed686a24a364babc50ced6a05a19e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): selfservice/flow/recovery/handler.go:315-320 | selfservice/flow/settings/handler.go:503-508 | selfservice/flow/verification/handler.go:317-322 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/recovery/handler.go:315\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/recovery/handler.go"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b323aeeb1cf7227962e19baddac523600a28e10500f5f341daeb65341cbb1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): selfservice/flow/login/handler.go:773-778 | selfservice/flow/registration/handler.go:580-585 \u2014 \u0060selfservice/flow/login/handler.go\u0060 and \u0060selfservice/flow/registration/handler.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 35 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/login/handler.go:773\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/handler.go"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e47350fc5fc291412bad5932f2dc7869b3084e747ca30c41b3310539ece5eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): selfservice/strategy/passkey/passkey_registration.go:98-103 | selfservice/strategy/password/registration.go:197-202 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/passkey/passkey_registration.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"35709a691c26feb3b7044ec9c7085d65966cc6f0dbb562597b6e8553d7bec269"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): selfservice/hook/session_destroyer.go:40-45 | selfservice/hook/session_destroyer.go:49-54 \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 \u0060selfservice/hook/session_destroyer.go:40\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/session_destroyer.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d665cce19b88399e0e47cd5e7dbf44e6f45182b10ebb1549c51c6a9da907f518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): selfservice/strategy/oidc/provider_vk.go:65-70 | selfservice/strategy/oidc/provider_yandex.go:63-68 \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":"selfservice/strategy/oidc/provider_vk.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a70c7ebcc4b5bc5449019e95d520c1311f898124dad06deb1f3c5f9a6be1c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): persistence/sql/persister_login.go:24-29 | persistence/sql/persister_registration.go:21-26 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_login.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bfe0bdfd6bfa714dd05ec316137780c239d117d085180e20db08d909de2a35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): selfservice/strategy/oidc/strategy_login.go:471-476 | selfservice/strategy/password/login.go:53-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fddeb0818873a63f0a139279b43e4e3d568d433ffe611e5a762e950bc17eba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): persistence/sql/persister_recovery.go:50-55 | persistence/sql/persister_verification.go:49-54 \u2014 before extracting anything, compare \u0060persistence/sql/persister_recovery.go\u0060 and \u0060persistence/sql/persister_verification.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060persistence/sql/persister_recovery.go:50\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_recovery.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"577117265db2cb9b8bbe7ee38af87557c231bc779c66309e75dc394e37e71c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/testhelpers/selfservice.go:41-46 | pkg/testhelpers/selfservice.go:49-54 \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 \u0060pkg/testhelpers/selfservice.go:41\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 before the matched lines, \u0060pkg/testhelpers/selfservice.go:47\u0060 calls \u0060MustSet\u0060 and \u0060pkg/testhelpers/selfservice.go:39\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":"pkg/testhelpers/selfservice.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92ce4526f01a42dfddd1779ab63446f128ec6092f42f1be7e98765c3932e5eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): selfservice/hook/web_hook.go:257-262 | selfservice/hook/web_hook.go:273-278 | selfservice/hook/web_hook.go:290-295 \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 \u0060selfservice/hook/web_hook.go:257\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/web_hook.go"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"117e74d250e68abba16616009248527a1702677f9bf5cba3e93c2186ba2e6c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): selfservice/flow/registration/error.go:102-106 | selfservice/flow/verification/error.go:76-80 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/registration/error.go:102\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060selfservice/flow/registration/error.go:108\u0060 calls \u0060As\u0060, \u0060NewDuplicateCredentialsError\u0060 and \u0060selfservice/flow/verification/error.go:82\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":"selfservice/flow/registration/error.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae7356c09f74701c410a6ced67cd4c5f4dc9bba6a63087e98567b8da0324635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/registrationhelpers/helpers.go:428-432 | pkg/registrationhelpers/helpers.go:435-439 \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 \u0060pkg/registrationhelpers/helpers.go:428\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/registrationhelpers/helpers.go"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51d86df8789ed23b310591fd35573344137dc7ee20991b2d6075f2bd0950ea6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): selfservice/strategy/code/strategy_verification.go:417-423 | selfservice/strategy/code/strategy_verification.go:445-451 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_verification.go"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60b52a54bc52e6af6d2b63fb4f2159023d8ec1729d83a4766dd555f75074874"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): selfservice/flow/recovery/handler.go:292-296 | selfservice/flow/verification/handler.go:294-298 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/flow/recovery/handler.go:292\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":"selfservice/flow/recovery/handler.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b3407e76bd604046795857f5132d7e10152c583ca56a19a77ffd5054a500e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/registrationhelpers/helpers.go:393-397 | pkg/registrationhelpers/helpers.go:402-406 \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 \u0060pkg/registrationhelpers/helpers.go:393\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/registrationhelpers/helpers.go"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe6012e60f4c803c011ba0efd178016c7382a5f408717b171b76a47971fc1d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/registrationhelpers/helpers.go:128-132 | pkg/registrationhelpers/helpers.go:140-144 \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 \u0060pkg/registrationhelpers/helpers.go:128\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/registrationhelpers/helpers.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52d1549f64282b6b97c395f40acaca2039c8b684003b620a342c1cece3b9d16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): corpx/faker.go:41-51 | corpx/faker.go:92-102 \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 \u0060corpx/faker.go: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"corpx/faker.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c689d027f809588f6d87c0353097b1b4a58705ef1bc1c3d3b7801ead393e2e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): identity/manager.go:570-574 | identity/manager.go:592-596 \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 \u0060identity/manager.go:570\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/manager.go"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cb9253dc31dd2d1488c8ff838e0d53a68a400a4cad8a95db655b6d228204c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): pkg/registrationhelpers/helpers.go:308-312 | pkg/registrationhelpers/helpers.go:357-361 | pkg/registrationhelpers/helpers.go:385-389 \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 \u0060pkg/registrationhelpers/helpers.go:308\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":"pkg/registrationhelpers/helpers.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"065c2b6d672024f4ba2b92d7090a39645f272f5a9dbfd971f096578a3fa524fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): selfservice/strategy/lookup/login.go:167-171 | selfservice/strategy/passkey/passkey_login.go:293-297 | selfservice/strategy/totp/login.go:141-145 \u2014 \u0060selfservice/strategy/lookup/login.go\u0060 and \u0060selfservice/strategy/totp/login.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 46 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/lookup/login.go:167\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":"selfservice/strategy/lookup/login.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2ee340a32a47d09d4bb9aa549a09f49bdb99fe560f500d6b5ebe2c35a8e742"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/registrationhelpers/helpers.go:256-260 | pkg/registrationhelpers/helpers.go:512-516 \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 \u0060pkg/registrationhelpers/helpers.go:256\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 before the matched lines, \u0060pkg/registrationhelpers/helpers.go:255\u0060 calls \u0060Run\u0060 and \u0060pkg/registrationhelpers/helpers.go:510\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":"pkg/registrationhelpers/helpers.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"641f731a2d1baec4771dc4b2c27e5c884eb372610690798a1e98b5b8faedd5b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): selfservice/strategy/code/strategy_recovery.go:831-835 | selfservice/strategy/link/strategy_recovery.go:501-505 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060selfservice/strategy/code/strategy_recovery.go:831\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":"selfservice/strategy/code/strategy_recovery.go"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"1841f47d632fa13eae52fcc331d83589ec23e6712ab76dfed7b8897047d67567"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): selfservice/strategy/code/strategy_registration.go:109-113 | selfservice/strategy/code/strategy_registration.go:127-131 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_registration.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae045b7bc4c39552b6d955d6776a5b50084406107d00080f721df1679ae226be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): selfservice/strategy/link/strategy_verification.go:308-312 | selfservice/strategy/link/strategy_verification.go:332-336 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/link/strategy_verification.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e26c4e4e403f3e49460287af5134f4c31a92782cdff50df1461d804eb8012ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): selfservice/strategy/oidc/strategy.go:515-519 | selfservice/strategy/oidc/strategy.go:537-541 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbb42470059614f131172e525a97a0687e97f4b0f58a7796a0a1c84ce7643c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): selfservice/strategy/oidc/strategy.go:529-533 | selfservice/strategy/oidc/strategy.go:545-549 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"6553e9376ae2b5b1738d5dfbd13405a073fe534a6e6bfa0c65e67b5c2e35077b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): session/handler.go:263-270 | session/handler.go:891-898 \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 \u0060session/handler.go:263\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"session/handler.go"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"e412bacb5dd754434dc336915ab393e5e491522b96c40d6889b0ab9a55fab6da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): session/handler.go:650-654 | session/handler.go:980-984 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"session/handler.go"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed70f5b1e2934831c3ce091b819cb1755c685487101669f9b0b17ccdd0a3705f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): examples/go/selfservice/recovery/main.go:19-39 | examples/go/selfservice/verification/main.go:19-39 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/go/selfservice/recovery/main.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"34713e9692d14629c15cdfe6ca47ef5cc41d2598a79eea3c0a7858d63894133e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): examples/go/selfservice/settings/main.go:35-48 | examples/go/selfservice/settings/main.go:50-65 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/go/selfservice/settings/main.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6110a3548d9a0e241753c451a4ac1dfb487c21e63ef56d35097702fe3c6be80d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): examples/go/identity/create/main.go:19-32 | examples/go/identity/update/main.go:19-31 \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":"examples/go/identity/create/main.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a274ee188471309dcada7b5a10badefe4372a549849d5379b259c0b4a2f74717"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/testhelpers/e2e_server.go:197-203 | pkg/testhelpers/e2e_server.go:217-223 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/e2e_server.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5a65aaa98f643220a2d1751dd717d69b42a9c321631b038b36de71270ca3e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): persistence/sql/batch/test_persister.go:74-79 | persistence/sql/batch/test_persister.go:89-94 \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 \u0060persistence/sql/batch/test_persister.go:74\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":"persistence/sql/batch/test_persister.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a55248789fbd92f782a1dd8d2b1e5c0f149a1662ad892744216d29b3d60e351"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: github.com/ory/x: github.com/ory/x: abstractness 0.15, instability 0.00, distance 0.85 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a7da80515084b2eb460b756cda87f546df5643bdd8c1629fbf27f68449efe17d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RegistryDefault (LCOM4 25): RegistryDefault\u0027s methods fall into 25 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 25 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/registry_default.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c23ab3c86da7c0de9282373295d3fe9dbbe19ef6b86b3ed7106487b7925d61"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Flow (LCOM4 4): Flow\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/recovery/flow.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e6bbdd61f1a7e3798ee99b0dd95463929c4780f42d3fb9c684e1234046931c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Flow (LCOM4 4): Flow\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/verification/flow.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c46e67e6bac559e791220195de2ca6708b89e8dfb94d08fb4d976543e09de0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ProviderApple (LCOM4 4): ProviderApple\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_apple.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"361dcb01eb02eb18511d359646e71b33a0733fb9d183b245d04d39a6aa78cd8b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Logger (LCOM4 4): Logger\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/logrusx/helper.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1b2c8f1fbb09b1219a0d1a6f7ac7c0367b7b3ffef28a7856a45139cc444d1b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/playwright/tests/desktop/regression/phone-normalization.spec.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"200ee885a43bbf57f63dbdf7c7f11c05f38bb207d79dfbeffe059dbfe39fd5ed"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: should not update the traits until the email has been verified and the old email has accepted the change: Skipped \u2014 switched off by xit"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/verification/settings/error.spec.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b179304cd60f73541e810ca7a255f7da85db6287c1e66373198017d1dd16eb61"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: should should be able to allow or deny (and revert?) the address change: Skipped \u2014 switched off by xit"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/verification/settings/success.spec.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8382f8f81366d610f0e1048a565dadf79600744f0d8e93a2c5673917b0d16bd0"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: sends the warning email on double sign up: Skipped \u2014 switched off by xit"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/verification/registration/success.spec.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"147b72b21c70936012df97ef02575acf6de4f7933095682cdd29e58387fd9313"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: should not show an immediate error when a recovery address already exists: Skipped \u2014 switched off by xit"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/recovery/settings/success.spec.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e43ed2ef4265f216cff40e6381094baed33c8ac7aae5cb428356cf21bd9a8a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: should use webauthn credential as passkey: Skipped \u2014 switched off by xit"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/passwordless/flows.spec.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d55e7de152ecaed2e519fd089f9f5bb9a12ea37cd58b261c27956defff14056"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: responds with a HTML response on link click of an API flow if the code is expired: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/verification/verify/errors.spec.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e8504761be22bad3b0b7e709dcd846a3d293164ce8c2611570b88b1f93d3d8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should redirect to return_to after completing verification: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/verification/verify/success.spec.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16c3f3802b4245a2942484a0c21e3a3b32b21a47078b0ac533c3d41e475cebb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: is unable to verify the email address if the code is no longer valid: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/verification/settings/error.spec.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b0be01f8846b1a02ec8da9936c329a0f06c4f87e14b54d2719283f94dd5932"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: is redirected to after_verification_return_to after verification: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/verification/registration/success.spec.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e62c549931fdc61525d23fc15c55032ad7a3f1c5a0c3b57c0250249fa7ea6d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: is redirected to \u0060return_to\u0060 after verification: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/verification/registration/success.spec.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cba42bd30129030fae687d06219a678a0eb9471d66e4802e86dff61fe403db6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should be able to sign up, sign out, and then sign in: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/oidc/login/success.spec.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7e4da601c096e7dbe14f448025d38d4a28d18047c4dd0e7e2b71d6f5e93a14"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should add passkey in settings after password registration: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/mobile/passkey/flows.spec.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5439d61da5d9e790f693bd6ed8df469e13dcc601d01973af6551b11c22763ed6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should allow changing other settings and then setting up totp: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/mfa/totp.spec.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"997a3d7f48d524277114fce279ba10c71c98b16a9eaed5c1b53e278aa6f22449"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: does not update without re-auth: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/email/settings/errors.spec.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40472db4d550da3b02d32b7c76cce4a95be84493bbd6ccccd874fc938285690"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: does not update data because resumable session was removed: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/email/settings/errors.spec.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd46fac04d0ef08c09b92e7ff83404aa7d2390ba51e9d126b11428c06d6fbe47"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fails when CSRF is incorrect: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/email/settings/errors.spec.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"345c1b3a799fea7926978978120cac120ea8c9adff3eaf210291a16f048a07a5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fails when a disallowed return_to url is requested: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/email/settings/errors.spec.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee857d9dbe664949c7d4b25013435b83c4be895bcd7774ac7e487202cc13c79"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: is unable to log in with the old password: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/email/settings/success.spec.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fc02afafe60b273331810f6b539a62d20fdb181254d9836415ac266e443a8d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: is unable to log in with the old email: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/email/settings/success.spec.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"630ed640c2df352965d1ea335f700fad897bca089af29ff6236522c4bccd0bab"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fails when a disallowed return_to url is requested: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/email/registration/errors.spec.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d4aa7b06c645c339e56324ee0b3ed62e2d954d31e5801ab57cad7053befe35"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fails when CSRF cookies are missing: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/email/login/error.spec.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"588317c5fa5e758e427ff79d55f7d92f4f40c6b74d4a7aace7b2502e828d0a88"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: fails when a disallowed return_to url is requested: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/email/login/error.spec.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"137d21eb7a7fe8feae414d71454eb8c385c774919ec175cdd37d4ce0cc600652"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated module: github.com/lestrrat-go/jwx: \u0060github.com/lestrrat-go/jwx\u0060 is required at v1.2.31 in go.mod, and its author has DEPRECATED the module: \u0022This version of github.com/lestrrat-go/jwx is deprecated. Please use github.com/lestrrat-go/jwx/v3 or newer instead.\u0022 A deprecation is declared by the author in the module\u0027s own go.mod and applies to the whole module, not to one release, so moving to a newer version of it does not clear this. Follow the replacement the notice names."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cab2fcb8d0fb143d85e2f724a224b47dcb621a89e072e3261de3332d131dcde2"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated module: github.com/lestrrat-go/jwx: \u0060github.com/lestrrat-go/jwx\u0060 is required at v1.2.31 in oryx/go.mod, and its author has DEPRECATED the module: \u0022This version of github.com/lestrrat-go/jwx is deprecated. Please use github.com/lestrrat-go/jwx/v3 or newer instead.\u0022 A deprecation is declared by the author in the module\u0027s own go.mod and applies to the whole module, not to one release, so moving to a newer version of it does not clear this. Follow the replacement the notice names."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d58385e40f24fd92333461160af1aeaef0c57d16182604171131ece6cce28204"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated module: github.com/lestrrat-go/jwx/v2: \u0060github.com/lestrrat-go/jwx/v2\u0060 is required at v2.1.1 in go.mod, and its author has DEPRECATED the module: \u0022github.com/lestrrat-go/jwx/v2 is no longer maintained. Use github.com/lestrrat-go/jwx/v4 or github.com/lestrrat-go/jwx/v3 instead.\u0022 A deprecation is declared by the author in the module\u0027s own go.mod and applies to the whole module, not to one release, so moving to a newer version of it does not clear this. Follow the replacement the notice names."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8a8f9f76c7c2c556d8495974b287ca6aef954935d0380361c6019359b6ca78ca"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated module: go.opentelemetry.io/otel/exporters/jaeger: \u0060go.opentelemetry.io/otel/exporters/jaeger\u0060 is required at v1.17.0 in oryx/go.mod, and its author has DEPRECATED the module: \u0022This module is no longer supported. OpenTelemetry dropped support for Jaeger exporter in July 2023. Jaeger officially accepts and recommends using OTLP. Use [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp] or [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc] instead.\u0022 A deprecation is declared by the author in the module\u0027s own go.mod and applies to the whole module, not to one release, so moving to a newer version of it does not clear this. Follow the replacement the notice names."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b16a7b61957503195738806cc373e62117e1e73563366014d94710c3fa97d229"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated module: go.opentelemetry.io/otel/exporters/zipkin: \u0060go.opentelemetry.io/otel/exporters/zipkin\u0060 is required at v1.44.0 in oryx/go.mod, and its author has DEPRECATED the module: \u0022The zipkin exporter is deprecated and will be removed in early 2027. See the blog post \u0022Deprecating Zipkin Exporter\u0022: https://opentelemetry.io/blog/2025/deprecating-zipkin-exporters/\u0022 A deprecation is declared by the author in the module\u0027s own go.mod and applies to the whole module, not to one release, so moving to a newer version of it does not clear this. Follow the replacement the notice names."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a1f4f54bc83b6530d288fc1965e224eb3ed8e43d1f4f5c3b3311cf6e2df92628"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/arbovm/levenshtein: Direct dependency \u0060github.com/arbovm/levenshtein\u0060 is required at \u0060v0.0.0-20160628152529-48b4e1c0c4d0\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2016-06-28, 10.4 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/arbovm/levenshtein\u0060 and has not moved this requirement in 10.4 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/arbovm/levenshtein\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"184939d4ee494de9872856a106601a3b14f467e44486f2d0dc5be9fc65622be0"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/davecgh/go-spew: Direct dependency \u0060github.com/davecgh/go-spew\u0060 is required at \u0060v1.1.2-0.20180830191138-d8f796af33cc\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2018-08-30, 8.2 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/davecgh/go-spew\u0060 and has not moved this requirement in 8.2 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/davecgh/go-spew\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2bb8c6d80b56888e83f1e40106647202a202f2f81695ac44c7eeafe54ef5a4f0"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/golang/gddo: Direct dependency \u0060github.com/golang/gddo\u0060 is required at \u0060v0.0.0-20190904175337-72a348e765d2\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2019-09-04, 7.2 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/golang/gddo\u0060 and has not moved this requirement in 7.2 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/golang/gddo\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1e28620c68e85abb4be45b57595591e478e79954ae6e45c97f8be9d58eea12de"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/inhies/go-bytesize: Direct dependency \u0060github.com/inhies/go-bytesize\u0060 is required at \u0060v0.0.0-20220417184213-4913239db9cf\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2022-04-17, 4.6 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/inhies/go-bytesize\u0060 and has not moved this requirement in 4.6 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/inhies/go-bytesize\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7435fd79dbd8b764f1b51383ff0d3f8c2a07783f7e04f8069b931966ad39f11b"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/mohae/deepcopy: Direct dependency \u0060github.com/mohae/deepcopy\u0060 is required at \u0060v0.0.0-20170929034955-c48cc78d4826\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2017-09-29, 9.1 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/mohae/deepcopy\u0060 and has not moved this requirement in 9.1 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/mohae/deepcopy\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a101e47fcba25cc9a268b2472de26492c04d5f573c0bc5797318c6e7ed1b66fd"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/ory/graceful: Direct dependency \u0060github.com/ory/graceful\u0060 is required at \u0060v0.1.4-0.20230301144740-e222150c51d0\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2023-03-01, 3.7 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/ory/graceful\u0060 and has not moved this requirement in 3.7 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/ory/graceful\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"26675985b46b8cce8009798e69b92448b41e523173a0f9d88411141854db11e3"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/phayes/freeport: Direct dependency \u0060github.com/phayes/freeport\u0060 is required at \u0060v0.0.0-20220201140144-74d24b5ae9f5\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2022-02-01, 4.8 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/phayes/freeport\u0060 and has not moved this requirement in 4.8 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/phayes/freeport\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"85893f58acccf671fb23ca2f35c8c79e98fe14cbeb6cb085d61793bb1da9c213"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/ian-kent/go-log: Direct dependency \u0060github.com/ian-kent/go-log\u0060 is required at \u0060v0.0.0-20160113211217-5731446c36ab\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2016-01-13, 10.8 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/ian-kent/go-log\u0060 and has not moved this requirement in 10.8 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/ian-kent/go-log\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"71df5baafdf55184a4f773213e4335d798fc2b41bbfef2bffdf3b859aac65ae0"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/inhies/go-bytesize: Direct dependency \u0060github.com/inhies/go-bytesize\u0060 is required at \u0060v0.0.0-20220417184213-4913239db9cf\u0060 in oryx/go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2022-04-17, 4.6 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/inhies/go-bytesize\u0060 and has not moved this requirement in 4.6 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/inhies/go-bytesize\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ec1f3c0bb1422d9642ccd3c5b09a5c006b6b3c6ff03b67f7ae6b23fae8d3e08f"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/mohae/deepcopy: Direct dependency \u0060github.com/mohae/deepcopy\u0060 is required at \u0060v0.0.0-20170929034955-c48cc78d4826\u0060 in oryx/go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2017-09-29, 9.1 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/mohae/deepcopy\u0060 and has not moved this requirement in 9.1 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/mohae/deepcopy\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"852bf7d5f63a3c9424b78f61d210fa7473c78db1d41bcbc2699dc6ab476c4d39"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/seatgeek/logrus-gelf-formatter: Direct dependency \u0060github.com/seatgeek/logrus-gelf-formatter\u0060 is required at \u0060v0.0.0-20210414080842-5b05eb8ff761\u0060 in oryx/go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2021-04-14, 5.6 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/seatgeek/logrus-gelf-formatter\u0060 and has not moved this requirement in 5.6 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/seatgeek/logrus-gelf-formatter\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2726a2a8688e48dd0a0eba63946cc7bf32bdaa7fd7362a32ed0035b341293fe0"}},{"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":"b9c09410519956d2fe4e26851aee1c2530dc4e38bd7e372a6ec0ec719eb75c25"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba3e95288b4a965d6f87823f60619d57c494d392a1a92e154cf23ac07ebfac22"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"270f7c543b66b049af086a77f790543da88e983d5befa105838b3c115ffae583"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c3bfa43c5b102474d656faa8f8e3616efccd27d7ad490a0434a296bd2c07da6"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09f1c424855876a02dba315e509e19f52766b843e290bf8fc9bbbcc8f686601d"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7848476da103bf123f341c0461f0d12e42138a38c3eb472bff36aa4e13a98388"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8fb51d27efab77feb6bc7e824ab2659bf5eb058e9e4fe5c4b83994b41bbd9672"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e70709036b9dfa923ba087b825df8aa8b30baab36acfafc6d67ae56a63ebe82"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: persistence/sql/identity/persister_identity.go: persistence/sql/identity/persister_identity.go changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in IdentityPersister.ListIdentities at line 1126. 3 of those changes were fix/bug commits, and the other 11 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-04-30..2026-07-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-30 09:30:36 \u002B00:00\u0027 --until=\u00272026-07-29 09:30:36 \u002B00:00\u0027 --full-history --no-merges -- persistence/sql/identity/persister_identity.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/identity/persister_identity.go"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"664cda91a1aefd06492cbb322ff0767b5d95dd7690acaf0ad5aea4656888d66d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: oryx/popx/migrator.go: oryx/popx/migrator.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in MigrationBox.UpTo at line 127. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-04-30..2026-07-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-30 09:30:36 \u002B00:00\u0027 --until=\u00272026-07-29 09:30:36 \u002B00:00\u0027 --full-history --no-merges -- oryx/popx/migrator.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/popx/migrator.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefe0a7eaeb9322fb5b6dd738626eec61cc4a0b896124a6af420f6c5632cb2dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: selfservice/hook/verify_new_address.go: selfservice/hook/verify_new_address.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in VerifyNewAddress.execute at line 72. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-04-30..2026-07-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-30 09:30:36 \u002B00:00\u0027 --until=\u00272026-07-29 09:30:36 \u002B00:00\u0027 --full-history --no-merges -- selfservice/hook/verify_new_address.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/verify_new_address.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7305b749925cd1d7dde000df32cd8236d11636d63b2eeaae6e47d68a9488bf58"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: selfservice/flow/login/handler.go: selfservice/flow/login/handler.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in Handler.NewLoginFlow at line 148. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-04-30..2026-07-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-30 09:30:36 \u002B00:00\u0027 --until=\u00272026-07-29 09:30:36 \u002B00:00\u0027 --full-history --no-merges -- selfservice/flow/login/handler.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/handler.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e13c97cbbaa694b0488b1232c0094d6d39883374398bfae2399df3e21e12cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: selfservice/strategy/code/strategy.go: selfservice/strategy/code/strategy.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in Strategy.populateChooseMethodFlow at line 250. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-04-30..2026-07-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-30 09:30:36 \u002B00:00\u0027 --until=\u00272026-07-29 09:30:36 \u002B00:00\u0027 --full-history --no-merges -- selfservice/strategy/code/strategy.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"86df7a20e9f6304c81ac00fdd58cbe32292c2cabae6edcc37842065950054c0e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: oryx/popx/transaction.go: oryx/popx/transaction.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in popx.TransactionWithOptions at line 46. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-04-30..2026-07-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-30 09:30:36 \u002B00:00\u0027 --until=\u00272026-07-29 09:30:36 \u002B00:00\u0027 --full-history --no-merges -- oryx/popx/transaction.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/popx/transaction.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7621860bb709c1a147322b7a931aa3b58962c2e85f2b277151c2f1e5168836d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: selfservice/strategy/oidc/strategy.go: selfservice/strategy/oidc/strategy.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in Strategy.HandleCallback at line 476. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-04-30..2026-07-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-30 09:30:36 \u002B00:00\u0027 --until=\u00272026-07-29 09:30:36 \u002B00:00\u0027 --full-history --no-merges -- selfservice/strategy/oidc/strategy.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"a875264871c7f223aead8b570c1dcceb301eb57a54cd4ebaaaa1519e8a7308f1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: selfservice/strategy/oidc/strategy_login.go: selfservice/strategy/oidc/strategy_login.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in Strategy.Login at line 469. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-04-30..2026-07-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-30 09:30:36 \u002B00:00\u0027 --until=\u00272026-07-29 09:30:36 \u002B00:00\u0027 --full-history --no-merges -- selfservice/strategy/oidc/strategy_login.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"698e1861f6246d62157d952c8281e5788a55b9c158c7c23b7acd04642e4a0f8e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: selfservice/strategy/code/strategy_recovery.go: selfservice/strategy/code/strategy_recovery.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in Strategy.Recover at line 162. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-04-30..2026-07-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-30 09:30:36 \u002B00:00\u0027 --until=\u00272026-07-29 09:30:36 \u002B00:00\u0027 --full-history --no-merges -- selfservice/strategy/code/strategy_recovery.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_recovery.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2833cfec038d16e4eeb6ea16532d22b97987d4b6c1dac62e746f70d2f4b95f98"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: selfservice/flow/settings/hook.go: selfservice/flow/settings/hook.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in HookExecutor.PostSettingsHook at line 187. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-04-30..2026-07-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-30 09:30:36 \u002B00:00\u0027 --until=\u00272026-07-29 09:30:36 \u002B00:00\u0027 --full-history --no-merges -- selfservice/flow/settings/hook.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/settings/hook.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f4d38646221e54fd262e24c472385c89cb0e938f1e2d31f6b93c73708d6228"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: selfservice/flow/registration/hook.go: selfservice/flow/registration/hook.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in HookExecutor.PostRegistrationHook at line 117. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-04-30..2026-07-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-30 09:30:36 \u002B00:00\u0027 --until=\u00272026-07-29 09:30:36 \u002B00:00\u0027 --full-history --no-merges -- selfservice/flow/registration/hook.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/registration/hook.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8651d8f1c40a6b431278255c8b90ee0bee5d3b243fcfa8a23da474f4f07e9893"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: selfservice/flow/registration/handler.go: selfservice/flow/registration/handler.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Handler.NewRegistrationFlow at line 135. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-04-30..2026-07-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-30 09:30:36 \u002B00:00\u0027 --until=\u00272026-07-29 09:30:36 \u002B00:00\u0027 --full-history --no-merges -- selfservice/flow/registration/handler.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/registration/handler.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0652190b5c3a4cb17f6bf9bf7b43d996f04bc49e694c723fe032c7d125d79606"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: selfservice/strategy/code/code_sender.go: selfservice/strategy/code/code_sender.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Sender.SendCode at line 74. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-04-30..2026-07-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-30 09:30:36 \u002B00:00\u0027 --until=\u00272026-07-29 09:30:36 \u002B00:00\u0027 --full-history --no-merges -- selfservice/strategy/code/code_sender.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/code_sender.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcaa5b18747b4185cb5785f60ec4f7afcb0f9fb00aae1fcefe6bcc339b64c239"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: selfservice/hook/verification.go: selfservice/hook/verification.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Verifier.do at line 104. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-04-30..2026-07-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-30 09:30:36 \u002B00:00\u0027 --until=\u00272026-07-29 09:30:36 \u002B00:00\u0027 --full-history --no-merges -- selfservice/hook/verification.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/verification.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fe8c63f93b337bcf79f4b0083afb105ba861564e4eb2b3e3ab5e25bbbdc69f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: selfservice/strategy/code/strategy_verification.go: selfservice/strategy/code/strategy_verification.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Strategy.verificationHandleFormSubmission at line 200. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-04-30..2026-07-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-30 09:30:36 \u002B00:00\u0027 --until=\u00272026-07-29 09:30:36 \u002B00:00\u0027 --full-history --no-merges -- selfservice/strategy/code/strategy_verification.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_verification.go"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e739700a1cb4364df6d9d9e4c48a5cd673f8af0bb2431a4afa7e7f1fcd472e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: courier/email_templates.go: courier/email_templates.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in courier.NewEmailTemplateFromMessage at line 37. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-04-30..2026-07-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-30 09:30:36 \u002B00:00\u0027 --until=\u00272026-07-29 09:30:36 \u002B00:00\u0027 --full-history --no-merges -- courier/email_templates.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/email_templates.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa21b4d8abae40b160d9adadf9e4b7c765a21e0c85f2aad28138dfc38f80485"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: driver/registry_default_hooks.go: driver/registry_default_hooks.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in driver.getHooks at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-04-30..2026-07-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-30 09:30:36 \u002B00:00\u0027 --until=\u00272026-07-29 09:30:36 \u002B00:00\u0027 --full-history --no-merges -- driver/registry_default_hooks.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/registry_default_hooks.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3dd2d52c948ad8ff59dcd30831481ef724c7fea556008aa75f4aafc66038e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: selfservice/hook/require_verified_address.go: selfservice/hook/require_verified_address.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in AddressVerifier.ExecuteLoginPostHook at line 59. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-04-30..2026-07-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-30 09:30:36 \u002B00:00\u0027 --until=\u00272026-07-29 09:30:36 \u002B00:00\u0027 --full-history --no-merges -- selfservice/hook/require_verified_address.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/require_verified_address.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"775a1a0c95e49b382e0fd33d0752e1a63beff7fa49f51f34cd2710f65882c9a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: selfservice/strategy/passkey/passkey_schema_extension.go: selfservice/strategy/passkey/passkey_schema_extension.go changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is Strategy.PasskeyDisplayNameFromSchema at line 77), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: skip passkey method on registration when identity schema lacks a display name trait\u201D; \u201Cfix: keep first non-empty trait when resolving display name\u201D; \u201Cfix: support multiple display-name traits in identity schemas\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-04-30..2026-07-29, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-30 09:30:36 \u002B00:00\u0027 --until=\u00272026-07-29 09:30:36 \u002B00:00\u0027 --full-history --no-merges -- selfservice/strategy/passkey/passkey_schema_extension.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/passkey/passkey_schema_extension.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf8846f95e4721613178b78e88550313b9878e68279a1647385cbfafcf40e1e"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 5 significant file(s) lose their only recent owner: identity/validator.go, selfservice/flow/login/test_handler.go, schema/prevalidate.go, x/normalize.go, schema/loader.go. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f22733e6594ed8a92d5465f730b508c7461fffa2ab508054ba31ec8833e85a2"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 4 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 (11 single-owned of 322 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; 322 of the 706 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (2 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (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: oryx/proxy/proxy.go, cmd/identities/get.go, oryx/cmdx/printing.go, oryx/pagination/paginationplanner/planner.go, oryx/sqlxx/sqlxx.go, selfservice/strategy/oidc/provider_jackson.go."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME https://github.com/ory/kratos/issues/1316"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/container/container_test.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd216f01bd444f505255310dc2b503f90aa3fe6022bc191cfae03ca3414c6add"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME https://github.com/ory/kratos/issues/1316"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/container/container_test.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb725c822b86d06b5135298b8c4838fef3a54e23bbf4d5092718813d4aa2b76"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // This is required, because OIDC issues a new session on refresh (TODO), and MySQL does not store sub second timestamps, so we need to wait a bit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/playwright/tests/desktop/identifier_first/oidc.login.spec.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b89c377a212d7777124bcef61e60cd9e1a202f8cf660f48778c0973a8fbd1c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME https://github.com/ory/kratos/issues/292"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/verification/settings/error.spec.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"77483cfadb67cf90fd0ef744bcc1692db09b07c92617df1e0a200ba1f7a913a3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME https://github.com/ory/kratos/issues/292"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/verification/settings/success.spec.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"98116a3c15162ce204abede41f8ae9269f23082841c9137d2e11924f5d48886d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME https://github.com/ory/kratos/issues/133"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/integration/profiles/verification/registration/success.spec.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f226e9cb2ea6a8ab1f4e87680d90aa0fc10effd7a6f2866b5391b1e8a0fd231"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME In this scenario we are on the first step of the registration flow and the user clicked on \u0022continue\u0022. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/profile/registration.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92708fcbdcbd090d277430c5c31d0d9bfd197d6e77e9a549401f58c3c5a15b3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME The appropriate solution would be to also have \u0060screen=credential-selection\u0060 available, but that \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/profile/registration.go"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"430834dc14de1e9fa3ac04ac735cf433d70369a8e425f9337ae107f22bd573e6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME is not the case right now. So instead, we fall back. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/profile/registration.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"517569b915c0eb7d1768e2e22dff38574ff1eb620d65a76e7556da208f43809d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME remove this at some point. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/profile/registration.go"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1324f32213cec5e6fbe23ad3a3312ad99c4c19cd893a891492c5bcfb3693dbd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // node.WithInputAttributes(func(a *node.InputAttributes) { // TODO: https://github.com/ory-corp/cloud/issues/12416"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/password/login.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccf9e5607a8ba29fdc066a54667141b1e51c47ecc0cbb2884fbd4382c7393e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/ory-corp/cloud/issues/12416"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/password/login_autocomplete_test.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"75285f32b16797010548a0970124e6d45f4f9427249ed229c8e97db73bdf368d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove me when everyone has migrated. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/password/registration.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"1884b082f0c258e52a95ee29721cc88d5a51092e03fe204766a9e08957f402f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO end \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/password/registration.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd35a4880554f3bcaf290885d875a7ce27c676e2763136e5d77c266cd3665f18"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this can likely be abstracted by making templates not specific to the channel they\u0027re using \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/code_sender.go"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e6f14750b3341de831a0af6805b54839c4012d4e1300316a2224b4dc0823c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Remove this normalization once the via parameter is deprecated. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy.go"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"192ea09105455bf561bc8a1fd388fcca384db13cc1fb032f661d81680001c255"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this section should be removed at some point when we are sure that all identities have a code credential. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_login.go"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fcfa49d12ec5934c979e51a7fecad6297f7d91e24f989185ed04ade0a717d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: In the future, we might want to redirect to a custom URI scheme here, to allow to open an app on the device of \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_verification.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5bbdba57264a5ddb8b998e2fe814b5df65bd2551e441a03fb99eca0b304504"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove once flag is removed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/require_verified_address.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b280f888cf4345cd8bb5b209475d64f177e6452b702477355c0082c5a266af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove once flag is removed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/require_verified_address.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"210c130d4594cb5c715a84f151785fe81fa7c0fd532634573e93c274ea6040a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // END TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/require_verified_address.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f428b2d6c9d2dbe1325a23475065954fba364887b08ab2eda7b3a53548f39b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // END TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/require_verified_address.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6608819ed4feba73225819301286924f8861ace8598434b6a53ad1d3e5d926"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO This is a fallback for flows that do not have the appropriate internalContext yet. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/show_verification_ui.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e645de6f94d86f54696fdfe4a14e9cc908d197180f9dffb2495af6650929d60"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is pretty ugly, we should probably have a better way to handle CSRF tokens here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/verification.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cacf47b82334979398218a598e2303fea4656683325ea93559cec0ffcae5e4f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@alnr): improve this implementation to redact sensitive data \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/web_hook.go"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac07f5f976efc6c8ec65fe3b0112c04e639320484648c47daead2fe0aa752c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@alnr): redact sensitive data \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/web_hook.go"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9e91101e3b843764df40742d7d764b23af099deff6e5e7b258d3bfea7823ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@alnr): redact sensitive data \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/web_hook.go"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59f4cd1be19e97416a2fc7946076e58e441eb7672c8428fb11f7b665a370978"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This error could be enhanced by providing a \u0022flow class\u0022 (e.g. \u0022Recovery\u0022, \u0022Settings\u0022, \u0022Verification\u0022, \u0022Login\u0022, etc.) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/error.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c826aa420596a9ea0494e044d4764dc5970915ac83decadfb30a11ea4cc1e0d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jonas): We can likely drop the identity id column entirely, since the session\u0027s identity is always loaded and we check the ID matches here. This would simplify the schema and remove a potential source of FK inconsistency. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/settings/hook.go"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4d8e21b415fa23e3e9b3e78ba24983cd062161f934f0f040c77daab4abcdc0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: pointer aliasing could cause issues if a downstream hook implementation modifies the identity in-place instead of treating it as immutable. We should either enforce immutability or document this behavior. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/settings/hook.go"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d4bd21a40fbca128d87b38a168772ef8f2a461f67d5aeed0adc83d72972e28"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jonas): This should actually use the \u0060organization.via\u0060 field of the identity schema. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/settings/organizations.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"db319b4f1a58768df85c4a796f687018855b43b1eb903fa605c04bac1545201b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add more test cases. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/registration/sort_test.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c117ca12d540596a5c7987499fa5d80d14c5df68e699bd0661535bf1811ba30"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add deprecation warning \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"request/auth.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0259d274e0357b23112055e40ca429f2add42ed3e0de4bb82b248af2a738aa"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hacky but should silence most MailHog logs during tests \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/mailhog.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f170b59e312b4957db2d48a2549fed8350a2aed3c5704574a24959d7a71443b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO implement me \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_hmac_test.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9642a71cab9221e77d09a41e3658273c447b03bc9851c2ea7682468f6e0f8974"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jonas): We could do this on the SQL level with an ON CONFLICT DO UPDATE, but that would require a more complex query and we want to keep the logic in Go for better observability and error handling. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_pending_traits_change.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9828e427bf55ade5182e7f21010fdbf17fa411ae9299c097bf1981849dd5d9c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME needs optimising, or replacing with a proper db! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/mailhog/memory.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a0b4214280961058d4a22913215aa1613cb81528606991bae96ae6d733f248"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO No OS limit for now. Apparently there is a Windows-specific equivalent (Job control)? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/jsonnetsecure/limit_windows.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c1265fe241c5d06917f816756a47f1081556e14b3c2080e0ed80acb49fb81c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: legacyAllowInsecureOrigins grandfathers a fixed set of projects through \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/corsx/check_origin.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f368f08c2133a00b8f560534d050319ccf9227bce115be693d663fbcd04a0e5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jonas): Used only for SDK compatibility. We should refactor all the places that use \u0022CredentialType\u0022 as a method identifier (flow.Active fields, etc.) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/credentials.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c3d02bfd593781dff18680e865a9d6a36b058b709c3d382067502128f45450"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO refactor this test to be parallelizable once we rewrite the server setup to be properly testable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/daemon/serve_test.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"714e85dce51189d86e52faa77ea7bb84071dad022d81858c82cb8e4767a614b5"}},{"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 \u0060main.go\u0060 makes this repository a deployable product (line 5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a3e98f9a3db0a104ca87a623a16ba8fc33487b53a279d445cb50087c399a8a"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060writeMessagesJson\u0060 spells \u0060Json\u0060 where 84 names in the project spell it \u0060JSON\u0060: 84 of 86 names in project github.com/ory/kratos spell the token \u0060JSON\u0060 (84 of 86; unit: names in project github.com/ory/kratos containing \u0060JSON\u0060). Peers: MessageStatus.MarshalJSON (courier/message.go:78); MessageStatus.UnmarshalJSON (courier/message.go:85); MessageType.MarshalJSON (courier/message.go:148); MessageType.UnmarshalJSON (courier/message.go:155); AuthenticatorKeyAdded.MarshalJSON (courier/template/email/authenticator_key_added.go:49). Rename to \u0060writeMessagesJSON\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clidoc/main.go"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"230ad29fbe24a7cc0b5f15fea8062ea4e91c9e4ebaf685ca7f98c2b806b0ed52"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060newHttpChannel\u0060 spells \u0060Http\u0060 where 31 names in the project spell it \u0060HTTP\u0060: 31 of 33 names in project github.com/ory/kratos spell the token \u0060HTTP\u0060 (31 of 33; unit: names in project github.com/ory/kratos containing \u0060HTTP\u0060). Peers: config.ViperKeyCourierHTTPRequestConfig (driver/config/config.go:77); config.ViperKeyClientHTTPNoPrivateIPRanges (driver/config/config.go:210); config.ViperKeyClientHTTPPrivateIPExceptionURLs (driver/config/config.go:211); Config.ClientHTTPNoPrivateIPRanges (driver/config/config.go:681); Config.ClientHTTPPrivateIPExceptionURLs (driver/config/config.go:685). Rename to \u0060newHTTPChannel\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/http_channel.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"059cc1d014c599d2f408432401951075ec930f5c8914e9dfab72cb08d6d9288a"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060formatJsonErrors\u0060 spells \u0060Json\u0060 where 84 names in the project spell it \u0060JSON\u0060: 84 of 86 names in project github.com/ory/kratos spell the token \u0060JSON\u0060 (84 of 86; unit: names in project github.com/ory/kratos containing \u0060JSON\u0060). Peers: MessageStatus.MarshalJSON (courier/message.go:78); MessageStatus.UnmarshalJSON (courier/message.go:85); MessageType.MarshalJSON (courier/message.go:148); MessageType.UnmarshalJSON (courier/message.go:155); AuthenticatorKeyAdded.MarshalJSON (courier/template/email/authenticator_key_added.go:49). Rename to \u0060formatJSONErrors\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/config/config.go"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"563028086c01ef76072b0a2920a7a79651c4fb0c0d65cb810889f1b4aa6a3c3e"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060ToUiNodeGroup\u0060 spells \u0060Ui\u0060 where 58 names in the project spell it \u0060UI\u0060: 58 of 59 names in project github.com/ory/kratos spell the token \u0060UI\u0060 (58 of 59; unit: names in project github.com/ory/kratos containing \u0060UI\u0060). Peers: config.ViperKeyUseLegacyShowVerificationUI (driver/config/config.go:109); config.ViperKeySelfServiceRegistrationUI (driver/config/config.go:126); config.ViperKeySelfServiceLoginUI (driver/config/config.go:130); config.ViperKeySelfServiceErrorUI (driver/config/config.go:137); config.ViperKeySelfServiceRecoveryUI (driver/config/config.go:150). Rename to \u0060ToUINodeGroup\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/credentials.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc30e5e853429e923c46789d8e72241ad6c52f0a0778e3d2b75d3ddd62c240bb"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060instanceId\u0060 spells \u0060Id\u0060 where 23 names in the project spell it \u0060ID\u0060: 23 of 25 names in project github.com/ory/x spell the token \u0060ID\u0060 (23 of 25; unit: names in project github.com/ory/x containing \u0060ID\u0060). Peers: configx.CORSConfigSchemaID (oryx/configx/cors.go:15); configx.ServeConfigSchemaID (oryx/configx/serve.go:20); configx.TLSConfigSchemaID (oryx/configx/serve.go:21); github.com/ory/x/errorsx.RequestIDCarrier (oryx/errorsx/errors.go:57); RequestIDCarrier.RequestID (oryx/errorsx/errors.go:59). Rename to \u0060instanceID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/metricsx/middleware.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d446622d0d965ceea21c4d0c5985cdeb2bdb4b8d69f7e5718dd1f34373a5804"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060DeploymentId\u0060 spells \u0060Id\u0060 where 23 names in the project spell it \u0060ID\u0060: 23 of 25 names in project github.com/ory/x spell the token \u0060ID\u0060 (23 of 25; unit: names in project github.com/ory/x containing \u0060ID\u0060). Peers: configx.CORSConfigSchemaID (oryx/configx/cors.go:15); configx.ServeConfigSchemaID (oryx/configx/serve.go:20); configx.TLSConfigSchemaID (oryx/configx/serve.go:21); github.com/ory/x/errorsx.RequestIDCarrier (oryx/errorsx/errors.go:57); RequestIDCarrier.RequestID (oryx/errorsx/errors.go:59). Rename to \u0060DeploymentID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/metricsx/middleware.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"79913e2e3a10f571d7f2585e3474c4e52d58ea0e17698aae5732126d43a206d0"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060FormMethodIsPOST\u0060 spells \u0060POST\u0060 where 64 names in the project spell it \u0060Post\u0060: 64 of 65 names in project github.com/ory/kratos spell the token \u0060Post\u0060 (64 of 65; unit: names in project github.com/ory/kratos containing \u0060Post\u0060). Peers: RegistryDefault.PostRegistrationPostPersistHooks (driver/registry_default_registration.go:24); RegistryDefault.PostSettingsPostPersistHooks (driver/registry_default_settings.go:22); hydra.FakePostLoginURL (hydra/fake.go:17); testhelpers.NewPostRequest (pkg/testhelpers/http.go:55); testhelpers.HTTPPostForm (pkg/testhelpers/http.go:115). Rename to \u0060FormMethodIsPost\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/registrationhelpers/helpers.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4218f48ebf6b746ff2815f20befc8f79a340a943b5e63832417676459754e44e"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060isApi\u0060 spells \u0060Api\u0060 where 46 names in the project spell it \u0060API\u0060: 46 of 47 names in project github.com/ory/kratos spell the token \u0060API\u0060 (46 of 47; unit: names in project github.com/ory/kratos containing \u0060API\u0060). Peers: Config.DisableAPIFlowEnforcement (driver/config/config.go:673); DefaultHydra.getAdminAPIClient (hydra/hydra.go:74); testhelpers.NewPostRequest(isAPI) (pkg/testhelpers/http.go:55); testhelpers.SelfServiceMakeLoginPostHookRequest(asAPI) (pkg/testhelpers/selfservice.go:184); testhelpers.SelfServiceMakeRegistrationPostHookRequest(asAPI) (pkg/testhelpers/selfservice.go:204). Rename to \u0060isAPI\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/selfservice_settings.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9da87c0add66ce834d7a100e3d6c5c554a6732306a927852d6f84bdd1f59d1"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060TeamId\u0060 spells \u0060Id\u0060 where 377 names in the project spell it \u0060ID\u0060: 377 of 383 names in project github.com/ory/kratos spell the token \u0060ID\u0060 (377 of 383; unit: names in project github.com/ory/kratos containing \u0060ID\u0060). Peers: identities.FlagExternalID (cmd/identities/get.go:22); Container.IdentityID (continuity/container.go:23); getCourierMessage.MessageID (courier/handler.go:176); Message.GetID (courier/message.go:226); MessageDispatch.MessageID (courier/message_dispatch.go:33). Rename to \u0060TeamID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_config.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a6c1129d48f9140e23cfac23690e3c25dd503f1df9dc268fd0a48ba1704b51"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060PrivateKeyId\u0060 spells \u0060Id\u0060 where 377 names in the project spell it \u0060ID\u0060: 377 of 383 names in project github.com/ory/kratos spell the token \u0060ID\u0060 (377 of 383; unit: names in project github.com/ory/kratos containing \u0060ID\u0060). Peers: identities.FlagExternalID (cmd/identities/get.go:22); Container.IdentityID (continuity/container.go:23); getCourierMessage.MessageID (courier/handler.go:176); Message.GetID (courier/message.go:226); MessageDispatch.MessageID (courier/message_dispatch.go:33). Rename to \u0060PrivateKeyID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_config.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"74534675c9fa2d4ba4218fbc83b8b1827917b028b704dfc234b91ffdbc2a2853"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060redirectToGET\u0060 spells \u0060GET\u0060 where 21 names in the project spell it \u0060Get\u0060: 21 of 22 names in project github.com/ory/kratos spell the token \u0060Get\u0060 (21 of 22; unit: names in project github.com/ory/kratos containing \u0060Get\u0060). Peers: identities.NewGetCmd (cmd/identities/get.go:25); identities.NewGetIdentityCmd (cmd/identities/get.go:36); courier.AdminRouteGetMessage (courier/handler.go:25); testhelpers.NewHTTPGetJSONRequest (pkg/testhelpers/http.go:69); testhelpers.NewHTTPGetAJAXRequest (pkg/testhelpers/http.go:78). Rename to \u0060redirectToGet\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"885510d29061f74c6aba208febd4250df1b33a7135bda1ad494b1eb4edd9792c"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060updateLoginFlowWithTotpMethod\u0060 spells \u0060Totp\u0060 where 31 names in the project spell it \u0060TOTP\u0060: 31 of 33 names in project github.com/ory/kratos spell the token \u0060TOTP\u0060 (31 of 33; unit: names in project github.com/ory/kratos containing \u0060TOTP\u0060). Peers: config.ViperKeyTOTPIssuer (driver/config/config.go:188); identity.CredentialsTypeTOTP (identity/credentials.go:93); github.com/ory/kratos/identity.CredentialsTOTPConfig (identity/credentials_totp.go:7); github.com/ory/kratos/identity.AdminIdentityImportCredentialsTOTP (identity/handler.go:575); github.com/ory/kratos/identity.AdminIdentityImportCredentialsTOTPConfig (identity/handler.go:583). Rename to \u0060updateLoginFlowWithTOTPMethod\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/totp/login.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f6f6e26d067fd88c11dfc44691805f1c31ecf7c2ce37016cd4aafc3a8bda72"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060updateSettingsFlowWithTotpMethod\u0060 spells \u0060Totp\u0060 where 31 names in the project spell it \u0060TOTP\u0060: 31 of 33 names in project github.com/ory/kratos spell the token \u0060TOTP\u0060 (31 of 33; unit: names in project github.com/ory/kratos containing \u0060TOTP\u0060). Peers: config.ViperKeyTOTPIssuer (driver/config/config.go:188); identity.CredentialsTypeTOTP (identity/credentials.go:93); github.com/ory/kratos/identity.CredentialsTOTPConfig (identity/credentials_totp.go:7); github.com/ory/kratos/identity.AdminIdentityImportCredentialsTOTP (identity/handler.go:575); github.com/ory/kratos/identity.AdminIdentityImportCredentialsTOTPConfig (identity/handler.go:583). Rename to \u0060updateSettingsFlowWithTOTPMethod\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/totp/settings.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f6d79150955e0f5ba5e27d2391aeae8b4ef366be110eee559670e58fc4bf59"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060AdminRouteSessionExtendId\u0060 spells \u0060Id\u0060 where 377 names in the project spell it \u0060ID\u0060: 377 of 383 names in project github.com/ory/kratos spell the token \u0060ID\u0060 (377 of 383; unit: names in project github.com/ory/kratos containing \u0060ID\u0060). Peers: identities.FlagExternalID (cmd/identities/get.go:22); Container.IdentityID (continuity/container.go:23); getCourierMessage.MessageID (courier/handler.go:176); Message.GetID (courier/message.go:226); MessageDispatch.MessageID (courier/message_dispatch.go:33). Rename to \u0060AdminRouteSessionExtendID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"session/handler.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27269dffc0835e7f42e070397a41c8fd7de8e1c9a2917d56f9b78299b2cb057"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060RevokeSessionById\u0060 spells \u0060Id\u0060 where 377 names in the project spell it \u0060ID\u0060: 377 of 383 names in project github.com/ory/kratos spell the token \u0060ID\u0060 (377 of 383; unit: names in project github.com/ory/kratos containing \u0060ID\u0060). Peers: identities.FlagExternalID (cmd/identities/get.go:22); Container.IdentityID (continuity/container.go:23); getCourierMessage.MessageID (courier/handler.go:176); Message.GetID (courier/message.go:226); MessageDispatch.MessageID (courier/message_dispatch.go:33). Rename to \u0060RevokeSessionByID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"session/persistence.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2879593aa3b281d4626bb69334cf2ea8266f3936ebc6939692c7ba1434f943"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060providerId\u0060 spells \u0060Id\u0060 where 377 names in the project spell it \u0060ID\u0060: 377 of 383 names in project github.com/ory/kratos spell the token \u0060ID\u0060 (377 of 383; unit: names in project github.com/ory/kratos containing \u0060ID\u0060). Peers: identities.FlagExternalID (cmd/identities/get.go:22); Container.IdentityID (continuity/container.go:23); getCourierMessage.MessageID (courier/handler.go:176); Message.GetID (courier/message.go:226); MessageDispatch.MessageID (courier/message_dispatch.go:33). Rename to \u0060providerID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"text/message_login.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae213d54f5d7d0901f1fae3e2930b830fc823d7bbc0dce33ec753977a184b089"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060HostedHttpBin\u0060 spells \u0060Http\u0060 where 31 names in the project spell it \u0060HTTP\u0060: 31 of 33 names in project github.com/ory/kratos spell the token \u0060HTTP\u0060 (31 of 33; unit: names in project github.com/ory/kratos containing \u0060HTTP\u0060). Peers: config.ViperKeyCourierHTTPRequestConfig (driver/config/config.go:77); config.ViperKeyClientHTTPNoPrivateIPRanges (driver/config/config.go:210); config.ViperKeyClientHTTPPrivateIPExceptionURLs (driver/config/config.go:211); Config.ClientHTTPNoPrivateIPRanges (driver/config/config.go:681); Config.ClientHTTPPrivateIPExceptionURLs (driver/config/config.go:685). Rename to \u0060HostedHTTPBin\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"x/tests.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b017aef100ce20a10a34a4b1978a9b81379849f17b9f129d8c46fbdf77e85129"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060Config.CourierSMTPHeaders\u0060 returns a map (\u0060map[K]V\u0060) where its 13 siblings return a slice (\u0060[]T\u0060): 13 of 14 collection-returning members of \u0060Config\u0060 return a slice (\u0060[]T\u0060) (13 of 14). Siblings: Config.ClientHTTPPrivateIPExceptionURLs (driver/config/config.go:685); Config.SelfServiceFlowLoginBeforeHooks (driver/config/config.go:770); Config.SelfServiceFlowRecoveryBeforeHooks (driver/config/config.go:774); Config.SelfServiceFlowVerificationBeforeHooks (driver/config/config.go:778); Config.SelfServiceFlowSettingsBeforeHooks (driver/config/config.go:790). Return a slice (\u0060[]T\u0060). [rule A4]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/config/config.go"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"618841ac440b323faddd9348af65b2154364a538c78d718a98e4323d00a271ee"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060MigrationBox.SelectedMigrations\u0060 takes no context.Context; its 6 sibling operations take one: 6 of 7 fallible operations of \u0060MigrationBox\u0060 take a \u0060ctx context.Context\u0060 (6 of 7). Siblings: MigrationBox.Up (oryx/popx/migrator.go:48); MigrationBox.UpTo (oryx/popx/migrator.go:127); MigrationBox.Down (oryx/popx/migrator.go:331); MigrationBox.CreateSchemaMigrations (oryx/popx/migrator.go:524); MigrationBox.Status (oryx/popx/migrator.go:610). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/popx/migration_box.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f0c72b07c597152ca16543ba7e47d96df822a42570ee6ab5caffdfd2c4f74a"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060testhelpers.NewNetworkUnlessExisting\u0060 takes its context.Context at position 2 where 27 members of the package take it first: 27 of 30 members of package testhelpers with a context take it as the first parameter, the context package\u0027s own rule (27 of 30). Siblings: testhelpers.WithDefaultIdentitySchema (pkg/testhelpers/config.go:31); testhelpers.WithAddIdentitySchema (pkg/testhelpers/config.go:50); testhelpers.WithDefaultIdentitySchemaFromRaw (pkg/testhelpers/config.go:81); testhelpers.CourierExpectMessage (pkg/testhelpers/courier.go:19); testhelpers.InitializeLoginFlowViaBrowserCtx (pkg/testhelpers/selfservice_login.go:163). Move \u0060ctx context.Context\u0060 to the front of the parameter list. [rule A2]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/network.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ecb5778eac38c000c83557b0f4a7aac140b594fc2230668c9e6c6f9ce06b3c"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060testhelpers.NewNetwork\u0060 takes its context.Context at position 2 where 27 members of the package take it first: 27 of 30 members of package testhelpers with a context take it as the first parameter, the context package\u0027s own rule (27 of 30). Siblings: testhelpers.WithDefaultIdentitySchema (pkg/testhelpers/config.go:31); testhelpers.WithAddIdentitySchema (pkg/testhelpers/config.go:50); testhelpers.WithDefaultIdentitySchemaFromRaw (pkg/testhelpers/config.go:81); testhelpers.CourierExpectMessage (pkg/testhelpers/courier.go:19); testhelpers.InitializeLoginFlowViaBrowserCtx (pkg/testhelpers/selfservice_login.go:163). Move \u0060ctx context.Context\u0060 to the front of the parameter list. [rule A2]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/network.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdc593c16b8cee4e7bbd1d9b1a3ac472daa12f5cac3d8fb324a50451db2e83f"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060testhelpers.SkipIfNetworkContext\u0060 takes its context.Context last where 27 members of the package take it first: 27 of 30 members of package testhelpers with a context take it as the first parameter, the context package\u0027s own rule (27 of 30). Siblings: testhelpers.WithDefaultIdentitySchema (pkg/testhelpers/config.go:31); testhelpers.WithAddIdentitySchema (pkg/testhelpers/config.go:50); testhelpers.WithDefaultIdentitySchemaFromRaw (pkg/testhelpers/config.go:81); testhelpers.CourierExpectMessage (pkg/testhelpers/courier.go:19); testhelpers.InitializeLoginFlowViaBrowserCtx (pkg/testhelpers/selfservice_login.go:163). Move \u0060ctx context.Context\u0060 to the front of the parameter list. [rule A2]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/network.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"303b28edf545716eec20afc0547df2133d66b95b370d7a7d0cd8b263b25c5476"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060flow.NextState\u0060 signals absence with a bare \u0060T\u0060 (the zero value when absent) where its 3 sibling single-key reads use a nil \u0060*T\u0060: 3 of 4 single-key reads of \u0060package flow\u0060 return a nil \u0060*T\u0060 (3 of 4). Siblings: flow.NewContinueWithSetToken (selfservice/flow/continue_with.go:51); flow.NewContinueWithRedirectBrowserTo (selfservice/flow/continue_with.go:260); flow.NewBrowserLocationChangeRequiredError (selfservice/flow/error.go:179). Return a nil \u0060*T\u0060 like its siblings. [rule A5]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/state.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b932134c96a6e4b5ca938e23b09a8c9262e93c0355696d096f42711ee2e7efbc"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (63562 LoC, 746 module-visible types across 96 directories) overshoots its size bounds. 2 of 3 build unit(s) (Go, npm) 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":"package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2d5244dbb9040f0ef9a41721fc246c38399605a5b233c47266a2093207fec1"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060oryx\u0060 (19995 LoC, 288 module-visible types across 78 directories) overshoots its size bounds. 2 of 3 build unit(s) (Go, npm) 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":"oryx/go.mod"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1733646c5e3da1175cd664eec13ccb03bbe068f30e7210b8478e713fa304d15f"}},{"ruleId":"D27","level":"note","message":{"text":"Scattered collaborators: 78 % of calls cross a namespace and only 59 % of collaborators are co-located \u2014 group each feature\u0027s code into a vertical slice so a call\u0027s collaborators sit together."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5aad4a4530bac3928d3a065a664be89d023ecfc865f9bf79ac05754b3bffe322"}},{"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":"c772356c96ef22b4f3018f2e5a904373c28be1197bdb59f1c4b51c56e9f111d1"},"properties":{"commitSha":"172dc87d22f925668c21da1b3b581156e01d45a4"}},{"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":"179d9125c468c15d59c935f31a1b1ed2645cb3afa0b53af5b33fd6f3ae9136b6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5afe006f40b95d37bec8fb574560b023b40b22aa61c66b2d0434f6b0b1d3b775"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa77f3abd6f708ca88d91840ad39fd2cb16a6bfe37698434619640c29da7b663"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a71caa213c01048a759c9983cb745c19862f9e7c69ac5e5459817d24e0fc72fb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d2a033a993bfe9c69a1659659dd00f336e44750b57e43e1f98fc3d517daa3a7"},"taxa":[{"id":"CWE-494","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":"3aac53479b3c2e6adbbf6627964312356402e629afb03377c2b411433f4edc58"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"daf349cb2e663133b4c8567732a814963bcff0af133720a17d84c89b8183878b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b2590225ffab6d4572bcce32d406b28e5f77d15bdeeb87361bf2eac583dfc24"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"515a697086d16b66a5583113461d0898857564200fac574a8a7dee8baf296baa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ca1fd5842fc9b8d01a529df4bed2858787a152adb830d387a2687d0cfb3867da"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87da052d17b57dae6aa16d94a7d5660c7b10fb951c7ea9722490b815832825ef"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"30b0e25b950ae9697b53ec516a2f02cae21b78ee07c8e859f9a143cc2cab0872"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45c8adfe3d4148d99f783724dc3f54b51682dc26166fbbf63856ed4d7c829d6b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82051c10d013d6fa880a38ac0c2a1432c2c01f453ea0e999cd330a8fb117a8c2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1775204ede2772114eb203619a60f955fcc5079cc63536faec98942a51ed96da"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed9ed942e3a0db12416449eebc31c05eb1967eceb03685047a8c036c659576e2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73d5d3fa07752bded2b5d5233b4ac84837cf2d1241ebc86e6d8192de2f7d11f0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6df89da70e967243ec6f64e9da96773566bd783fa62d020535c6c0ef5de17f34"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"30672beea0d04630a7047fa552ea4bf65f8e33e1f7e2c21323d251e7c823d78d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f18b460b5631fd722cde2ba2d35ba3a534248174a72b6407d73517cc4ba88596"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e374edc34be40655bd7ca35e3bc443b8afc6310c370309e3db81fa4a698a367"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6cb9c5a35cc78cdf35ea5cbb4833abf273cbe5bb78d98d32d6c97b34abbbc4cd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"002ec043066bfc5dd3168d06e1b02e530c0626389f31333fb553ab05c5df1cf2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"026d32523c53ddf0fc1e951f2b22a4b0422e36a125fc8fb1ec036c885211992e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d8396e02ba1d7f54a019da778da0bd5c223c37c0baa0fee576c49397fb4fe596"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","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":"5554abf0516a07a2e327fbeb451308064c1c98524066d3e540c65b7ae5578baf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2dd511a35152a0c6621539dd101ee0c9052ebae479f2e55eb1b55d3673a8535"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","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":"5c8bfebd7c0e720a87467b86fe13e836550b7f9afb2dcf2da227a644f6186aaa"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","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":"ad3a319f885049ed7e620a821915ea54168223362b2475aff2407a4527cfa1fd"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","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":"6b7c2e19efe56c563a90c5e330a13fe6d17bfb5443c37ccf1591ca2f857422c8"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","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":"547ea1fa910650896c5ebe663a4fd1821194aab4209cc3306f9fde96867fbc43"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","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":"878a84dffcbc9e534d8cefcf034c0021ace285bfed16f917191ac6253c5d87a2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c650a3e609932e1c1f3555dee3d8fe7dfa9c74f8451fae9826675d21ddef1547"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","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":"96405afc53f57114764265b91a1b56a4ede4f62003894e0e47fc352e0680b3ad"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","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":"227f94277bc8b926a368af66601d9e823dbe0b4c5ea46ddbeb614ddf63f1660e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"536ba84d6ada2cc1ed431224e26f8ac87e1c288e1dc040ffb517f9f4c87bfa06"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","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":"8fbb1266690a67c9e4a51df65c159e2f04bead0ba3b19debfe4851f2976bf10e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9cfad60910fa9ebb4bb97b70a333cfa83cc6ddb11fd22f1601a89e069d3891ed"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","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":"28fb87fc7882d55cae57c506e28a84eebc0786e7837e4c598cf0514753a86431"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","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":"c13411ff890650385b300997458d931ad966141b7093721cf66f54b6b7f305be"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b843a4538f0ed754302ed286ca463cf006a514fd2acc65fc6dd516dd3ef89b6c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c06f86a0e44fcad58ddf882a81bd5adb5825a32a3621eed97a1b6170096e523a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f5312674fac8d8b63fbc890f108b0ea8b157b4b413e8c6bc28caad8509342e67"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","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":"dd2ab60f0744f0fa3ded8d666143bf909ab8a2e8348ad2ddd8a93156d3adc94a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a29df3c4b73b38337ac0c48c825ef6aace52faedb76536737648711426349e1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7edfd8f4f5bf8e12eaa030a7c42ab1e660cfefd97a58fe598164ecb96a02e3c9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fbae55df5f85e32ca32b5237b845c7388ab1f1cff2e732654830f8f06acc6881"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3a1038a06a760b316548e0741dc28eb6518c3a4967c84334800f475890e3c99d"},"taxa":[{"id":"CWE-269","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","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":"53aa07879fd764ca91db0929c71fe924e0aeb483d672b221cc690c7e1727b3df"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4528b5365a2eb39c726802ce7ebd7ee245a5fc391f61e71d5073be40ede596d1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"adfe7284327769022fda2052cf7ed0d2469eb1a03119c1ba2de78bd60a1ae722"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5685efc20d166fcf473b4a31e09d514a877d3eadfb79b79b59c5212119ada47c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","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":"36223d7c08e1a5c28f3524737b109355a76ae488b2aa6126677bd94cd408f5d5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ea74bc068f1d1464e7661ace13eddf35e323aabb73cf7e8b5dc8133f0ae52c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7b3cdc5cc1d648812bbea9e2aa14bf9a0d804ca99e5bc5f664a77f76ee61dde"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f842c9063163aa3236fcbd52ea1897e88bcd63ea1678ab3f610868ab96a546cc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35d12f50a3a6a7833ad7c5e811df3a1b5a7300b630502dac2f4d87e3b653e895"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","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":"948d951f0f5bbaff39973b390acad77742ad3ef2ac1e917fa4861d63089a1f36"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16447db5e6c6d9ec6bec01267fe11d2c0bcd7b7bf390a06ae3899e0a70c7f788"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41d4f87d343fd2efa2b9bd9e98055f43c49593414e73c12e0d3ae63792b74dd6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54bbf5bf2bad4c00da821d768a76a081f474c2d579f1272d8fee8bd82b88d450"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e55a5e9b5f950255b642c05ea6f7d5e7e954f16a2ab68f06621dce570242f439"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c6d695c3e2dd54eae1731990daf7a0c5e59beab11e2ced59bf943af05c404ce"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"251da97cf85734cdebb51dd70ce78b74a17df7cdfd47a06cee03bbba8e88b79e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1718bef178a156eef5ac339e1b7a8edfaa67f6bca7112aff18e297c5e70a454e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"63f470bae9da55b254d84ff2aa2638d0b0bd7c46363d4943904e094c9406317a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce6872dae46c457b51e83f092f0136be8c6a01a2c0b1897cae07d8889bf3416d"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","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":"e7a2ddecba6ab56bab8227e01540def06fe9c05e1f9b6c42de83d7260fd37c4f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a87710fc51b52d106373c7a7c4cb840d7acf17cdbbaa59a2fc24c5300edb907a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dcd7a93f57136b87883f0f70e440c7fc3613f0f0355c600c7404ee422f834938"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","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":"dda1be18939c61b67cd932aae3ff8d946e1b49d7811bee43c53050d2b6c44a7d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41d790caa36e3e5a73d907f149cab54ef12ce71ffa9e6ab0e757e947f8e46658"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","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":"f6238a9178c585efb9a96a47a9abe4d21bfde0d355cae0ffb97feb7e5378013a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac4a781a954b91a500dc8b79938be4a3a685d36957877119a9ea682b0e0123ab"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","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":"ab8d83539c5ebe567cb6deae98d392d6617f9ea4001a34a9a21fb3f393c0be8f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7dbf8b8bc1252302665b5d5ad011232c9fefcf5d3463e290972b7a280d5e0e5"},"taxa":[{"id":"CWE-494","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":"c3139c7148021535943cfe9c85a42718acf3c0669db8a03ef71e468ca1dc0323"},"taxa":[{"id":"CWE-494","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":"9c346c881c366c1e5e0a2a6e3b871f5ccd50e253a493dfe1aaf4ba0b633c56a0"},"taxa":[{"id":"CWE-494","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":"4528bf17c5541d4f564e60fd13bbc0d0b78617e9ea0ae71daede91375b71d687"},"taxa":[{"id":"CWE-494","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":"d0cb8d795fa90bf7f76d5f617db1f1d20575b4963f8261f296aa57678c5277af"},"taxa":[{"id":"CWE-494","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":"7792e13e8b27b31fbd2ff56d6915a2dd153c977a8e2655b6b12e2e1275404680"},"taxa":[{"id":"CWE-494","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":"dda67a2bdccd20b4e3b798a2b72a7032038cbfa69c4ae3fff8bb7001e150c2fc"},"taxa":[{"id":"CWE-494","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":"2f84f40a86c58c67e63231074141c8ddcb7049870fad15004d1b64eb5565abaa"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"e23f12b17822ac1db319d688ec0bf75b9e15ad1d7ab2d6f1910e2241c462b8b9"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"b6e23fb3ae68499a8aea3b3c0b07e14b41210dff117d8d4e4e723b3a3917b9a3"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"a76ec1f494aea1e1b70cd6f4090c04dd39fd653ea954909bc4b80cce51949c9b"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"d26cc217693eeedd54856239e3160eb964b1b3f6d18d6de013f39a08bc1b5339"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"cb91a1358e02bb8d3578a91a3e67c66733a8b1865e149844d36a12106d943ac4"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"b5fc47adc5cdb260f1ec1648ea6c554aa004befb9aaa2e508eef63914f22fe15"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"4b68b07360b5dee37e44b150d62cb730ccd488917e479c4440f02e83c7a43c26"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"a19853244e723e2bbd9554a14bdee245c23871359bcce1748782d172651cce63"},"taxa":[{"id":"CWE-362","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-567","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"dcdf30f7237587c0b8e6c6c04fe3a1b9d6af86381d355e78cf1748eea48ef811"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"ebb84b742def92c5f078b201b21165ccf0ff6c294853a34de450dcd7fc0dacb2"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"d9d978bd5efdec53c850d839e0ad713a8901efb41715eb7dc23b0de32ab5f19f"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"5a7814200622b9636d16cd876d823db245588c79af9fea88885db4ba4244311e"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"0b8decd780b2e0ddfe7fb77bc8adb74886d9a147ba4d909e7195d4020dc34410"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"32b45c75a86d1a7aa070728050e8ad7afb42b5ddfa0656609a7101a527af3873"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"edee31333b1c639ffe1684adfedc4343874d421dc490ce175924248d3496e87a"},"taxa":[{"id":"CWE-1004","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"f7cea77272cf27789d90fc81eef56d4ad0b753de499d518d340a623ffeb17b06"},"taxa":[{"id":"CWE-614","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","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":"7d9312d138ba7e43d7979bbaeb0fad465084e7e0f1d1004a8f6dbdc6ba93c958"},"properties":{"dependency":{"package":"shell-quote","version":"1.9.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"critical","fixedVersion":"1.11.0","relation":"direct","declaredRange":"1.9.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"10d0d3e5420da08b82b9645b3f31111a2e4d986ec47f3979d6122587dbdf750e"},"properties":{"dependency":{"package":"google.golang.org/grpc","version":"1.82.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-6348","GO-2026-6441","GO-2026-6443"],"severity":"high","fixedVersion":"1.82.2","relation":"direct","declaredRange":"1.82.1","reachability":{"kind":"production","file":"oryx/metricsx/middleware.go","line":21}}}},{"ruleId":"D30","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":"730abeeafcd03e8bf309a09f75a601ba43d3abcca583d317e0dbc31f345427e2"},"properties":{"dependency":{"package":"github.com/go-jose/go-jose/v3","version":"3.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","relation":"transitive","reachability":{"kind":"production","file":"oryx/josex/generate.go","line":29}}}},{"ruleId":"D30","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":"3b599db782468e5a99cab40f9204d4079f9383c798268723b5861fea516c3a6e"},"properties":{"dependency":{"package":"github.com/go-jose/go-jose/v4","version":"4.1.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.1.6","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"b149e8a5bf50a36bc29c5a195a68cc92646c84be21831908a4e12345ee780772"},"properties":{"dependency":{"package":"github.com/go-jose/go-jose/v3","version":"3.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","relation":"direct","declaredRange":"3.0.5","reachability":{"kind":"production","file":"oryx/josex/generate.go","line":29}}}},{"ruleId":"D30","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":"5aec58329ff8e72ebf562f7fe10a3011179b56177652125c1869832aa62e8375"},"properties":{"dependency":{"package":"google.golang.org/grpc","version":"1.82.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-6348","GO-2026-6441","GO-2026-6443"],"severity":"high","fixedVersion":"1.82.2","relation":"direct","declaredRange":"1.82.1","reachability":{"kind":"production","file":"oryx/metricsx/middleware.go","line":21}}}},{"ruleId":"D30","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":"126f19c96e9ea675e4c43ba196f9b82b90cf714d7541c9cddd7d1ccb34568a75"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.1.19","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"338497ed35b0424f671e46b04c9221d732ba3a796913ca15e8ec85bb05c829c5"},"properties":{"dependency":{"package":"axios","version":"1.18.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.20.0","relation":"direct","declaredRange":"\u003E=1.15.2","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"eb354110d4b9e8b10e4103c9441c209949e03ab05dbabeaa342188f4dfcd03a4"},"properties":{"dependency":{"package":"basic-ftp","version":"5.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"6.2.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"5663b5d3983a9f6f7744b9af8d10ede9d273d65b8a859266b06bf516fc0e4e27"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"5.0.10","relation":"transitive","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"ec98ce9551df602242a7f118a0edde5356cbd1400c0abc82227a52f1a97280a6"},"properties":{"dependency":{"package":"follow-redirects","version":"1.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.16.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"59e28f0fc3ceb219b9638eae73d38b2bcb54c3283507449da6396114e6cfcf26"},"properties":{"dependency":{"package":"ip-address","version":"10.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"10.3.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"4c0fc252a3751c060c616eede577d31cd5a2ffdcb88b8b26b6bef777be29d43e"},"properties":{"dependency":{"package":"joi","version":"18.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"18.3.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"db2cc29c4b99be24dda13e7277c345c21d427ecda5f8fd4fa636a04d1e415ee2"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/sdk","version":"1.44.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","GO-2026-6505"],"severity":"medium","fixedVersion":"1.47.0","relation":"direct","declaredRange":"1.44.0","reachability":{"kind":"production","file":"oryx/otelx/jaeger.go","line":15}}}},{"ruleId":"D30","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":"3ce648c0042cd3a3e56d3744cd34703936b5b6966b614343f2db8b08f953718c"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/trace","version":"1.44.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.47.0","relation":"direct","declaredRange":"1.44.0","reachability":{"kind":"production","file":"courier/courier_dispatcher.go","line":12}}}},{"ruleId":"D30","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":"1c9c7154a9d80981a2f1da0fd0aa2e12a4e104a4411624a7aabc5ce2dd45d848"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.53.0","advisory":"GO-2026-5932","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6303","GO-2026-6354","GO-2026-6355"],"severity":"medium","fixedVersion":"0.58.1-0.20261009181718-2f1f834330b2","relation":"direct","declaredRange":"0.53.0","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"d03f2a180b6c44b09157108557612e48c9e72436d9219e099dc51e18f53d4553"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.56.0","advisory":"GO-2026-6603","aliases":["BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78669","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"severity":"medium","fixedVersion":"0.60.0","relation":"direct","declaredRange":"0.56.0","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"6f52ea19481df6a261f8d6fb74692dd6b697262d3166181ac337294186789ab0"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.39.0","advisory":"GO-2026-6629","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.41.0","relation":"direct","declaredRange":"0.39.0","reachability":{"kind":"production","file":"x/normalize.go","line":16}}}},{"ruleId":"D30","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":"c72ee21ee238741c2e43213cdda62bd905d474f0f24168b7f79e7620023d7208"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/exporters/otlp/otlptrace","version":"1.44.0","advisory":"GO-2026-6505","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.45.0","relation":"transitive","reachability":{"kind":"production","file":"oryx/otelx/otlp.go","line":12}}}},{"ruleId":"D30","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":"b421144724089d62a105c8771ab2d8b38c51a01c512074555dedec9cd400ae18"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp","version":"1.44.0","advisory":"GO-2026-6505","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.45.0","relation":"transitive","reachability":{"kind":"production","file":"oryx/otelx/otlp.go","line":13}}}},{"ruleId":"D30","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":"ecc1f030991e6f395bfe6dce0bd43ba649a0d596fe1cb7cdaea98d48bebcc998"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/exporters/zipkin","version":"1.44.0","advisory":"GO-2026-6505","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.45.0","relation":"transitive","reachability":{"kind":"production","file":"oryx/otelx/zipkin.go","line":8}}}},{"ruleId":"D30","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":"34d92b4e8ceb16a1fd57062952c6ce862546a7f5a590d99835b621f385dc5d89"},"properties":{"dependency":{"package":"golang.org/x/mod","version":"0.37.0","advisory":"GO-2026-6179","aliases":["BIT-golang-2026-56864","BIT-golang-2026-56865","[CVE redacted]","[CVE redacted]","GO-2026-6180"],"severity":"medium","fixedVersion":"0.40.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"1dd5fff6f434ed7024efcb1902252bf27252da83017b32f3ea9d552f8a701357"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/exporters/otlp/otlptrace","version":"1.44.0","advisory":"GO-2026-6505","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.45.0","relation":"direct","declaredRange":"1.44.0","reachability":{"kind":"production","file":"oryx/otelx/otlp.go","line":12}}}},{"ruleId":"D30","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":"0b97dc48ad2cd938797d24d06a6f95846d283d14365ddcb97be060999bfac8e5"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp","version":"1.44.0","advisory":"GO-2026-6505","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.45.0","relation":"direct","declaredRange":"1.44.0","reachability":{"kind":"production","file":"oryx/otelx/otlp.go","line":13}}}},{"ruleId":"D30","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":"f89bf45478a1004eda5e75889cdcaa64431db501135e29e7bb99f7168bf6cc70"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/exporters/zipkin","version":"1.44.0","advisory":"GO-2026-6505","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.45.0","relation":"direct","declaredRange":"1.44.0","reachability":{"kind":"production","file":"oryx/otelx/zipkin.go","line":8}}}},{"ruleId":"D30","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":"cfb150792457b83db3fa856e32093fd7afd4c4c068384cc817ae58e12bb07e00"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/sdk","version":"1.44.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","GO-2026-6505"],"severity":"medium","fixedVersion":"1.47.0","relation":"direct","declaredRange":"1.44.0","reachability":{"kind":"production","file":"oryx/otelx/jaeger.go","line":15}}}},{"ruleId":"D30","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":"83e07c4d153c34d97a1971cc97823ca15aa7b786a49d4b580c7ff840a8fdfa95"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/trace","version":"1.44.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.47.0","relation":"direct","declaredRange":"1.44.0","reachability":{"kind":"production","file":"oryx/jsonnetsecure/jsonnet_pool.go","line":32}}}},{"ruleId":"D30","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":"7e81e708deeb36b989be0e73d3800b5bf58b0260989aa1f3d95ab1dcebfac309"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.53.0","advisory":"GO-2026-5932","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6303","GO-2026-6354","GO-2026-6355"],"severity":"medium","fixedVersion":"0.58.1-0.20261009181718-2f1f834330b2","relation":"direct","declaredRange":"0.53.0","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"3eafe66452f15738af4637fd5cfa10d9bf2aa6809f7cb49117d3b800b6d8688e"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.56.0","advisory":"GO-2026-6603","aliases":["BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78669","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"severity":"medium","fixedVersion":"0.60.0","relation":"direct","declaredRange":"0.56.0","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"e99497d49f02c233a3ff185d693c86124431f17b9e5881b28a98295b6fb200a0"},"properties":{"dependency":{"package":"golang.org/x/mod","version":"0.37.0","advisory":"GO-2026-6179","aliases":["BIT-golang-2026-56864","BIT-golang-2026-56865","[CVE redacted]","[CVE redacted]","GO-2026-6180"],"severity":"medium","fixedVersion":"0.40.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"9a3606653b3f63f62837ee3582beffc06bf8841d46a5b0889a66d37b67ca88a0"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.39.0","advisory":"GO-2026-6629","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.41.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"7cdc5de73f9e854950591bb7e3e43e6a48203de9611d576e8d95fceff14f01c4"},"properties":{"dependency":{"package":"golang.org/x/image","version":"0.41.0","advisory":"GO-2026-4961","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-5061","GO-2026-5062","GO-2026-5066","GO-2026-6222"],"severity":"medium","fixedVersion":"0.42.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"8bc4bcd56ab358aab47c738b8968a7ef502dbb377963b7caa72a93fbac8fda46"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.39.0","advisory":"GO-2026-6629","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.41.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"47f0491b677bcfbb5fe4f50116ee67700fb9f58aa16ba30d15d05c30179292b6"},"properties":{"dependency":{"package":"stdlib","version":"1.18.99","advisory":"GO-2026-6599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-56857","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.26.9","relation":"direct","declaredRange":"1.18","reachability":{"kind":"production","file":"pkg/client-go/client.go","line":404,"symbol":"http.NewRequest"}}}},{"ruleId":"D30","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":"254e159535de5a467ea5671a4a81fbc3bf399623b11dcd1fc4071f2230ac5cd0"},"properties":{"dependency":{"package":"glob","version":"13.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"14.0.2","relation":"direct","declaredRange":"\u003E=11.1.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"b57bd94a9054ab1a78280337953ab23bcb5d2500ea7f4b4abe8dc82a1ef1d633"},"properties":{"dependency":{"package":"minimatch","version":"10.2.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","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":"1e80b238ce9123e8a9d9845fde50ef8d748a66a6bfe02d9b27cd0d94cf04af87"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"2eaecee08bd307bd767c3cfa42acaf4e5b3a3d663bba8b357db139fb8f3acb85"}},{"ruleId":"D31","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":"f91829e0070631ec4b3b99b6bbccbd19a902fe701229b4ce831f63ea26ae249c"}},{"ruleId":"D31","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":"6a3a28025d0a19c6b1cdd48eb0c7756df89154d3d7994e0e52be114cb75653ed"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"98063692bfc41e39bcc0b831005f8ac62386e9dd5d6e893b2376f5adc9cb40a8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"be89384bc268da57ca314072ccce3741db6a0e8480ae4d64c7db81216eba2657"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"e56864ca575681e39a2c87f4c81ad301c1ba6a0039c286992383c3d209250e0a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"4ff2d5b263c4f9d9cabbe075130f6bdae0c4f37ab4953e36c666614304a2517f"},"taxa":[{"id":"CWE-1357","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-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"d910811763a94b4c16ea9494e94275a125dc5075b9b7506458e03c38e5e84bc7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"209e47ddd7cd5bee11f753727d54eb65295dd461bfb7ae4d5fe236467e3aebab"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"fb1c0f2f5a983092c1daeea8929be3276fec0446d542fabf9c155d32221a2624"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"d8c2f2ed7d3fe0d02341ac7e4b2a84f485290d821d62e3039b9ec13af90bdf99"}},{"ruleId":"D31","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":"c54455a3edd93e68c2a70567b5184fcc23f15df579c92679c12a218eb4687fec"}},{"ruleId":"D31","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":"8d90c1309036f0468ec4829c053b64da0dcd671c8c1282256310f267b7098fb1"}},{"ruleId":"D31","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":"cbef187dbdb2574165fc417c916d22d4b425966c1b93105b17f9f8c7adab12c9"}},{"ruleId":"D31","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":"25d6e95507f5d9aa7f5bbd364ec953a09125e383ef5b9ffaf1f2469dd4f81c55"}},{"ruleId":"D31","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":"9eeb0c661b27acf794665b4584359094bae12168c680b54939e246a6eff1f943"}},{"ruleId":"D31","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":"3350e817d447e1be52a93223e17f3128527fca391f5e63b7b57866e7894a3e3e"}},{"ruleId":"D31","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":"8217b84584b4e946030e24f177e2abfb94bea3139fed5ec985530c94fbc64219"}},{"ruleId":"D31","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":"b9b7851b222d25e1aab6f13b3b1a0d39586ac1ed15f977225ec209e530708cc9"}},{"ruleId":"D31","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":"0c854bbd48fcc5421838b33cd6b2bb323d7ea9b6733cc0fdd0a6fc6720793a00"}},{"ruleId":"D31","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":"94abc7447fac8bbf8031386693a1516c4804c8d2e048cc5c74fa3b8c48f69e6e"}},{"ruleId":"D31","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":"89d470a2e9db3e2a369d24509ed307e5d12e649323bdbeba566fa6e7991e420d"}},{"ruleId":"D31","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":"9cbc5ddf8cd9862252d7edb15ae2488c8ef343c7c026481e9b3486719696fadb"}},{"ruleId":"D31","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":"250bd7a1d104ec5b3e17f9dbbb6cdbc86dcc2211ade742f93b7b2c73a92d795c"}},{"ruleId":"D31","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":"1906ffdf4460e2211ec61f4fb31b2e46169563d2c385cd54083fe09689f14ab1"}},{"ruleId":"D31","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":"4b6f5accea64cf60af4aabac2ff94059d9d8999d2e40ff8c1be9883065bedcf9"}},{"ruleId":"D31","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":"55fddd3c34ef1032479a58c1c1f4417e0e6a81bdcceba64826471e1232c5f49e"}},{"ruleId":"D31","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":"2ecbad9cb4f3f1bb0ed5d1ca5803ad4fb7438cb96643bca1207aaecc5763d982"}},{"ruleId":"D31","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":"b82fc8bac688759e6b5491885a364a0ad574a6953c6a1ef89ce905d812e2c800"}},{"ruleId":"D31","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":"2caa77c08959581dc9c47939e4cdbfd1be3f343e3c47b1ae73da5800b3af4286"}},{"ruleId":"D31","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":"77c0f83483eb86ffceed1d773994de24ccacbbc73936f8b3db21f457578e2596"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"73252d6a9362654dde818f798eeba5545afe0a9f3303c2034aa8b6cc8cf2908b"}},{"ruleId":"D31","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":"68f4d5cb171f792729f55b308af02abc2e6753c497d07996c84ce81663181c66"}},{"ruleId":"D31","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":"20e00464fb300b51e18ba7f1efd34ace1bf4a3da8e115e036b706d40a5c14ba1"}},{"ruleId":"D31","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":"1f56ada4b1ec6544a8d62d1f8bd93d416c5d26c342d49464dfd708d0512dca5f"}},{"ruleId":"D31","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":"cbaf1094aed731c7e25c06314e7e1d2cb648f61aa213db70fed2e2fe4383196a"}},{"ruleId":"D31","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":"f7cd412b5d0a873f64bffd21f5526b4545915458bdb2ded648a5e7a1bc9076c0"}},{"ruleId":"D31","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":"cf3ccc3d593ce198457c0a7aba54cca856de081f0a627a62383f2245ef7b572e"},"taxa":[{"id":"CWE-754","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"33632a4d3dba34d846c5a2436e5f9a9b0532646de4f58b47ff44358afa9953ae"},"taxa":[{"id":"CWE-754","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"a8e06b34a11caeeb876f2426d5af5cea28fbdeaaaf63ab5eaa08b3462c71392d"},"taxa":[{"id":"CWE-754","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"21ff4d5ca595ff2c4fd5807f080907fb0d7f38f4bf7fc0d437eeac749349cdb2"},"taxa":[{"id":"CWE-754","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"ec1d89b6b5c218c84e834be77b065e05804be8341d379b204ac05ca1cfdb6915"}},{"ruleId":"D31","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":"4dd9a75fd85bb599cb90f4cc31adadbfaed5a7f196d475188ffe61119afd977c"}},{"ruleId":"D31","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":"2f37f1a67fc1a9744f554fbba075794d9aebf2e1efb316f6ce1e4d82e5971d7f"}},{"ruleId":"D31","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":"90980e0e978617fa6c989a246457103288426a57ad1b1a2a85de5e1c69d1f5dd"}},{"ruleId":"D31","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":"ee902370d6201f3b8c8fa05ba6641b1223a65e03657a5fb17ec8c243092e55f9"}},{"ruleId":"D31","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":"9e2c1eed31bd4a0bf485cef47f77d9fe645f72f57682529a5cb6e5f89266d947"}},{"ruleId":"D31","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":"1cc3da3693fd15437286ee90d9d382d02bfb5242ab5a7b28c69644e1c90bcb06"}},{"ruleId":"D31","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":"1b24839b85b5181332ddb019e94e7fd22edd777f37978bb573a39b8b7acb7442"}},{"ruleId":"D31","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":"5daa327c4893aded078c9bfe1e5558410676071d36a088fca34018450c5e195c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 18 of 322 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; 322 of the 706 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: courier/template/testhelpers/testhelpers.go, selfservice/strategy/oidc/provider_dingtalk.go, selfservice/strategy/oidc/provider_salesforce.go, selfservice/strategy/oidc/provider_facebook.go, selfservice/flow/state.go, oryx/urlx/extract.go, selfservice/flow/verification/hook.go, selfservice/strategy/oidc/provider_patreon.go (and 10 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":"courier/template/testhelpers/testhelpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3928c01dd70df72299a1124437be7d5c4e1718850d3ea959b01b525869efbe"}},{"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":"selfservice/strategy/oidc/provider_dingtalk.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33850708c8dd4dd80bc2a50c183a93a0ab10c7e28077b8d9d91bf59ad514bf2"}},{"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":"selfservice/strategy/oidc/provider_salesforce.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"490df3de4094f774a066c892ae45ab78a2178575fc2f0bbc92bda5348a2f61f3"}},{"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":"selfservice/strategy/oidc/provider_facebook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7440b16de6e59613712698839a5a22cd2615811c5b05dcabe39edbec3596e848"}},{"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":"selfservice/flow/state.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11228e70740bd02819764f260c26f697d6267523890d27a6e1f2ffa04805ee60"}},{"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":"oryx/urlx/extract.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c298354faaa703afbd8b8b1934a7846f5b32c597d4b981ee47233730ab4205"}},{"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":"selfservice/flow/verification/hook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a4a6736c611bae9627dd0c592603837251aa51f07af8af8c294a7332b6fe0a"}},{"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":"selfservice/strategy/oidc/provider_patreon.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f38871a330ca48b013c7ef819d4b7765d93016ac02ecafc83d4e1d8c08dd7a"}},{"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":"selfservice/strategy/oidc/provider_lark.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd17bbfee994948a1594e486ed44c669e4e286531fc610582daa004ed11ec20"}},{"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":"persistence/sql/persister_login_code.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5540d61b6168118853f5120669f0e6d557af502bc356e1503a87429f86f296"}},{"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":"selfservice/strategy/oidc/provider_yandex.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0648249c4579faf05aa24fc3489e0e0519c621b6c11af79d73aa13672246a2"}},{"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":"persistence/sql/persister_verification_code.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7159e5c02da43ce6e27a6ad9ea0bb9c21937082f06541548fe9263a608f14f7f"}},{"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":"persistence/sql/persister_recovery_code.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"167b824d6de4ef9c1a3cf501070ef21f0f9e019d49c0bd80ecf90c8de6af909d"}},{"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":"persistence/sql/persister_registration_code.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa217465f33eea12aa1e76a968c039e3adf65da701b93eb7420a222746f4009"}},{"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":"selfservice/strategy/oidc/provider_github_app.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f7e5031e1e3b6a176c12e5b2897c246e894d0b69e497a36a3d4d1339b0aea9"}},{"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":"selfservice/strategy/code/code_registration.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47f18957416eb372bebdc0357181ac0bd5459905d564085509223c0ace86c51"}},{"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":"selfservice/strategy/oidc/provider_discord.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"644a01e0c0b390a06883d88a74e75ea6406c0dc8079b69793d9c179bd83d9d5a"}},{"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":"embedx/embedx.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ce5f0ea92af8173165214072bea033b94e56b956e8865b7ca0dd1e48ee4dec"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: handler.go \u2194 handler.go: \u0060selfservice/flow/settings/handler.go\u0060 (context selfservice) and \u0060x/webauthnx/handler.go\u0060 (context x) sit in DIFFERENT parts of the tree yet 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006041ce0760\u0060 fix: update swagger bucket annotations; \u0060a14c3f22\u0060 feat: add ratelimit buckets to swagger definitions; \u00607fb085b6\u0060 fix: revert Go 1.19 formatting changes (at that commit the file was still \u0060selfservice/strategy/webauthn/handler.go\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/settings/handler.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01318f987a817a7ca816356125750c44c7d0b36012a5aeefd1b2b58fac9a0447"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"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":"f72c3552484478b34f6d4b6df0b8b1c6a23e2a8844235d3c9e9fcef2cda1ca14"}},{"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":"5cb28dde8e3ebb141d09ade9639ee0bf087445ca026dd7027368406093345c0a"},"taxa":[{"id":"CICD-SEC-6","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":"c8f2fd696d7a14352851e387dc7ff0fbc7f2b23a30514a8a3bd716945c53f08b"},"taxa":[{"id":"CICD-SEC-6","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":"b7c2f52965d10231e7511d130f5eb470f869e6759e11666af56924cb088a6199"},"taxa":[{"id":"CICD-SEC-6","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":"29816db8c3dc3721c1b7d05101bcba01a748459f90aebd3c518570292437aa2a"},"taxa":[{"id":"CICD-SEC-4","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":"9f2edb65ca5a2c2a1893d63d33bcc6356d3c8a6557aecac23a22b4e76ccef8c3"},"taxa":[{"id":"CICD-SEC-4","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":"6c3734892d5287090a85f54509c9f1b74703fd86ce92969f27396720dafbfbfc"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab7fac590f26a56cea1acc895c4fd1f5c0b1886a624a4437920436acce4c0c9a"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc5445989f2ed1a6cdd8ba1d81af8788542d376cfec71d00d96fee7fbe6ee193"},"taxa":[{"id":"CICD-SEC-5","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":"c593d4dbd23724f337bfb8d2c1653812f143ae255bd9b59d4b3e9c37779fa6f4"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D40","level":"note","message":{"text":"No network policy: No Kubernetes NetworkPolicy (or Cilium policy) found. Without one, every pod can talk to every other pod and reach out to the internet by default. Add a default-deny policy and open only the flows you need."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"295828650a2aaa1b03ae9b32ae6843a0c38011e5a70b1926442c4fa7187de5f0"}},{"ruleId":"D41","level":"note","message":{"text":"No seccomp profile: The workload runs a container with no seccomp profile in force (neither RuntimeDefault nor a Localhost profile, on the container or the pod), so Kubernetes runs it Unconfined. Seccomp blocks the syscalls a container never needs, shrinking the kernel attack surface a container escape would use."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/watcherx/integrationtest/event_logger.yml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44a3c738a2a03f842af6c43e983e9eb7b19876c21b0de0f024202ce34ef08a6"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: Node.js 16: .nvmrc declares Node.js 16 as this project\u0027s version file, and Node.js 16, support ended 2023-09-11. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2023-09-11 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".nvmrc"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ae2f3a8282e46ca5dd279e36d8b67377808c252f1adc205b7a3682137c5b9b"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful package: testhelpers: Package \u0060testhelpers\u0060 serves requests (request-handler function literals run on a goroutine per request, and every one sees the same package variables and captured values) but writes that shared state outside any lock (called; e.g. \u0060called\u0060 in \u0060NewSettingsLoginAcceptAPIServer\u0060 at line 154). Unsynchronised concurrent writes are a data race in Go: an update is lost or a value tears, and a concurrent map write aborts the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/selfservice_settings.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d02ba4b857cc7270d2b342eee2bf0737b932f7320ce76fc452dd63505a3422d"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful package: hooktest: Package \u0060hooktest\u0060 serves requests (request-handler function literals run on a goroutine per request, and every one sees the same package variables and captured values) but writes that shared state outside any lock (s.LastBody; e.g. \u0060s.LastBody\u0060 in \u0060NewServer\u0060 at line 34). Unsynchronised concurrent writes are a data race in Go: an update is lost or a value tears, and a concurrent map write aborts the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/hook/hooktest/web_hook_test_server.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd40dc0c0043a24a1549fbee76d161961e4523003e4624a73c93395f3f3b7fef"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: CourierConfigs (24 methods): \u0060CourierConfigs\u0060 declares 24 methods: \u0060CourierTemplatesRoot\u0060, \u0060CourierTemplatesVerificationInvalid\u0060, \u0060CourierTemplatesVerificationValid\u0060, \u0060CourierTemplatesRecoveryInvalid\u0060, \u0060CourierTemplatesRecoveryValid\u0060, \u0060CourierTemplatesRecoveryCodeInvalid\u0060, \u0060CourierTemplatesRecoveryCodeValid\u0060, \u0060CourierTemplatesVerificationCodeInvalid\u0060, \u0060CourierTemplatesVerificationCodeValid\u0060, \u0060CourierTemplatesLoginCodeValid\u0060, \u0060CourierTemplatesRegistrationCodeValid\u0060, \u0060CourierSMSTemplatesVerificationCodeValid\u0060, \u0060CourierSMSTemplatesRecoveryCodeValid\u0060, \u0060CourierSMSTemplatesLoginCodeValid\u0060, \u0060CourierSMSTemplatesRegistrationCodeValid\u0060, \u0060CourierTemplatesVerifiableAddressChanged\u0060, \u0060CourierSMSTemplatesVerifiableAddressChanged\u0060, \u0060CourierTemplatesAuthenticatorKeyAdded\u0060, \u0060CourierSMSTemplatesAuthenticatorKeyAdded\u0060, \u0060CourierMessageRetries\u0060, \u0060CourierWorkerPullCount\u0060, \u0060CourierWorkerPullWait\u0060, \u0060CourierChannels\u0060, \u0060ClientSMTPNoPrivateIPRanges\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. 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":"driver/config/config.go"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff89d542346fda6babbdd2a4442de6fdd1c9a9358ba2605d71ca0586ac2bc97"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Registry (16 methods): \u0060Registry\u0060 declares 16 methods: \u0060Init\u0060, \u0060SetLogger\u0060, \u0060SetJSONNetVMProvider\u0060, \u0060Clock\u0060, \u0060WithCSRFHandler\u0060, \u0060WithCSRFTokenGenerator\u0060, \u0060HealthHandler\u0060, \u0060CookieManager\u0060, \u0060ContinuityCookieManager\u0060, \u0060RegisterPublicRoutes\u0060, \u0060RegisterAdminRoutes\u0060, \u0060Tracer\u0060, \u0060SetTracer\u0060, \u0060CourierConfig\u0060, \u0060SetConfig\u0060, \u0060SetContextualizer\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. 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":"driver/registry.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"13401af3bf48209c25f669afb3cf91a65b50153b353ac08c3caf40b0f5ad9bd2"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PrivilegedPool (17 methods): \u0060PrivilegedPool\u0060 declares 17 methods: \u0060FindByCredentialsIdentifier\u0060, \u0060DeleteIdentity\u0060, \u0060DeleteIdentities\u0060, \u0060UpdateVerifiableAddress\u0060, \u0060CreateIdentity\u0060, \u0060CreateIdentities\u0060, \u0060UpdateIdentity\u0060, \u0060UpdateIdentityColumns\u0060, \u0060UpdateCredentialsConfig\u0060, \u0060GetIdentityConfidential\u0060, \u0060ListVerifiableAddresses\u0060, \u0060ListRecoveryAddresses\u0060, \u0060HydrateIdentityAssociations\u0060, \u0060InjectTraitsSchemaURL\u0060, \u0060FindIdentityByCredentialIdentifier\u0060, \u0060FindIdentityByWebauthnUserHandle\u0060, \u0060FindIdentityByExternalID\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. 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":"identity/pool.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbdadda787a2a9ff144693a389aa95a26b98d0caabb5c0b89273b234e23e838"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Persister (21 methods): \u0060Persister\u0060 declares 21 methods: \u0060GetConnection\u0060, \u0060GetSession\u0060, \u0060ListSessions\u0060, \u0060ListSessionsByIdentity\u0060, \u0060UpsertSession\u0060, \u0060ExtendSession\u0060, \u0060DeleteSession\u0060, \u0060DeleteSessionsByIdentity\u0060, \u0060GetSessionByToken\u0060, \u0060DeleteExpiredSessions\u0060, \u0060DeleteSessionByToken\u0060, \u0060RevokeSessionByToken\u0060, \u0060RevokeSessionById\u0060, \u0060RevokeSession\u0060, \u0060RevokeSessionsIdentityExcept\u0060, \u0060RevokeSessionsByIdentities\u0060, \u0060RevokeSessionsByIDs\u0060, \u0060RevokeAllSessions\u0060, \u0060DeleteSessionsByIdentities\u0060, \u0060DeleteSessionsByIDs\u0060, \u0060DeleteAllSessions\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. 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":"session/persistence.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"516ae65752793afde9196dcf8f27f8f92ac2c97b79bcb7961bf29ecb0af1aec9"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: ErrorEvent: \u0060ErrorEvent\u0060 reads as an instruction, not a fact that happened: events describe something that already occurred. Name new events for the fact that occurred (e.g. \u0060OrderPlaced\u0060). Do not rename this one if it is already stored or published: its type name is written with every event recorded under it, so a rename can break replay of the stored stream and every subscriber that reads it, and a clearer name does not pay for that. If it has never been written or sent, renaming it now is safe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/watcherx/event.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82053ae13d3e19e2e9318b33d054f85ff9c18456443ba90c40d2ce81cd0609b"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: ChangeEvent: \u0060ChangeEvent\u0060 reads as an instruction, not a fact that happened: events describe something that already occurred. Name new events for the fact that occurred (e.g. \u0060OrderPlaced\u0060). Do not rename this one if it is already stored or published: its type name is written with every event recorded under it, so a rename can break replay of the stored stream and every subscriber that reads it, and a clearer name does not pay for that. If it has never been written or sent, renaming it now is safe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/watcherx/event.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb1e3f99c2bcd07d9b3da2300a72fe080d023e4b8f5ab004601a03b4afd9393"}},{"ruleId":"ED3","level":"note","message":{"text":"Event not named in past tense: RemoveEvent: \u0060RemoveEvent\u0060 reads as an instruction, not a fact that happened: events describe something that already occurred. Name new events for the fact that occurred (e.g. \u0060OrderPlaced\u0060). Do not rename this one if it is already stored or published: its type name is written with every event recorded under it, so a rename can break replay of the stored stream and every subscriber that reads it, and a clearer name does not pay for that. If it has never been written or sent, renaming it now is safe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/watcherx/event.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfe31ca4b9bf4e327a3901970c1597d42d7af4f4ff90055fddccb6a9ad62dd9"}},{"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":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/CourierAPI.md#getcouriermessage\u0060, but \u0060pkg/client-go/docs/CourierAPI.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b3d32a97ea73bc9d70aef3837f01bc9bb2d86c13d3d56edef1c7ef2819743b"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/FrontendAPI.md#createbrowserloginflow\u0060, but \u0060pkg/client-go/docs/FrontendAPI.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec4210bb2485dd835b53244a6d36ea50baf7fd6dab51a88cd111738e7e947c9"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/IdentityAPI.md#batchpatchidentities\u0060, but \u0060pkg/client-go/docs/IdentityAPI.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"241e07e5d3e141c2de60ecbd6c087b0e5f927afa68677bb154003ebb27edc158"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/MetadataAPI.md#getversion\u0060, but \u0060pkg/client-go/docs/MetadataAPI.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e6754558939fdad4edb88130b7e4512bc5d8450cba4f29b392ae2c45487505"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/AdminIdentityImportCredentialsLookupSecret.md\u0060, but \u0060pkg/client-go/docs/AdminIdentityImportCredentialsLookupSecret.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6121dc69d84640452ae1e3e6968055e8469ff0781eb53073b7734d0d587df1c4"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/AdminIdentityImportCredentialsLookupSecretConfig.md\u0060, but \u0060pkg/client-go/docs/AdminIdentityImportCredentialsLookupSecretConfig.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8857bb98007dc92975c060ade3ccf2a1dc0ba2aa629420382bf212ac9ed2aedb"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/AuthenticatorAssuranceLevel.md\u0060, but \u0060pkg/client-go/docs/AuthenticatorAssuranceLevel.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"930698575f67d6f0a6afd1516153a7ffbaf5a9b22149969b864a9d30d9a475e3"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/BatchPatchIdentitiesResponse.md\u0060, but \u0060pkg/client-go/docs/BatchPatchIdentitiesResponse.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebea6bf2726da961fe70244c9d58c0257527224b9c408d6e98abdead809e170f"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/ConsistencyRequestParameters.md\u0060, but \u0060pkg/client-go/docs/ConsistencyRequestParameters.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"6becc3d7e6ae0b203317c0d871cc04b7d63dc51001b48128e52da13a3452a9f2"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/ContinueWith.md\u0060, but \u0060pkg/client-go/docs/ContinueWith.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4d5c733c33fb372aa48d85b187cb8d90b5095d3ed1f61a6744905426fa7dc8"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/ContinueWithDeviceAuthnPinEntryUi.md\u0060, but \u0060pkg/client-go/docs/ContinueWithDeviceAuthnPinEntryUi.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"06caa115bed364c0160d0ccbf2fa655dfd21e02718e5be14b9891d15afab5631"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/ContinueWithDeviceAuthnPinEntryUiData.md\u0060, but \u0060pkg/client-go/docs/ContinueWithDeviceAuthnPinEntryUiData.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4d3cd9d2250bd53a49fefd438d635ac878325cbf808e15ba717c2dab408a97"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/ContinueWithRecoveryUi.md\u0060, but \u0060pkg/client-go/docs/ContinueWithRecoveryUi.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b090de8e7794a3784035dea7d57ad92ce9b1f38a0effa20843f5cd784e58c3de"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/ContinueWithRecoveryUiFlow.md\u0060, but \u0060pkg/client-go/docs/ContinueWithRecoveryUiFlow.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cfb1d91c982742cebe8a60c267f0e2ea7825b38e57519b0d6a98c4fe8a3dc81"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/ContinueWithRedirectBrowserTo.md\u0060, but \u0060pkg/client-go/docs/ContinueWithRedirectBrowserTo.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fb06cbfe29bcbcb87a107b31f1a648466eb23e3425fb1764c2100a7dcf2460"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/ContinueWithSetOrySessionToken.md\u0060, but \u0060pkg/client-go/docs/ContinueWithSetOrySessionToken.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"121c2652b60bc897d1f01c92f7c20751e4d887f13e9a4c3bc162bb5c81e4e6ee"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/ContinueWithSettingsUi.md\u0060, but \u0060pkg/client-go/docs/ContinueWithSettingsUi.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"2429c4123980250dd12ff4726a36ecd0296fa17b21a21c5c8771fb3155c91b61"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/ContinueWithSettingsUiFlow.md\u0060, but \u0060pkg/client-go/docs/ContinueWithSettingsUiFlow.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4ebb9ca5abc7a39ddbe3adca25705d736a19c52fe8091f430f61e834a248a3"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/ContinueWithVerificationUi.md\u0060, but \u0060pkg/client-go/docs/ContinueWithVerificationUi.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c644cbd5800a2c824c25b947965bd3e61d2e991786f94c0c43640f01f15778f9"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/ContinueWithVerificationUiFlow.md\u0060, but \u0060pkg/client-go/docs/ContinueWithVerificationUiFlow.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"800db29f894c91cc76050b03e9c8fa2df0226eca878e497dcd4b8b4d45ce505c"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/CourierMessageStatus.md\u0060, but \u0060pkg/client-go/docs/CourierMessageStatus.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d343bdbf57ba6c079f3e13efa4201227f490bae0da37bc1073df873304c0db90"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/CourierMessageType.md\u0060, but \u0060pkg/client-go/docs/CourierMessageType.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"943d96eeb229bbe270e87966a6a9388743f48b43a8ce5f69114227e8ce475920"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/CreateFedcmFlowResponse.md\u0060, but \u0060pkg/client-go/docs/CreateFedcmFlowResponse.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbe8d88f9a84e77f0812a56686aaf07a9a06c1fcd3b249488e374dc568cd168"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/CreateIdentityBody.md\u0060, but \u0060pkg/client-go/docs/CreateIdentityBody.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbc956c97a1df103937a2ad8184c15eba174df348fc55ade89540dbbd0e5a9a"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/client-go/README.md links to \u0060docs/CreateRecoveryCodeForIdentityBody.md\u0060, but \u0060pkg/client-go/docs/CreateRecoveryCodeForIdentityBody.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/client-go/README.md"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d18f875c5a99354da7d51363585706635176c373b26babf39d6adb06cd513d7"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/CourierAPI.md#getcouriermessage\u0060, but \u0060pkg/httpclient/docs/CourierAPI.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"90dacecd98151965dd1491a80d3927a47ec1a5ef19e4072ea2119b9f0847ae4b"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/FrontendAPI.md#createbrowserloginflow\u0060, but \u0060pkg/httpclient/docs/FrontendAPI.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75ff58d39a5c1a48dca011b39bcbf82606af3f31e30c1bf6ef2eac09c700474"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/IdentityAPI.md#batchpatchidentities\u0060, but \u0060pkg/httpclient/docs/IdentityAPI.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2feff1e969f5a2cbda1393f4f406651263b40db7bcfbc229a0c0cf25827d39fc"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/MetadataAPI.md#getversion\u0060, but \u0060pkg/httpclient/docs/MetadataAPI.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f18859eb0498dd0db34345b6802792a764814e25474b8e75db2761714c549a"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/AdminIdentityImportCredentialsLookupSecret.md\u0060, but \u0060pkg/httpclient/docs/AdminIdentityImportCredentialsLookupSecret.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0229cc94c8281d4a8fea520f58a3ccac409c36efc82c783bd330925f1c15b3a2"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/AdminIdentityImportCredentialsLookupSecretConfig.md\u0060, but \u0060pkg/httpclient/docs/AdminIdentityImportCredentialsLookupSecretConfig.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2a2cfb6ce5280675cf22459f293c623bff90e2f4585e607e6019ae1cb7b675"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/AuthenticatorAssuranceLevel.md\u0060, but \u0060pkg/httpclient/docs/AuthenticatorAssuranceLevel.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82f1dd6d959e07c13df65448310dabdb7405d89d42385b5aa7455ed361cbd65"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/BatchPatchIdentitiesResponse.md\u0060, but \u0060pkg/httpclient/docs/BatchPatchIdentitiesResponse.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"068463345b7348ce2091fffdc193add94c548794688366803fbf882fcfb11541"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/ConsistencyRequestParameters.md\u0060, but \u0060pkg/httpclient/docs/ConsistencyRequestParameters.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e653341734608f1a2234658de3e1b22e25461a0710a0e98ecde95f1282924875"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/ContinueWith.md\u0060, but \u0060pkg/httpclient/docs/ContinueWith.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef56e1796a4855f319dd6db2d8e9ef86ed9f4f0162c1bcf373e5d8af548ab364"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/ContinueWithDeviceAuthnPinEntryUi.md\u0060, but \u0060pkg/httpclient/docs/ContinueWithDeviceAuthnPinEntryUi.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f1049f3f7e78cc336519ea48a4cd20150dabf923fa6eaaee2f82a20b15e72d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/ContinueWithDeviceAuthnPinEntryUiData.md\u0060, but \u0060pkg/httpclient/docs/ContinueWithDeviceAuthnPinEntryUiData.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36eeb9c26556879e66eb4893d9895e0920d847fc6258f04f2201f2440e6fc7d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/ContinueWithRecoveryUi.md\u0060, but \u0060pkg/httpclient/docs/ContinueWithRecoveryUi.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1f66df198503673f2386ca56d2a4f027fe0ef14950eaae849e0601d5da3f04"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/ContinueWithRecoveryUiFlow.md\u0060, but \u0060pkg/httpclient/docs/ContinueWithRecoveryUiFlow.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a193215e5ee168126c320ae11d7ed116d3e530148e64bd311cb2567edd1fbeb"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/ContinueWithRedirectBrowserTo.md\u0060, but \u0060pkg/httpclient/docs/ContinueWithRedirectBrowserTo.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"432c8c7a3764dae2137d38af20044022babd2a8b6583a36ef6838f7e391d1488"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/ContinueWithSetOrySessionToken.md\u0060, but \u0060pkg/httpclient/docs/ContinueWithSetOrySessionToken.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0f71799dcc66a24d79e04d000e1e901e1671e57fbf516a711317e04aafa135"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/ContinueWithSettingsUi.md\u0060, but \u0060pkg/httpclient/docs/ContinueWithSettingsUi.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce77a742dde1a9989edc5ae144363bcdebc755d3c67363bf68f6abb8fa171918"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/ContinueWithSettingsUiFlow.md\u0060, but \u0060pkg/httpclient/docs/ContinueWithSettingsUiFlow.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e083c9e7dc639b0e9a4c295244878d4966fddd38f96e84c9a216dae7581c695"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/ContinueWithVerificationUi.md\u0060, but \u0060pkg/httpclient/docs/ContinueWithVerificationUi.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19a1454c409a55cd2a4408e5b219525466676d7232d33e6ae00b9703097d4dc"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/ContinueWithVerificationUiFlow.md\u0060, but \u0060pkg/httpclient/docs/ContinueWithVerificationUiFlow.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"978a24c7ede6e849de2116097ec8b47acf731fb5c69f664a5505300eb6495d3b"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/CourierMessageStatus.md\u0060, but \u0060pkg/httpclient/docs/CourierMessageStatus.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"5272dc8b619a59680c6fde04e0c473e4d90ae0c17e71199b63a04f6c811ccb57"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/CourierMessageType.md\u0060, but \u0060pkg/httpclient/docs/CourierMessageType.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e0d193172e711552920aecc9a57415b9e15807767d42981039051b377bde71"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/CreateFedcmFlowResponse.md\u0060, but \u0060pkg/httpclient/docs/CreateFedcmFlowResponse.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba90bb19a8170a0ea0d9a739d626083ce17450a7241b10838b77f77c5c64f436"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/CreateIdentityBody.md\u0060, but \u0060pkg/httpclient/docs/CreateIdentityBody.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f661102223d38934e37e66bff72e8701d974f2af5fc25e81ce816ee472899bd"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: pkg/httpclient/README.md links to \u0060docs/CreateRecoveryCodeForIdentityBody.md\u0060, but \u0060pkg/httpclient/docs/CreateRecoveryCodeForIdentityBody.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/httpclient/README.md"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e90e7388aeef21d2f0ef5a75ec4bebd3a3793e0dc854f07cdf8d06cf850557"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 2/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060oryx/randx/strength\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Client{\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/handler_mock.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2cb06318bef9d7e7d9537b8f6a4677754ed1e7508d1c103c9ab45b922b5bc7a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Client{\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/handler_mock.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b0a65719f21c67a6dd0a0107e9ae500230fa310a867a57a3fe10cf69f2c246"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Client{\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/handler_mock.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09b4162cad8882314b4d243afe9b329a69f5b427bc8cfa61019b1b85fa82a98"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Client{\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/http.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f68f97e7c8ae33bb6c0065558986d8a2281cf03cc07c302fbbc56bd7822186"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Client{\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/http.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4709b1c66ecc2edaf3a2d459d6273c27c3e9ab1fda88bfc152385e85791e632"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Client{\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/selfservice.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"d182c94f3a00246d12bdd2860db1581a74a09dc0ece2769729dc9f52a1052d78"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Client{\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/testhelpers/session.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cb5bfca5b2b7aa4e2f0b3a0f4078d9a3b3b0f36de3ce18a3f867f44487ac07"}},{"ruleId":"PF1","level":"note","message":{"text":"Benchmarks don\u0027t track allocations: A Go testing.B suite exists but nothing turns on its allocation measurement \u2014 allocations (the main way hot code pressures a garbage collector or allocator) aren\u0027t being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"persistence/sql/persister_test.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1dcb012a482a559cbd6f3753ca6d394f69b0f84ee16f49dbaa5b79cf5249b02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 3 locations): x/webauthnx/js/webauthn.js:103 \u00B7 x/webauthnx/js/webauthn.js:338 \u00B7 x/webauthnx/js/webauthn.js:389 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"x/webauthnx/js/webauthn.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8553a750dcb58edea9ea2b392a3005773e1effd4f43b7b42cc016543c8e2ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): x/webauthnx/js/webauthn.js:62 \u00B7 x/webauthnx/js/webauthn.js:194 \u00B7 x/webauthnx/js/webauthn.js:265 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"x/webauthnx/js/webauthn.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cc1814df8c0216b5d8b9dd57dfbc673fdec16648ec729b6cd498c44ed5eea1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): x/webauthnx/js/webauthn.js:31 \u00B7 x/webauthnx/js/webauthn.js:84 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"x/webauthnx/js/webauthn.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7428b05e93cddf0cc1b3cc44b065a697ff1c80e726d2832f4cb07cfed35d0876"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): x/webauthnx/js/webauthn.js:165 \u00B7 x/webauthnx/js/webauthn.js:231 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"x/webauthnx/js/webauthn.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea942094ebd5ad716e269f3a4e4e2d819662a79037ad798b2bfb69180ad38b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function __oryPasskeyLoginAutocompleteInit (cyclomatic 12, cognitive 9): __oryPasskeyLoginAutocompleteInit has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"x/webauthnx/js/webauthn.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92b11276bbb339e51aadd9718b5bd1ec99911e0770ba1ccc1b8fb1a50e48c91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function __oryPasskeyRegistration (cyclomatic 11, cognitive 12): __oryPasskeyRegistration has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"x/webauthnx/js/webauthn.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"747a3dd27f4dc806e624bd2e07bbed1320f81c5e84b03a7735bf8d254182d0ff"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027criPort\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/plugins/index.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b515b830c9c3af495b582f4cf7dee343b3c27bfad830198539b494f2641677fe"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027ensureRdpPort\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/plugins/index.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abfd51fb6f3bf1d78fac5febbf3baab8e5063a1d8bbc810098b5d8c34d1c8ab"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027playwright-core\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/playwright/lib/request.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"941fcb1c9d2928571ffee24521d35241a391cdb75c128937c35b54ea1f488544"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027retry\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/playwright/lib/config.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"3042f15e6549daf9060d2a7e12b4d65b9ab9d553b50b6dae1c834d848efb696d"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027uuid\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/cypress/helpers/oauth2.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fccfc706dc6e560c7d39ef45e97179813d6c24553dabe69e89736bdfcc77cbc"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027license-checker\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e665d5b7522679050a900ca55d7dffef1a2a474b2655694e126341718b3de7ad"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027license-checker\u0027: Declared in oryx/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/package.json"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eabbd343454024ea25877bc4dc093ca85f1a68bf7bebe7ccb579fb6496f4b89"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027json-schema-to-typescript\u0027: Declared in test/e2e/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/package.json"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"75089295db5ce87c604f66cb80dc0eaa5eb7b8ad8cce4940c97fc0d0764ef5be"}},{"ruleId":"R8","level":"note","message":{"text":"Test-only dependency \u0027yamljs\u0027 in production deps: Only test files import it (first: test/e2e/cypress/support/commands.ts:18) \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"af01f68f58e324d64e8a2e07adf2cbea19175c43d9b1962283695c482f8d36eb"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060Caddyfile\u0060 is committed to this repository and declares the server that serves it, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contrib/quickstart/kratos/cloud/Caddyfile"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a077973156c8a4e0a1797547e6a73aaef9e297938b9313d31636098ab510103"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!c.IsAvailableCommand() || c.IsAdditionalHelpTopicCommand()\u0060 appears character-identically in 3 files \u2014 oryx/clidoc/generate.go, oryx/clidoc/md_docs.go, oryx/clidoc/util.go. 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":"oryx/clidoc/generate.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85e06b3313dfce9703a710c7b4432af53ce5b405329347762ffba42cc3d7e2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!didPopulate \u0026\u0026 !s.d.Config().SecurityAccountEnumerationMitigate(ctx)\u0060 appears character-identically in 2 files \u2014 selfservice/strategy/idfirst/strategy_login.go, selfservice/strategy/profile/registration.go. 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":"selfservice/strategy/idfirst/strategy_login.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"676863ee17e58a9388b8e322c5039458025148365eeeaaefb6daa17aabbbc320"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!strings.EqualFold(strings.ToLower(p.Method), s.SettingsStrategyID()) \u0026\u0026 p.Method != \u0022\u0022\u0060 appears character-identically in 2 files \u2014 selfservice/strategy/oidc/strategy_login.go, selfservice/strategy/oidc/strategy_registration.go. 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":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"834b54f4a09cea3c9abd0437a3063e577d6b0d91f61454bc65cd70976738523c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ar.Type == flow.TypeBrowser \u0026\u0026 !nosurf.VerifyToken(h.d.GenerateCSRFToken(r), ar.CSRFToken)\u0060 appears character-identically in 2 files \u2014 selfservice/flow/login/handler.go, selfservice/flow/registration/handler.go. 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":"selfservice/flow/login/handler.go"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ae3f1fbe15f43fb4c1daba95bad31b9d0d1fffa62f7efddcbb13a33a456a43"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060count \u003E 0 || s.d.Config().SecurityAccountEnumerationMitigate(ctx)\u0060 appears character-identically in 2 files \u2014 selfservice/strategy/passkey/passkey_login.go, selfservice/strategy/password/login.go. 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":"selfservice/strategy/passkey/passkey_login.go"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"0018a01cbbb8182ce82f335b585dec35bb6eef7ac84001574a2efeeb1c100825"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 !errors.Is(err, sqlcon.ErrNoRows())\u0060 appears character-identically in 4 files \u2014 selfservice/hook/verify_new_address.go, selfservice/strategy/code/strategy_recovery.go, selfservice/strategy/passkey/passkey_settings.go, selfservice/strategy/webauthn/settings.go. 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":"selfservice/hook/verify_new_address.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2361db6aa9f5600a5a10439540cd674eee792badda7df1db4a5ab922de96f4d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errors.Is(applyErr, identity.ErrConcurrentModification) || errors.Is(applyErr, settings.ErrPendingTraitsChangeSessionInvalid)\u0060 appears character-identically in 2 files \u2014 selfservice/strategy/code/strategy_verification.go, selfservice/strategy/link/strategy_verification.go. 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":"selfservice/strategy/code/strategy_verification.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2c3d1446aba5e957a6c2b5e0f87bb2f40d70a8cefd8aface91e3f5ffd1b42e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.OAuth2LoginChallenge != \u0022\u0022 \u0026\u0026 f.HydraLoginRequest == nil\u0060 appears character-identically in 2 files \u2014 selfservice/strategy/code/code_sender.go, selfservice/strategy/link/sender.go. 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":"selfservice/strategy/code/code_sender.go"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4202fad4f45aa9b7e704a8fdcfed0e4c4e9a5297edde11d25c8f1c31bb108ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.Type == flow.TypeAPI || x.IsJSONRequest(r)\u0060 appears character-identically in 4 files \u2014 selfservice/flow/login/error.go, selfservice/flow/registration/error.go, selfservice/flow/settings/error.go, selfservice/flow/settings/strategy_helper.go. 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":"selfservice/flow/login/error.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"313805779c9991631703d9b3e10d47c23e71f28fdd3d5757381b3e921451bb61"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.Type == flow.TypeBrowser \u0026\u0026 !x.IsJSONRequest(r)\u0060 appears character-identically in 7 files \u2014 selfservice/flow/login/error.go, selfservice/flow/recovery/error.go, selfservice/flow/recovery/handler.go, selfservice/flow/registration/error.go. 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":"selfservice/flow/login/error.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b466e7da771e2a9fd1d41ebccfd76c484ceb64ce747012d7b29f9296326a38"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060has.Via == needle.Via \u0026\u0026 x.GracefulNormalization(has.Value) == normalizedNeedle\u0060 appears character-identically in 2 files \u2014 identity/extension_recovery.go, identity/extension_verification.go. 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":"identity/extension_recovery.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"027b9e91413bfa5523d4a82c1ebe099f27c361d6f13295cd80f30f8505b2a1f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(p.Login) \u003E 0 || p.Method == s.SettingsStrategyID()\u0060 appears character-identically in 2 files \u2014 selfservice/strategy/passkey/passkey_login.go, selfservice/strategy/webauthn/login.go. 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":"selfservice/strategy/passkey/passkey_login.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e65b5972e849baf8baa473519f279f55c39bbfc425e675c214f3b6107b169f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rr.Type == flow.TypeAPI || x.IsJSONRequest(r)\u0060 appears character-identically in 3 files \u2014 selfservice/flow/recovery/error.go, selfservice/flow/settings/error.go, selfservice/flow/verification/error.go. 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":"selfservice/flow/recovery/error.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d409a48e5dd942a1bdd4f646ff933a4cb4b3f8fd8f7e40abf2a0569107fba4d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060verifiable.Via == verified.Via \u0026\u0026 verifiable.Value == verified.Value\u0060 appears character-identically in 2 files \u2014 selfservice/strategy/oidc/strategy_login.go, selfservice/strategy/oidc/strategy_registration.go. 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":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c254f89e923496db0aa7a044f647eed7a7e757e5423f61df8ff19cf2270a973"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: \u0060idx\u0060 is the result of a search that answers -1 when nothing is found, and \u0060chain[idx:]\u0060 uses it as a bound with no test of \u0060idx\u0060 in between. When the search misses, the bound is -1 and the access panics with \u0060slice bounds out of range\u0060. Test \u0060idx \u003C 0\u0060 (or use \u0060strings.Cut\u0060) before using it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"schema/prevalidate.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43a3054f03b213b42bc7c9f841c946a29fb86f196e8d8c3983642e5312a32fd"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: \u0060parts\u0060 holds what \u0060Split\u0060 returns, and \u0060parts[0]\u0060 takes element 0 of it without checking its length \u2014 while this file tests that same result elsewhere before indexing it, because it can be nil or shorter. Here a short result panics with \u0060index out of range\u0060. Test \u0060len(parts)\u0060 (or nil) first, as the other call site does."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/urlx/parse.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67b572a778d1bb9d6e5ba86cff3676bebdc9f7441b83bff46441c0edc12ef1a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"x/cookie.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9109dcf7f564be7b9e5e4e101862dbf2dee7e1ad2c3afaa5dc7fe517b1c7aba1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"x/normalize.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ffae993fc9f61093a999c7bfb2a6c8eb2296f6b63775ebc8004b4f9baf109f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060v, _ := applyPRECIS(emailProfile, value, true)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060v\u0060 as if the call succeeded. When \u0060applyPRECIS\u0060 fails, \u0060v\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060v\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"x/normalize.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c43a0cbdcbb23b0df7d0c31d1fa8b93e17e2411d3778d1029bdc555db4078c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060value, _ = applyPRECIS(phoneProfile, value, true)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060value\u0060 as if the call succeeded. When \u0060applyPRECIS\u0060 fails, \u0060value\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060value\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"x/normalize.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"057c47682cca1b358686f4c22ba5dfe3d69090467cedf268d5995eb4b2740206"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"x/webauthnx/aaguid/aaguid.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d077bee74826ef3c25c310af412cf0afb4e1da163f2347fe01a2f4b2986c6bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060pointer, _ := jsonschemax.JSONPointerToDotNotation(e.InstancePtr)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060pointer\u0060 as if the call succeeded. When \u0060jsonschemax.JSONPointerToDotNotation\u0060 fails, \u0060pointer\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060pointer\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/container/container.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac55d26aaa7d300e6b35ce43b9b836e98b922ee7dfdec45387fc1f80c042c58a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060pointer, _ := jsonschemax.JSONPointerToDotNotation(e.InstancePtr)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060pointer\u0060 as if the call succeeded. When \u0060jsonschemax.JSONPointerToDotNotation\u0060 fails, \u0060pointer\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060pointer\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/container/container.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b55c32b621aa01060f598cbca90276fcbd196af828d7016adb40e7d4f602f9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"session/manager_http.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"718a6b2f2a0a7e059ddeb36c44a2b143871f0322b9f64539f3b9a016ff492fd1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"session/session.go"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99beb282fcdaa5294f7830e2ab9739e5c7a7b20317553ba80567ce8e89b9a4a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/webauthn/registration.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92f082b26b7e96611580725a46a08a693ba0f2b6a542bd89ef8ca70089c4dc8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/webauthn/registration.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"b613ab319066c5e143132dfc0671e6b8a811766aaeb3082f6cbf14266b77268c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/webauthn/registration.go"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fa07af64dceedf8c3eea3696c7c9a116acb4b08f9740123f3837c4661d9780"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(cred.Config, \u0026hashedPassword); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/password/settings.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"333f917ac4b07927c7894b5fabc8033626fe7089e66223f4487ab3a0b934c4d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060rawResponse, _ := io.ReadAll(body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060rawResponse\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060rawResponse\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060rawResponse\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_amazon.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbab3c98b3be88f975ca5445737d1c0b60f42e30a8fd940865b2fdad91f7d9b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060rawResponse, _ := io.ReadAll(body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060rawResponse\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060rawResponse\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060rawResponse\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_amazon.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b892ada76136b9db4e785582e5c9de9c94689ecbd6355232e21fae04ccd5b07"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060rawResponse, _ := io.ReadAll(body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060rawResponse\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060rawResponse\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060rawResponse\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/provider_uaepass.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3651d388bd5d23cf9198be885444599bf2202ab5b003859adb608ac1ce43455"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a126989a7fa37f75b3200805817de65ef1576ac4d48f1644d62a010247f6053e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(a, \u0026aVal); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e3cb90ba1a6edfc0fcdf1636974fb17624115154b51a9e375ba36d41cd96bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(b, \u0026bVal); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_login.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"364258b8bf516985259a31275a4ae0cddff87934d0149727a7e3be09fa7a932e"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if _, _, err := s.d.PrivilegedIdentityPool().FindByCredentialsIdentifier(ctx, s.ID(), identity.OIDCUniqueID(provider.Config().ID, claims.Subject)); err == nil\u0060 reports \u0060err\u0060 on the one path where it is nil, and the path where the call failed goes on without ever reading it: the comparison is inverted. The real failure is lost and a nil error (or a panic on \u0060err.Error()\u0060) is reported in its place. Test \u0060err != nil\u0060 here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_registration.go"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"af577f1803582383da64cc14ddea9133862da87c1de11fbe2fd906bf245c4f50"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/oidc/strategy_settings.go"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"0174ec7b8bc2111375bb8ff171be696e875087476e3c03ebd64386de6406ee3d"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060t, ok := t.(courier.EmailTemplate)\u0060 failed on this branch, so \u0060t\u0060 is the zero value of \u0060courier.EmailTemplate\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060t\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/code_sender.go"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"2241d3cea35f18d8a85a8b620e1967e417f7633f3cb9ea7fb6d0877cf02bc1ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060t, ok := t.(courier.SMSTemplate)\u0060 failed on this branch, so \u0060t\u0060 is the zero value of \u0060courier.SMSTemplate\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060t\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/code_sender.go"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca37f49da1c68b843f032ac1d1adc974dcc0619dc2af06fd047d19e6d1729db"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/code_sender.go"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c352bbd47a006fb6f4b92e88f4cc0276bca58ea3cd1e8cca3e68909d8d63371"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/strategy_recovery.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"668084b09b902540870b79950d52d5abbd65a0459ebbd48aa7f9970b07dac094"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flowhelpers/login.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"867ded9f22a26f11d2bad859a2194e906e15fd7a0caade43273cbb5aacf21825"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flowhelpers/login.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d9b7d10ac0edaebca6a806ad453a31731cf4be0609d116c63a37561a7f50c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if sess, err := h.d.SessionManager().FetchFromRequest(ctx, r, session.ExpandNothing, identity.ExpandNothing); err == nil\u0060 reports \u0060err\u0060 on the one path where it is nil, and the path where the call failed goes on without ever reading it: the comparison is inverted. The real failure is lost and a nil error (or a panic on \u0060err.Error()\u0060) is reported in its place. Test \u0060err != nil\u0060 here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/registration/handler.go"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c95f1b07df6ea90833d8c8deb8d64a5fc99b2a5bccad325eba27c7423c2699b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/recovery/flow.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1c131fe37ccf48872b799a3a72cd79f8ebc98676216173d15cd03e909b6214"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060shouldSkip, _ := strconv.ParseBool(u.Query().Get(\u0022skip_settings\u0022))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060shouldSkip\u0060 as if the call succeeded. When \u0060strconv.ParseBool\u0060 fails, \u0060shouldSkip\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060shouldSkip\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/recovery/flow.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab809b81e890ce9fb23d13f99d78b0906dd32b4b42d20e28488a788fa0baf99"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060refresh, _ := strconv.ParseBool(r.URL.Query().Get(\u0022refresh\u0022))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060refresh\u0060 as if the call succeeded. When \u0060strconv.ParseBool\u0060 fails, \u0060refresh\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060refresh\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/flow.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68597dce5f5b88b08a9393d3186ac9d4cd0cd0d564569ad911f54647f5cc5fc"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060linkableStrategy, ok := strategy.(LinkableStrategy)\u0060 failed on this branch, so \u0060linkableStrategy\u0060 is the zero value of \u0060LinkableStrategy\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060strategy\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/flow/login/hook.go"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"187595e2b5547f5c217a22eac549a5df313492f649f10150d228e78d9c11a3d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"schema/schema.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88b59ddf68a4f424623a16bf56cabcd9278a2a57a8bae921a5e11f914d87f7a"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if _, err := os.Lstat(watchedFile); err == nil\u0060 reports \u0060err\u0060 on the one path where it is nil, and the path where the call failed goes on without ever reading it: the comparison is inverted. The real failure is lost and a nil error (or a panic on \u0060err.Error()\u0060) is reported in its place. Test \u0060err != nil\u0060 here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/watcherx/file.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a26bf1cde53ff58d9e17d7ccf7e4b0b7122c049048fbf4417d822975b07baed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/urlx/extract.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"61343b15a84509bd3ee4b082df16aa165fe344aaa2e683a6d38bd620354dcb99"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/urlx/extract.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"053ac636cc6d248e542e07afb7f8ffccbc6448749523fd8f365eb84338acaaed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/prometheusx/exemplar.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5673ed2c3a81da94ab4fc7a36e0c4f45bea1307120b60e750376151851f49f4f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/prometheusx/exemplar.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8735b9c0a0121ae4af010ad5cf4cff9fab93c309242cab7a406db8fb916bfae4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if offset64, err := strconv.ParseInt(offsetParam, 10, 64); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/pagination/parse.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ee02bf473340d7391c34e0318357a8f0cae0505c4805e7693b02a221c06b9e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if limit64, err := strconv.ParseInt(limitParam, 10, 64); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/pagination/parse.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b794379518f397fd240a2f5eb9f713559d37a2d68dfaac944622e08175ee9740"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060offset, _ = decode(offsetParam)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060offset\u0060 as if the call succeeded. When \u0060decode\u0060 fails, \u0060offset\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060offset\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/pagination/tokenpagination/pagination.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1793e60cbe18662b8358350b41ecbbc6a24e39c480598a6eae09bf383c6b32ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if offset, err := strconv.ParseInt(offsetParam, 10, 0); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/pagination/pagepagination/pagination.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df70469f6814b6820b6c81bc8952482bffee0b9ad9fb57e4142dc9ebb6a93fc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if limit, err := strconv.ParseInt(limitParam, 10, 0); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/pagination/pagepagination/pagination.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea995ce05b1379c37f5af765a57c707065d59740ff0076c3871d2d823268657"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/pagination/keysetpagination_v2/parse_header.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5223c15df6c2930e4cb79545f5601e3e64fc8d0824e76e70f22a2663017e7830"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/pagination/keysetclient/parse_header.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46a552b0eabd20576b71e1308eb2117b6b704e2b7e5583a2fb956bd957cb954"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060optOut, _ = strconv.ParseBool(os.Getenv(\u0022SQA_OPT_OUT\u0022))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060optOut\u0060 as if the call succeeded. When \u0060strconv.ParseBool\u0060 fails, \u0060optOut\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060optOut\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/metricsx/middleware.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecc6f4cc7923914177b17d839f9f437ac78c6e5e43b0df605bdf83a15fd4769"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060optOut, _ = strconv.ParseBool(os.Getenv(\u0022SQA-OPT-OUT\u0022))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060optOut\u0060 as if the call succeeded. When \u0060strconv.ParseBool\u0060 fails, \u0060optOut\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060optOut\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/metricsx/middleware.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f03e5dcd041402d3d9a46db15dd7ff99461dbd61dfa7210796d4b4e6c421ce1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/mapx/type_assert.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38dbac0b9b14343a8b98029ed4cb46a04c1b63060fbc43e4b051b71744440a0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/logrusx/logrus.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7cd18fdcb23d37d03815a2c5457120ba2efde6b2313fc7577cf5fe1560cc32"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/landlockx/landlockx.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf9f9861a05eea9dbe5f5eff65cbad1d0c884827366718c23c7a15fd6705538"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/jsonschemax/print.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f977a421c7f2b05e31213f48166705393433c4281d3ea66695247a6c60db4788"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060jsonnetBinaryPath, _ := os.Executable()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060jsonnetBinaryPath\u0060 as if the call succeeded. When \u0060os.Executable\u0060 fails, \u0060jsonnetBinaryPath\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060jsonnetBinaryPath\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/jsonnetsecure/jsonnet.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"488cc97305d8045e686284e3daa3391a6a7cf2296799cc0e03f98a8f6fc14723"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060host, _, _ := net.SplitHostPort(address)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060host\u0060 as if the call succeeded. When \u0060net.SplitHostPort\u0060 fails, \u0060host\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060host\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/ipx/ssrf.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f893bdf2c75fcf67c52dbf892e191c2920e7e0e476d40d2ac9131d0dbdf8e9f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ip, _ := GetClientIPAddressesWithoutInternalIPs(strings.Split(forwardedIP, \u0022,\u0022))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ip\u0060 as if the call succeeded. When \u0060GetClientIPAddressesWithoutInternalIPs\u0060 fails, \u0060ip\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060ip\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/httpx/client_info.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33a657e72e5ad6cd9052a6c429af42a056e3ef054a8bd621232a37780967bb2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/httpx/client_info.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"baaa0a76e05582584f98c503d44645e058e999769d6fe09604d2d458d22479d6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/httpx/content_type.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8658ca42e9bcda31cc75e658b0c28b443602f8bcf00f60937226b3aaa356094"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/cookiex/cookiex.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1df93e3535ba4e79a0378b87048ac767a5f19dcff48b8d0a34b2e786eab81f"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060f, _ := ToFloatSliceE(i)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060f\u0060 as if the call succeeded. When \u0060ToFloatSliceE\u0060 fails, \u0060f\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060f\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/castx/castx.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d28f0b88d27e937c8be8783e2e1114d52708e26d22bc6900999ab17fee4692"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060s, _ := ToStringSliceE(i)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060s\u0060 as if the call succeeded. When \u0060ToStringSliceE\u0060 fails, \u0060s\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060s\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/castx/castx.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbbf514f6f45c6fc5627340241b5621ccdc81bbb95df808b9940dcaf0a6af19"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"identity/credentials.go"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb9473e62ad26ec0b75a9a8b2cb25611e95bca09eac67dcf4cd37c4bc0f7429"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060scheme, _, _ := sqlxx.ExtractSchemeFromDSN(dbOpts.URL)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060scheme\u0060 as if the call succeeded. When \u0060sqlxx.ExtractSchemeFromDSN\u0060 fails, \u0060scheme\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060scheme\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/registry_default.go"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7658690941f72c40e7f7251c9a865faf978efaf5b8726fccb01b7653510412"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060cache, _ := ristretto.NewCache(\u0026ristretto.Config[[]byte, jwk.Set]{ NumCounters: maxItems * 10, MaxCost: maxItems, BufferItems: 64, Metrics: true, IgnoreInternalCost: true, Cost: func(value jwk.Set) int64 { return 1 }, })\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060cache\u0060 as if the call succeeded. When \u0060ristretto.NewCache\u0060 fails, \u0060cache\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060cache\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/registry_default.go"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"7183a5950006cf766684c11fc56eafdaf77a34fbcc853cf653a65595ba5b4b92"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err = p.GetProvider(ctx).Unmarshal(ViperKeyIdentitySchemas, \u0026ss); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/config/config.go"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"036691f8eec87d898c5b35c49991c5f98e2a5853c9c37df49637aa531f36e57c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := p.GetProvider(ctx).Unmarshal(ViperKeyOrganizations, \u0026orgs); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"driver/config/config.go"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"23adadb1bd4fa0d6adbfed57bc62496554dacf6b19ddb1242483488bee67d478"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060body, _ := io.ReadAll(res.Body)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060body\u0060 as if the call succeeded. When \u0060io.ReadAll\u0060 fails, \u0060body\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060body\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/http_channel.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ce3611bab9188800b2ae161533287c7de871c23f56569298c1f24dac2b22b0"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060port, _ := strconv.ParseInt(uri.Port(), 10, 0)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060port\u0060 as if the call succeeded. When \u0060strconv.ParseInt\u0060 fails, \u0060port\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060port\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/smtp.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7578d9532f1fe8c56bff86fc0a00b636fdc965f807cb8b27e27e912ca31977"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060sslSkipVerify, _ := strconv.ParseBool(uri.Query().Get(\u0022skip_ssl_verify\u0022))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060sslSkipVerify\u0060 as if the call succeeded. When \u0060strconv.ParseBool\u0060 fails, \u0060sslSkipVerify\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060sslSkipVerify\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/smtp.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"703faef4ea579896507e41d6b26bc8b00863feb6eb2af322f8c2cdb2ba2ccc6a"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports an error that is nil on this path): \u0060if rfcErr != nil \u0026\u0026 !x.IsEmailAddress(msg.Recipient)\u0060 handles a failure of \u0060rfcErr\u0060 but reports \u0060err\u0060, which the earlier \u0060if err != nil { return \u2026 }\u0060 already proved nil here: the real failure is lost and a nil error is reported (or returned as success) in its place. Report \u0060rfcErr\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"courier/smtp_channel.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1359e3b525021e057c02faa23522b0909789eef6e9bc2acac3f93740f0c243"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/hashers/argon2/loadtest.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9a3e01923316ab0bddccf98b70cbca4f52600bee42cf3d40c2fe9ebd225714"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060conf, _ := c.HasherArgon2()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060conf\u0060 as if the call succeeded. When \u0060c.HasherArgon2\u0060 fails, \u0060conf\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060conf\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/hashers/argon2/root.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae5416d9e332897cc82c008382c0be47bf732d4ef2125b8425cda5bb61e041a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060i, _ := c.HasherArgon2()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060i\u0060 as if the call succeeded. When \u0060c.HasherArgon2\u0060 fails, \u0060i\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060i\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/hashers/argon2/root.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3b64b61569c2399ad7ae1d4f9443d4050e67e53f689ea50b4680ee6d73d172"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060ac, _ := c.HasherArgon2()\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060ac\u0060 as if the call succeeded. When \u0060c.HasherArgon2\u0060 fails, \u0060ac\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060ac\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/hashers/argon2/root.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d6073a7b2628b14c5cb6de80239718e3286cd36f98c798d66845cb9e36e6d7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060requestURLDomain\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"selfservice/strategy/code/code_sender.go"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"95774bcfb2c21dadcd06489c7988e5c964e42c74f08f11ea9b6660b9358ccb1e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060runningExe\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"oryx/landlockx/landlockx.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc0c91c9630146ddd7a588b338b1454a7a1a8edc420d5020b3dea99fe59b99a"}}],"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-1004","guid":"872195c9-bb07-cf51-8a32-865f4bb753ca","name":"Sensitive Cookie Without \u0027HttpOnly\u0027 Flag","shortDescription":{"text":"Sensitive Cookie Without \u0027HttpOnly\u0027 Flag"},"helpUri":"https://cwe.mitre.org/data/definitions/1004.html"},{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.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-252","guid":"78915dc5-e486-f858-bc3c-aa570ad9010d","name":"Unchecked Return Value","shortDescription":{"text":"Unchecked Return Value"},"helpUri":"https://cwe.mitre.org/data/definitions/252.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-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.html"},{"id":"CWE-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"Improper Certificate Validation","shortDescription":{"text":"Improper Certificate Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-338","guid":"e89b7604-c3f7-8b53-bc8c-4d4718c28617","name":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)","shortDescription":{"text":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)"},"helpUri":"https://cwe.mitre.org/data/definitions/338.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-362","guid":"03d7a26a-06e8-e553-88a3-4b67b48b4a85","name":"Concurrent Execution using Shared Resource with Improper Synchronization (\u0027Race Condition\u0027)","shortDescription":{"text":"Concurrent Execution using Shared Resource with Improper Synchronization (\u0027Race Condition\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/362.html"},{"id":"CWE-391","guid":"d9ef5687-8d79-9b51-b509-b83411fbcdc3","name":"Unchecked Error Condition","shortDescription":{"text":"Unchecked Error Condition"},"helpUri":"https://cwe.mitre.org/data/definitions/391.html"},{"id":"CWE-400","guid":"ca529a89-676d-8857-aac1-84359c77bb6c","name":"CWE-400","shortDescription":{"text":"CWE-400"},"helpUri":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-476","guid":"df404eaf-4a12-445c-9306-241412f65220","name":"NULL Pointer Dereference","shortDescription":{"text":"NULL Pointer Dereference"},"helpUri":"https://cwe.mitre.org/data/definitions/476.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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-567","guid":"589a5096-54af-2651-9204-ebd9e0bda8a5","name":"CWE-567","shortDescription":{"text":"CWE-567"},"helpUri":"https://cwe.mitre.org/data/definitions/567.html"},{"id":"CWE-614","guid":"faa8a6a5-7e9d-5d5e-afc9-020ff49d250a","name":"Sensitive Cookie in HTTPS Session Without \u0027Secure\u0027 Attribute","shortDescription":{"text":"Sensitive Cookie in HTTPS Session Without \u0027Secure\u0027 Attribute"},"helpUri":"https://cwe.mitre.org/data/definitions/614.html"},{"id":"CWE-703","guid":"fa730aa9-95e4-845e-83fa-8169f2cf339e","name":"Improper Check or Handling of Exceptional Conditions","shortDescription":{"text":"Improper Check or Handling of Exceptional Conditions"},"helpUri":"https://cwe.mitre.org/data/definitions/703.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-754","guid":"d9239381-f467-405a-862b-02e65c819273","name":"Improper Check for Unusual or Exceptional Conditions","shortDescription":{"text":"Improper Check for Unusual or Exceptional Conditions"},"helpUri":"https://cwe.mitre.org/data/definitions/754.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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"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/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"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":209,"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."]}]}